egorfedorov

cco-git

cco-git技能分析当前git状态,建议当前任务相关文件。显示当前分支、修改的文件,并基于git diff建议相关的测试文件和配置文件。用于在git仓库中识别当前任务需要读取的文件。

egorfedorov 123 10 更新于 7个月前
GitHub

安装

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.js

Present the results:

  1. Current branch and modified files
  2. Suggested files based on git diff (modified + related test files + configs)
  3. Historical patterns — files that were frequently useful in this project
  4. 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.