cco-git
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGit-Aware Context Suggestions
感知Git的上下文建议
Analyze the current git state and suggest which files Claude should read for the current task.
Run:
bash
node ${CLAUDE_PLUGIN_ROOT}/src/git-context.jsPresent the results:
- Current branch and modified files
- Suggested files based on git diff (modified + related test files + configs)
- Historical patterns — files that were frequently useful in this project
- Ask the user if they want to load any of the suggested files
Do NOT auto-read files. Only suggest and let the user decide.
分析当前Git状态,为当前任务建议Claude应该读取哪些文件。
运行:
bash
node ${CLAUDE_PLUGIN_ROOT}/src/git-context.js展示结果:
- 当前分支及已修改文件
- 建议文件基于git diff(已修改文件 + 相关测试文件 + 配置文件)
- 历史模式——项目中经常有用的文件
- 询问用户是否想要加载任何建议的文件
请勿自动读取文件。仅提供建议,由用户决定。