Files — Git skill for Claude Code
The message has no diff.
How to install Files
Installs to ~/.claude/skills/ignatov-commit-msg-agent-files/SKILL.md
mkdir -p ~/.claude/skills/ignatov-commit-msg-agent-files && curl -fsSL https://raw.githubusercontent.com/ignatov/commit-msg-agent/HEAD/prompts/files.md -o ~/.claude/skills/ignatov-commit-msg-agent-files/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Files does
The message has no diff. The changes are in the git repository in the current directory, and they are not committed yet. Look at them with the tools:
- Run the git command from the message to see the diff. For a large change, start with the files that changed the most, and stop when you know what the change does.
- Read other files only when the diff does not explain the change.
- Do not change files, the index, or the history.
- Do not explain what you found. When you know the change, write the
Alternatives in Git
- Quick Commit — Stage all changes and commit with a descriptive message 353 ★
- Cmt — When user uses /cmt slash command, commit current git changes using fast mode by default, or strict mode when 301 ★
- GitCommit — You are a commit message generator 250 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Legion Review
Run a Legion code review on $ARGUMENTS (a file path, directory, or "all changes" for the full git diff).
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Git Context
!git status --short !git branch --show-current !git log -3 --oneline !git diff --stat --- Based on the changes
Step
look at the name current git branch to see what we are working on
Pull All
Pull latest changes in each submodule by changing into the directory and running git pull.
Related Agents
PR Creator
Opens a GitHub pull request for the current branch using gh pr create. Use when work is committed and pushed a
Review Outcomes
Periodic post-ship outcome review — grade shipped merges against the fixes and reverts that followed, and agai
Git Hygiene Reviewer
Reviews the shape of the history and the PR meta, never the code. Atomic conventional commits, linear bisectab