一键导入
claude-md-cleanup
Clean up project CLAUDE.md — remove duplicates with global config
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clean up project CLAUDE.md — remove duplicates with global config
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | claude-md-cleanup |
| description | Clean up project CLAUDE.md — remove duplicates with global config |
Analyze the project CLAUDE.md and remove everything already covered by the global config or installed modules. Keep only what's specific to this project.
Read the project's CLAUDE.md
Read ~/.claude/CLAUDE.md and identify installed modules by scanning for markers:
<!-- critical-thinking:start --> — mindset, anti-complaisance, debugging approach covered<!-- backlog:start --> — ticketing system coveredClassify each section of the project CLAUDE.md:
Present the plan to the user:
SECTIONS A SUPPRIMER (doublons avec global) :
- "[section name]" — reason (covered by [module/section])
SECTIONS A GARDER :
- "[section name]" — reason
SECTIONS A REFORMULER :
- "[section name]" — keep [specific part], remove [generic part]
Wait for explicit validation before writing.
Write the cleaned CLAUDE.md. Preserve the structure and intent of kept sections.
Detect by MEANING, not string matching. "Pas de fix en pansement" and "No band-aid fixes" are the same concept — both must be flagged as duplicates.
Compresser une session de debug en cours et produire un prompt forensique strict (donnees -> hypothese unique -> test decisif -> STOP). A utiliser quand un debug long ou complexe derive vers la speculation, ou quand le contexte de la conv est sature et qu'il faut basculer sur une session vierge sans perdre les eliminations deja faites.
Switch to supervisor/CTO mode — plan, delegate to workers, never write code directly
Auto-bootstrap codebase indexing in any project. Detects the stack, dispatches to the native installer if supported (Dart in v0.1), or generates a stack-appropriate indexer with strict guardrails (official AST parser, format contract, auto-validation, refinement loop) for TypeScript, Python, Go, or Rust.
Switch to expert-comptable / fiscaliste mode — optimisation fiscale FR, structuration de societes, expatriation, patrimoine
Generate API_CONTRACT.md by scanning existing routes and controllers
Check if API_CONTRACT.md is in sync with the actual code