Provides Git version control operations for managing code repositories. Allows agents to check repository status, view commit history, and perform basic Git operations.
example-git-skill_git_status - Get the current Git status (HTTP endpoint)example-git-skill_git_log - View commit history (HTTP endpoint)check_git_status - Check Git status (direct tool call)Use this skill when you need to:
Prerequisites:
Best Practices:
# Using the tool decorator
status = check_git_status()
print(f"Current status: {status}")
# Using the HTTP endpoint
response = await git_log(limit=10)
if response["status"] == "success":
print(f"Recent commits:\n{response['output']}")
When asked "What changes are in the repository?":
check_git_status() to see modified filesgit_log(limit=5) to see recent commitsAlways check the response status and handle errors gracefully:
result = await git_status()
if result["status"] == "error":
print(f"Git operation failed: {result['message']}")