indexion-refactor
Agent skill from trkbt10/indexion-skills.
What it does
- After adding a new abstraction (type, module, API layer)
- After introducing a new file format or I/O boundary
- When a fix required touching 3+ files for the same reason
- When a "guard" or "skip" was added to work around a structural problem
- When opendir, ENOENT, or similar filesystem errors appear from unexpected paths
- When extracting shared code across packages
- When cleaning up after a refactor (removing trivial wrapper functions)
Requirements & configuration
- most dangerous — it produces no copy-paste matches but means changing one concept requires
- "I need to add a guard here"
Configuration: ENOENT
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Source
Repository: https://github.com/trkbt10/indexion-skills
indexion-refactor FAQ
What does the indexion-refactor skill do?
After writing code, detect and clean up duplication at three levels — copy-paste blocks, cross-package shared code, unnecessary wrappers, and concept-level SoT violations. Detect with indexion, fix, and verify. After adding a new abstraction (type, module, API layer) After introducing a new file format or I/O boundary
What does indexion-refactor require?
most dangerous — it produces no copy-paste matches but means changing one concept requires "I need to add a guard here" Configuration keys: ENOENT.
How do I install indexion-refactor?
Run: npx -y skills add https://github.com/trkbt10/indexion-skills --skill indexion-refactor --agent claude-code — the source lives at github.com/trkbt10/indexion-skills.
Maintain indexion-refactor?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[indexion-refactor on getagentictools](https://getagentictools.com/skills/trkbt10-indexion-skills-indexion-refactor?ref=badge) npx agentictools info skills/trkbt10-indexion-skills-indexion-refactor The second line is the CLI lookup for this page — handy in READMEs and docs.