analyze_git_changes
Examine the current Git repository state and changes to prepare commit messages and pull request content.
Instructions
Analyze the current git repository state and changes. Provides context for generating commit messages and PR content.
Returns:
Repository info (branch, base branch)
Ticket extracted from branch name
Branch prefix (task/, bug/, feature/, etc.)
Staged changes with file list and suggested commit type/scope
Branch changes since base branch with commit history
Working tree status (unstaged modified, untracked, and deleted files)
All tickets found in branch name and commits
Use this before generating commits or PRs to understand the changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to the git repository. IMPORTANT: Always pass the user's current project/workspace directory. | |
| includeFullDiff | No | Include the full diff content (can be large) |