Skip to content
Back to skills

Spark Component Documentation

ASecurity

Create or update the DocC documentation in Sources of a spark-ios-component-XXX.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 29, 2026
documentationdocumentation

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add leboncoin/spark-ios --skill spark-component-documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spark Component Documentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spark Component Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leboncoin-spark-component-documentation/badge)](https://www.skillsdirectory.com/skills/leboncoin-spark-component-documentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spark-component-documentation
description: Create or update the DocC documentation in Sources of a spark-ios-component-XXX.
---

# 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")

**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*

Files in this skill

  • SKILL.md1.7 KB
  • template/Documentation.md847 B
  • template/Resources/xxx_icon.png6.5 KB
  • template/Resources/xxx_icon@2x.png14.5 KB
  • template/Resources/xxx_icon@3x.png16.5 KB
  • template/Resources/xxx_icon~dark.png6.8 KB
  • template/Resources/xxx_icon~dark@2x.png15 KB
  • template/Resources/xxx_icon~dark@3x.png17.5 KB
  • template/Resources/xxx_image.png17.6 KB
  • template/Resources/xxx_image@2x.png56.9 KB
  • template/Resources/xxx_image~dark.png17.6 KB
  • template/Resources/xxx_image~dark@2x.png56.8 KB
  • template/Resources/xxx_large.png6.5 KB
  • template/Resources/xxx_large@2x.png14.7 KB
  • template/Resources/xxx_large@3x.png16.6 KB
  • template/Resources/xxx_large~dark.png6.6 KB
  • template/Resources/xxx_large~dark@2x.png15 KB
  • template/Resources/xxx_large~dark@3x.png17.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…