Get commit details
Description
git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID]
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for peterkrueck/Claude-Code-Development-Kit, shared by 4 entries
in this directory. It describes the repository, not this entry specifically.
You have just completed work on the current project. Analyze changes based on the provided context and automatically update relevant documentation.
Auto-Loaded Project Context:
@/CLAUDE.md @/docs/ai-context/project-structure.md @/docs/ai-context/docs-overview.md
Core Documentation Principle: Document Current State Only
**CRITICAL: Always document the current "is" state of the system. Never reference legacy implementations, describe improvements made, or explain what changed. Documentation should read as if the current implementation has always existed.**
Documentation Anti-Patterns to Avoid:
- ❌ "Refactored the voice pipeline to use streaming instead of batch processing"
- ❌ "Improved performance by implementing caching"
- ❌ "Previously used X, now uses Y for better results"
- ❌ "Legacy implementation has been replaced with..."
Documentation Best Practices:
- ✅ "The voice pipeline uses streaming for real-time processing"
- ✅ "Implements caching for frequently accessed data"
- ✅ "Uses Y for optimal results"
- ✅ "The system architecture follows..."
Step 1: Analyze Changes Based on Input
Determine Analysis Mode:
- No input (default): Analyze recent conversation context
- Git commit ID (e.g., "3b8d24e" or full hash): Analyze specific commit
- "uncommitted"/"staged"/"working": Analyze uncommitted changes
- "last N commits" (e.g., "last 3 commits"): Analyze recent commits
Execute Analysis:
Based on the input parameter:
For Git Commit Analysis:
# Get commit details
git show --name-status [COMMIT_ID]
git diff [COMMIT_ID]^ [COMMIT_ID]
For Uncommitted Changes:
# Get staged and unstaged changes
git status --porcelain
git diff HEAD
git diff --cached
For Recent Commits:
# Get recent commit history
git log --oneline -n [N]
git diff HEAD~[N] HEAD
For Session Context (default):
Review your recent conversation and tool usage for significant changes.
**Look for Evidence of Documentation-Relevant Changes:**
- New features or components (functionality that needs documenting)
- Architecture decisions (new patterns, structural changes, design decisions)
- Technology stack changes (new dependencies, framework additions, integration changes)
- API changes (new endpoints, modified interfaces, breaking changes)
- Configuration changes (new environment variables, settings, deployment requirements)
- File structure changes (new directories, moved components, reorganized code)
**Exclude from Documentation Updates:**
- Performance optimizations without architectural impact
- Bug fixes that don't change interfaces or patterns
- Code cleanup, refactoring that doesn't affect usage
- Logging improvements, debugging enhancements
- Test additions without new functionality
**Generate a brief summary** of what was accomplished:
Analysis source: [session context/commit ID/uncommitted changes]
Detected changes: [1-2 sentence summary of main work do
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git