In short.
Codebase index is an AI assistant skill for developers maintaining design systems, but it depends on supporting pack documents and its indexing accuracy is not established by the supplied evidence. It describes generating a component inventory, a bidirectional dependency graph and a guide for querying them. Its instructions address workspace packages, import aliases, actual component rendering, token references and index freshness. No indexing was performed, and the example statistics are illustrative.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied skills/codebase-index folder, represented by its sole captured file SKILL.md, and the repository-root LICENSE notice at revision f1678981b69bb0a55d1003f494fff37e95ff6e74. Referenced knowledge notes, installation instructions, verification script, companion skills and the rest of the repository are outside this scope. The skill folder alone does not provide the full documented setup. No assistant execution, component scan, generated index, integration, performance measurement or installation was tested.
The overview
Identity
Codebase index is the codebase-index skill in Murphy Trueman's design-system-ops repository. Its source folder is [https://github.com/murphytrueman/design-system-ops/tree/main/skills/codebase-index]. The supplied folder contains SKILL.md, which gives an AI assistant instructions for producing a reusable map of a design-system codebase.
The supplied scope includes no standalone indexing program. The skill produces inventory and relationship information; it directs users seeking library-health assessment to the companion component-audit skill.
Assessment
This is a useful candidate for teams that repeatedly ask which components exist, where they are used and what a change could affect. The instructions are detailed enough to define expected outputs and review their consistency.
Accuracy remains unverified. Instructions to resolve imports, confirm rendering and account for every component do not demonstrate that an assistant will do so correctly on a particular repository. The folder also depends on reference documents that were not supplied.
Users
The intended users are design-system maintainers, frontend developers and AI assistants working with reusable UI components. Beginners could use the resulting map to locate components and understand composition; experienced developers could inspect dependency chains and the components affected by a token change.
The workflow describes React, Vue, Svelte, Astro, Angular, Web Components and mixed projects. These are documented detection targets, not demonstrated compatibility results. Teams need someone able to confirm component roots, private-component inclusion and ambiguous framework detection.
Capabilities
The specified inventory records component names, paths, categories, metadata status and design-token bindings, with export information requested during extraction. The relationship graph records uses and usedBy links, while summary statistics describe component counts, metadata coverage and dependency patterns.
Optional configuration describes Figma library comparisons, Storybook discovery through index.json and GitHub pull-request activity for recency signals. Recurring runs are intended to report added or removed components, changed relationships and metadata-coverage changes. These integrations and recurring behavior were not exercised.
Using it
Requirements
An assistant needs repository access, file-reading and writing tools, search capabilities and the listed shell and Git operations. It must be able to inspect component source, framework configuration, workspace package mappings and path aliases. No particular assistant product, model, operating system or minimum software version is specified.
The frontmatter references knowledge-notes/ai-readiness.md, knowledge-notes/component-governance.md and knowledge-notes/output-discipline.md. Configuration and recurring runs also refer to knowledge-notes/configuration-and-recurring.md. These documents are outside the supplied scope, so their additional requirements are unknown.
Optional integrations require access to the configured services. The supplied files do not establish working connectors, authentication arrangements or sufficient permissions for those integrations.
Mechanism
The assistant first identifies the framework, component locations, category model and styling approach. It then inventories renderable components and traces imports that are actually rendered. Workspace package names and path aliases must resolve to source locations before genuine third-party dependencies are excluded.
Each direct relationship is stored in both directions. Longer dependency chains can then be followed through the graph. Instance counting requires additional template inspection, including import aliases, namespace imports and Vue kebab-case names; an import count alone is insufficient.
The default outputs are .ai/index/component-inventory.yml, .ai/index/component-relationships.yml and .ai/index/query-protocols.md. Both YAML files carry generation time, Git commit, working-tree status and scan boundaries.
Setup
The documented setup preserves the repository layout so the skill's relative references reach the root knowledge-notes directory. The source requires checking those references before indexing and describes stopping when they are missing, unless the user explicitly accepts proceeding without them.
The skill points to 1-INSTALL.md and verify-install.sh for installation recovery, but neither file is supplied, so an exact installation command cannot be established here. Once installed, the workflow calls for confirming ambiguous source roots, nonstandard component locations and whether internal components belong in the inventory. It also requires stopping for clarification when no components are found.
Example
The source's illustrative graph shows Card using Button and Icon, with Button also using Icon. A developer investigating an Icon change could follow Icon's usedBy links to direct consumers and continue outward to indirect consumers.
For a token question, the intended approach is to search each component's tokens field for the token name used in source. The resulting list describes references within the scanned code. These examples explain intended use; they are not results from an executed indexing run.
Assessment & evidence
Limitations
The graph covers the scanned repository paths. A component with no recorded consumers may be a public export used by other repositories, so an empty usedBy list does not establish that the component is unused. The skill explicitly requires that distinction.
The source supplies no parser implementation or execution results demonstrating reliable handling of dynamic component selection, complex re-exports or every framework construct. Coverage of those cases is unknown. Recorded instance counts describe source-template occurrences, not observed runtime usage.
The map can become stale as source changes. Its completeness depends on scan boundaries, import resolution and the assistant's extraction. Supporting reference documents and integration behavior could not be assessed from the supplied files.
Reasoning
A persistent inventory could make repeated component questions easier to answer because names, paths, token bindings and relationships share a predictable location. Bidirectional links support both dependency lookup and tracing the possible impact of a change. These are expected benefits of the design, not measured outcomes.
The most useful accuracy safeguards are resolving workspace imports before filtering, checking actual rendering and confirming that a known relationship is detected before reporting components without consumers. Those safeguards address specific ways a component graph could produce misleading conclusions.
Alternatives
For an occasional component question, direct source inspection and import searching can avoid maintaining a persistent index, although aliases and actual rendering still need checking. A maintained index becomes more relevant when the same structural questions recur.
For library-health assessment, the source names the companion component-audit skill. Storybook is described as a secondary discovery source. Neither companion tooling nor competing indexers was supplied for assessment, so comparative accuracy and effort are unknown.
Evidence
The technical evidence is the complete supplied SKILL.md at revision f1678981b69bb0a55d1003f494fff37e95ff6e74: [https://raw.githubusercontent.com/murphytrueman/design-system-ops/f1678981b69bb0a55d1003f494fff37e95ff6e74/skills/codebase-index/SKILL.md]. It establishes the documented workflow, output formats and intended checks.
The accompanying rights evidence is the repository-root licence at the same revision: [https://raw.githubusercontent.com/murphytrueman/design-system-ops/f1678981b69bb0a55d1003f494fff37e95ff6e74/LICENSE]. No actual generated index, benchmark or execution receipt is supplied. Nothing was executed for this report.
Access & freshness
Costs
The MIT notice permits use without a licence fee. The supplied material gives no prices for an AI assistant, model usage, indexing runs, CI execution or optional service access, so total operating cost is unknown.
The skill suggests that reusing an index reduces repeated exploration, but it supplies no measured runtime, token consumption or cost savings.
Rights
The repository-root MIT License names Murphy Trueman as the 2026 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The licence provides the software without warranty and limits the authors' liability. Redistribution of the supplied skill should retain the licence notice. Terms for optional external services are not established by this notice.
Freshness
The supplied source snapshot was acquired on 2026-11-15T20:58:31.892Z at revision f1678981b69bb0a55d1003f494fff37e95ff6e74. It establishes that revision's contents; the current main branch and later changes are unknown.
For generated indexes, the skill specifies checking the recorded commit against the repository and examining changes within scanned paths. It recommends regeneration after component additions, removals or substantial restructuring. Recorded working-tree status also matters when interpreting what source an index represents.
Actions
Before adopting the skill, obtain its supporting pack documents and confirm that their relative paths resolve. Agree on component roots and private-component inclusion, then use a familiar component relationship to check that discovery and render matching work.
Review inventory completeness, reciprocal graph edges, token bindings and summary totals before relying on the outputs. Commit the index alongside source, refresh it after structural changes and describe components without consumers only within the recorded scan boundaries. These are recommended adoption steps, not completed tests.
