Agent skill Frontend
Component Docs
Establish reusable styling and design decisions across web screens.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add arla6ka/skills --skill component-docs --agent claude-code --yesCheck this file in your project.claude/skills/component-docs/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add arla6ka/skills --skill component-docsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an assistant that can read the installed Skill and access the relevant project files or local preview.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Goal
- Document a real component from code and call sites
- Inputs
- Component source, props types, stories and actual uses
- Acceptance
- Pick one documented variant and one state. Trace them to the types and real call sites. Check that usage rules cite evidence and note what is still missing before treating the entry as complete.
- Skill name
component-docs- Repository
arla6ka/skills
Start with one screen, component, or reproducible flow
Open-ended request
Improve every screen in the project.
The scope lacks a pilot and concrete inputs to judge the outcome.
A specific task
- Document a real component from code and call sites
- Component source, props types, stories and actual uses
Component Docs operation manual
Document a real component from code and call sites
Component source, props types, stories and actual uses
Identify inputs and the current state
Identify inputs and the current state
Prompt · Step 1Use design.how’s component-docs and read the installed SKILL.md. Limit this task to [Project and preview path]. Collect [Component] implementation, type, style, stories and two real call sites where available. Open the installed references/doc-format.md. List facts and unresolved conflicts before filling the required headings.Follow the publisher workflow
Document a real component from code and call sites
Prompt · Step 2Use design.how’s component-docs and read the installed SKILL.md. Limit this task to [Project and preview path]. Draft docs/system/[Component name].md with the publisher’s heading order. Link each example, token and state to its source. Label planned uses and uncertainties. Leave implementation and stories alone.Check the result
Check the result
Prompt · Step 3Use design.how’s component-docs and read the installed SKILL.md. Limit this task to [Project and preview path]. Pick one documented variant and one state. Trace them to the types and real call sites. Check that usage rules cite evidence and note what is still missing before treating the entry as complete.
Look up a specific workflow problem
Ask the assistant to identify the project evidence for the step you are on.
Find the required inputsSKILL.md
- Command or reference
Document a real component from code and call sites- Examples
- Component source, props types, stories and actual uses
Check what the work producedVerify
- Command or reference
Document a real component from code and call sites- Examples
- Pick one documented variant and one state. Trace them to the types and real call sites. Check that usage rules cite evidence and note what is still missing before treating the entry as complete.
Troubleshooting and FAQ
What check proves the task is complete?
Pick one documented variant and one state. Trace them to the types and real call sites. Check that usage rules cite evidence and note what is still missing before treating the entry as complete.
What if the required project capability is missing?
Check the installed instructions and name the missing component, asset, or project permission before proceeding.