One-click install
npx skills add https://github.com/Dragoon0x/dragoon-skills --skill inventory-dragoon0x
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: inventory
Source: https://github.com/Dragoon0x/dragoon-skills/tree/main/skills/inventory
Command: npx skills add https://github.com/Dragoon0x/dragoon-skills --skill inventory-dragoon0x

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of redundant development work and incomplete codebase awareness when building new features or auditing design systems, as teams often lose track of existing components, hooks, pages, stories, and design tokens across their codebase.

Core Features & Use Cases

  • Asset Cataloging: Automatically identifies and catalogs PascalCase components, useFoo-pattern hooks, app/pages/routes, Storybook story files, and design token files across jsx/tsx/vue/svelte/astro codebases using heuristic pattern matching.
  • Duplicate Prevention: Run before scaffolding new components or features to confirm if a similar asset already exists, eliminating redundant work and maintaining codebase consistency.
  • Design System Auditing: Generate full, grouped inventories of design system assets to track coverage, identify gaps, and align team understanding of existing resources.

Quick Start

Use the inventory skill to generate a complete catalog of all components, hooks, pages, stories, and token files in your current project codebase.

Frequently Asked Questions about inventory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I catalog frontend components and hooks to prevent duplicate codebase work?โ–ผ

To catalog frontend components and hooks, run an asset inventory that uses heuristic pattern matching to identify PascalCase components, useFoo-pattern hooks, pages, stories, and design tokens. This eliminates redundant development by confirming existing assets before scaffolding new features.

Can I audit my design system assets in Vue, Svelte, or Astro codebases?โ–ผ

You can audit design system assets in Vue, Svelte, and Astro codebases. The inventory process scans jsx, tsx, vue, svelte, and astro file formats to generate grouped inventories of components, stories, and design tokens for coverage tracking and gap analysis.

What is the best way to find existing UI components before building a new feature?โ–ผ

The best way to find existing UI components is running a pre-development asset check. This heuristic-based scan identifies PascalCase components and design token files without AST parsing, ensuring you maintain codebase consistency and avoid redundant work.

How does heuristic pattern matching identify codebase assets without AST parsing?โ–ผ

Heuristic pattern matching identifies codebase assets by scanning for naming conventions like PascalCase components and useFoo-pattern hooks directly in jsx, tsx, vue, svelte, and astro files. This avoids heavy AST parsing while still accurately mapping existing frontend resources.

Do I need an AST parser to generate a codebase inventory of stories and design tokens?โ–ผ

No, you do not need an AST parser to generate a codebase inventory. The cataloging process relies entirely on heuristic-based pattern matching to identify story files and design tokens, providing a lightweight asset mapping solution that outputs JSON for workflow integration.

What are the limitations of heuristic scanning for frontend asset mapping?โ–ผ

The limitation of heuristic scanning for frontend asset mapping is that it only applies to jsx, tsx, vue, svelte, and astro file formats. It identifies assets using naming conventions rather than deep structural analysis, meaning non-standard naming patterns may be missed during inventory generation.