cco-git

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Git-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.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.
分析当前Git状态,为当前任务建议Claude应该读取哪些文件。
运行:
bash
node ${CLAUDE_PLUGIN_ROOT}/src/git-context.js
展示结果:
  1. 当前分支及已修改文件
  2. 建议文件基于git diff(已修改文件 + 相关测试文件 + 配置文件)
  3. 历史模式——项目中经常有用的文件
  4. 询问用户是否想要加载任何建议的文件
请勿自动读取文件。仅提供建议,由用户决定。