screenshot_git_diff
Generate visual screenshots of git diff output to document code changes. Shows working directory or staged changes with syntax highlighting across multiple themes for clear change visualization.
Instructions
Generate a screenshot of git diff output. Shows changes in your working directory or staged changes.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | No | Optional: Specific file to diff. If not provided, shows diff for all changes. | |
staged | No | Show staged changes (git diff --staged) instead of unstaged changes | |
theme | No | Color theme (dracula, nord, monokai, github-light, github-dark) |
Input Schema (JSON Schema)
{
"properties": {
"filePath": {
"description": "Optional: Specific file to diff. If not provided, shows diff for all changes.",
"type": "string"
},
"staged": {
"description": "Show staged changes (git diff --staged) instead of unstaged changes",
"type": "boolean"
},
"theme": {
"description": "Color theme (dracula, nord, monokai, github-light, github-dark)",
"enum": [
"dracula",
"nord",
"monokai",
"github-light",
"github-dark"
],
"type": "string"
}
},
"required": [],
"type": "object"
}