Use the SEED repository itself as the single source of truth to build a connection map for one component. Do not use a static catalog or external server. The script only reads the current checkout and returns the same JSON for the same file state.
Execution
Specify one component inside the repository.
bun skills/seed-component-map/scripts/component-map.ts ProgressCircle
kebab-case can also be used.
bun skills/seed-component-map/scripts/component-map.ts action-button
Query only one component at a time. If multiple components are needed, run it for each one.
Reading the results
The result JSON contains the following items.
component: The normalized name of the input and the search statusplatforms: Thereact,lynxplatform where the actual surface was foundrootage: The Rootage source that is edited directlyrecipeSources: React and Lynx Recipe sourcesgeneratedOutputs: Rootage, CSS, and variable generated artifacts. Do not edit directly.headless: Platform-specific Headless sourcesimplementations: React and Lynx Styled UI implementationspackageExports: Public exports leading from the component barrel to the package rootregistry: Registry implementation and registration filesdocs: Common, React, and Lynx documentationexamples: Documentation examples and the vendored surface of the repository example apptests: Unit tests and Storybook storiesambiguities: Candidates to query again when the exact name was not found
component.stateis one of the following three.
matched: Found the exact component surfaceambiguous: There is no exact surface, but there are candidates with overlapping namesnot-found: Found neither an exact surface nor candidates
Work procedure
- Before making changes, query the target component map once.
- Read the paths of the needed arrays directly to check the actual responsibilities and public API.
generatedOutputsis excluded from the edit targets, and find the corresponding Rootage or Recipe source.ambiguous면ambiguities[].candidateRun it again with the exact name of- If implementation or changes are needed, follow the gates and verification procedure of
../seed-create-component/SKILL.md.
Do not infer behavior from the map results alone. This skill only locates paths and does not replace code changes, generation, or verification.
Search scope
The script searches only the following surfaces.
packages/rootage,packages/qvism-preset,packages/lynx-qvism-presetpackages/css,packages/lynx-csspackages/react-headless,packages/lynx-react-headlesspackages/react,packages/lynx-reactpackages/stackflow's public components and primitivesdocs/content,docs/registry,docs/stories,docs/examplesexamples
It does not follow symlinks or build and cache directories. If a new supported surface appears, do not add a static result file; instead update the search scope of scripts/component-map.ts.