Inventory
Catalog of components (PascalCase files), hooks (useFoo), pages/routes, story files, and token files in the codebase. Use to understand what already exists before adding more, or to audit a design system. Heuristic-based, no AST. Run as `node ~/.claude/skills/dragoon/skills/inventory/scripts/inventory.js [root]`.From its SKILL.md
npx -y skills add Dragoon0x/dragoon-skills --skill inventoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 4 commands, including `node ~/.claude/skills/dragoon/skills/inventory/scripts/inventory.js [root]` and 3 more.
SKILL.md
0.9 KB, 135 tokens by cl100k_base, as published. Nobody here has run it
/inventory
What's already in the codebase. Run before scaffolding new things.
When to use
- Before adding a component (might exist already)
- Auditing a design system
- The user asks "what components do we have", "list everything"
Categorizes
- components (PascalCase basenames in jsx/tsx/vue/svelte/astro)
- hooks (useFoo*)
- pages (under app/ pages/ routes/)
- stories (.stories. / .story.)
- token files
Run it
dragoon inventory
dragoon inventory --group components
dragoon inventory --json
What ships with it: 1 file
2.4 KB alongside SKILL.md, 1 of them executable
scripts/
- inventory.jsruns2.4 KB