From the source

How it works
- Discovery covers package.json, framework files, theme definitions, styles and representative components. The skill documents framework-specific source-reading guidance.
- Extraction covers color roles, typography, component states, spacing, layout and responsive rules. Visual intent is an interpretation of source, not a rendered test.
- The required frontmatter contains name and a colors mapping. The Alpine Peak document is a bundled format example, not an extraction result produced here.
- The optional manage-design-system handoff is separate from source reading. No fidelity score or time saving is measured. A designer must approve tokens before use.
Workflow guide
Grant read-only access to approved frontend source. Identify theme files, tokens and representative components.
Extract colors, fonts, spacing, component states and responsive rules with file references.
Check conflicting tokens against the implementation. Mark inferred intent as uncertain.
Prepare .stitch/DESIGN.md with the prescribed name and colors YAML block in a separate output location.
Ask a designer to verify the document against fixed source components. Record token errors and corrections.
Obtain approval before adding the document to the project or using its tokens in a shipped interface.