cco-git技能分析当前git状态,建议当前任务相关文件。显示当前分支、修改的文件,并基于git diff建议相关的测试文件和配置文件。用于在git仓库中识别当前任务需要读取的文件。
安装
npx skillscat add egorfedorov/claude-context-optimizer/cco-git 通过 SkillsCat registry 安装。
技能简介
cco-git技能分析当前git状态,建议当前任务相关文件。显示当前分支、修改的文件,并基于git diff建议相关的测试文件和配置文件。用于在git仓库中识别当前任务需要读取的文件。
SKILL.md
Git-Aware Context Suggestions
Analyze the current git state and suggest which files Claude should read for the current task.
Run:
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.