context-curation
БесплатноБез исполняемых скриптовНе проверенAnalyzes staged git changes and evaluates agentic context files (Claude, Codex, Cursor, etc.) to suggest additions or removals. Use after staging changes…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Context Curation
Analyze staged git changes and evaluate whether agentic context files need to be updated to reflect those changes.
When to Use This Skill
- After staging changes, before committing
- When introducing new patterns, conventions, or APIs
- When deprecating or removing significant functionality
- When refactoring code that may invalidate existing context documentation
- Periodically to audit context file freshness
Supported Context File Locations
This skill scans for agentic context files across multiple platforms:
| Platform | Locations |
|---|---|
| Claude Code | .claude/, CLAUDE.md |
| Codex | .codex/, codex.md |
| Cursor | .cursor/, .cursorrules |
| Aider | .aider/, .aider.conf.yml |
| GitHub Copilot | COPILOT.md, .github/copilot-instructions.md |
| Generic | AGENTS.md, AI.md, CONTEXT.md |
| Project docs | docs/, README.md (architecture sections) |
Analysis Workflow
Step 1: Inspect Staged Changes
Run git diff --staged to understand what's being committed:
- New files and their purposes
- Modified functions, classes, or modules
- Deleted code and removed dependencies
- Changed APIs, interfaces, or contracts
Step 2: Scan Existing Context Files
Locate all agentic context files in the repository and extract:
- Documented patterns and conventions
- Architecture decisions and rationale
- API references and usage examples
- Project-specific rules and guidelines
Step 3: Compare and Analyze
Cross-reference staged changes against existing context:
- New patterns: Code introduces conventions not yet documented
- API changes: Public interfaces modified or extended
- Deprecated code: Removed functionality still referenced in context
- Stale references: Context mentions files, functions, or patterns that no longer exist
Step 4: Generate Recommendations
Produce actionable suggestions with clear rationale.
Output Format
Additions Needed
For each suggested addition:
## ADD: [Brief description]
**Context file**: [path to file that should be updated]
**Rationale**: [Why this should be documented]
**Suggested content**:
[Proposed text to add]
**Evidence from staged changes**:
- [file:line] - [relevant code snippet or change]
Removals Needed
For each suggested removal:
## REMOVE: [Brief description]
**Context file**: [path to file containing outdated content]
**Current content**: [text that should be removed or updated]
**Rationale**: [Why this is now stale]
**Evidence from staged changes**:
- [file] - [deleted or changed code that invalidates this]
No Changes Needed
If context files are already aligned with staged changes:
## Context files are up to date
Reviewed [N] context files against staged changes.
No updates recommended.
Instructions
- First, run
git diff --staged --statto get an overview of staged changes - Run
git diff --stagedto examine the actual changes in detail - Search for all supported context file locations listed above
- Read each context file found
- Analyze whether staged changes introduce patterns, APIs, or conventions that should be documented
- Analyze whether staged changes remove or deprecate anything referenced in context files
- Present findings using the output format above
- If no context files exist, suggest creating one appropriate for the project
Установить context-curation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл context-curation?
Analyzes staged git changes and evaluates agentic context files (Claude, Codex, Cursor, etc.) to suggest additions or removals. Use after staging changes before committing.
Как установить скилл context-curation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context-curation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic