egorfedorov

cco-git

The cco-git skill analyzes the current git state to suggest relevant files for the current task. It shows the current branch, modified files, and suggests related test files and configs based on git diff. Use it when you need to identify which files to read for a given task in a git repository.

egorfedorov 123 10 Updated 7mo ago
GitHub

Install

npx skillscat add egorfedorov/claude-context-optimizer/cco-git

Install via the SkillsCat registry.

About this skill

The cco-git skill analyzes the current git state to suggest relevant files for the current task. It shows the current branch, modified files, and suggests related test files and configs based on git diff. Use it when you need to identify which files to read for a given task in a git repository.

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.

Categories