spark-component-documentation
Create or update the DocC documentation in Sources of a spark-ios-component-XXX.
by leboncoin★ 22 GitHub stars
Install spark-component-documentation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Add Documentation Skill
Overview & Prerequisites
This skill guides you to implement/update the documentation in spark component.
Component Selection
Parameter Handling:
If the skill is invoked with a parameter (e.g.,
/spark-component-documentation button):- Use the parameter as the component name
- Verify the folder exists in
Modules/Components/{component-name}/ - If found, use that component and skip the selection step
If no parameter is provided:
- List all folders in the
Modules/Components/directory - Use AskUserQuestion to let the user select ONE component from the list
- Format: Display folder names as options (e.g., "button", "card", "checkbox")
- List all folders in the
Once the component is selected, all operations must be performed in Modules/Components/{component-name}/ folder.
Use the files in the template folder as reference to manage the Documentation.md and some example of Resouces.
The documentation must be in Sources/Core/Documentation.docc.
Parameters
This skill must received some parameters :
- The description message
- The introduction message
- The Figma URL
- The ZeroHeight URL
Workflow
- Use the description message passed in parameter/entry in Documentation.md
- Use the introduction message passed in parameter/entry in the overview section in Documentation.md
- Get the resources generated by the snapshots tests on Sources/Core/Documentation.docc/Resources and add them in Documentation.md in the Rendering section.
- Set the Figma and ZeroHeight URLs passed in parameter in the Resources section in Documentation.md
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- template/Documentation.md
- template/Resources/xxx_icon.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_icon~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_image.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_image~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_large.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_large~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_medium.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_medium~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_small.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_small~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_text.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_text~dark.png
- template/Resources/[email protected]
- template/Resources/[email protected]
- template/Resources/xxx_value.png
- template/Resources/[email protected]
- template/Resources/[email protected]
FAQ
What does the spark-component-documentation skill do?
Create or update the DocC documentation in Sources of a spark-ios-component-XXX.
How do I install the spark-component-documentation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the spark-component-documentation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…