Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides AI agents to check the CODE_INDEX.md capability index and search the codebase before writing new functions, avoiding duplication.
33% 88%+54 ptsof test cases passed
Passed 21 of 24 test cases with the skill, and 8 of 24 without it.
3 of 3 safety checks passed
Not used yet
Purpose: Prevent semantic duplication and code bloat. Maintain a capability index so Claude always knows what exists before writing something new.
┌─────────────────────────────────────────────────────────────────┐
│ CHECK BEFORE YOU WRITE │
│ ───────────────────────────────────────────────────────────── │
│ AI doesn't copy/paste - it reimplements. │
│ The problem isn't duplicate code, it's duplicate PURPOSE. │
│ │
│ Before writing ANY new function: │
│ 1. Check CODE_INDEX.md for existing capabilities │
│ 2. Search codebase for similar functionality │
│ 3. Extend existing code if possible │
│ 4. Only create new if nothing suitable exists │
├─────────────────────────────────────────────────────────────────┤
│ AFTER WRITING: Update the index immediately. │
│ PERIODICALLY: Run /audit-duplicates to catch overlap. │
└─────────────────────────────────────────────────────────────────┘
Maintain CODE_INDEX.md in project root, organized by capability not file location:
# Code Index
*Last updated: [timestamp]*
*Run `/update-code-index` to regenerate*
## Quick Reference
Preview what this skill puts in front of your model, and check which requests trigger it. No model call, no sign-up.
Next to this one in the catalogue, plus more from the same author.