跳到正文
cccskills
免费在 GitHub 公开

spark-component-documentation

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

中文简介正在准备中。当前显示原文说明。

集成工具Figma
查看安装方法

包含的文件(50)

  • 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.0 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@3x.png106.7 KB
  • template/Resources/xxx_image~dark.png17.6 KB
  • template/Resources/xxx_image~dark@2x.png56.8 KB
  • template/Resources/xxx_image~dark@3x.png107.1 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.0 KB
  • template/Resources/xxx_large~dark@3x.png17.6 KB
  • template/Resources/xxx_medium.png4.6 KB
  • template/Resources/xxx_medium@2x.png10.5 KB
  • template/Resources/xxx_medium@3x.png11.6 KB
  • template/Resources/xxx_medium~dark.png4.8 KB
  • template/Resources/xxx_medium~dark@2x.png10.5 KB
  • template/Resources/xxx_medium~dark@3x.png12.2 KB
  • template/Resources/xxx_small.png3.1 KB
  • template/Resources/xxx_small@2x.png7.1 KB
  • template/Resources/xxx_small@3x.png8.2 KB
  • template/Resources/xxx_small~dark.png3.1 KB
  • template/Resources/xxx_small~dark@2x.png7.2 KB
  • template/Resources/xxx_small~dark@3x.png8.7 KB
  • template/Resources/xxx_text.png6.5 KB
  • template/Resources/xxx_text@2x.png14.7 KB
  • template/Resources/xxx_text@3x.png16.6 KB
  • template/Resources/xxx_text~dark.png6.6 KB
  • template/Resources/xxx_text~dark@2x.png15.0 KB
  • template/Resources/xxx_text~dark@3x.png17.6 KB
  • template/Resources/xxx_value.png6.0 KB
  • template/Resources/xxx_value@2x.png13.4 KB
  • template/Resources/xxx_value@3x.png15.3 KB
  • template/Resources/xxx_value~dark.png6.1 KB
  • template/Resources/xxx_value~dark@2x.png13.7 KB
  • template/Resources/xxx_value~dark@3x.png16.1 KB
  • template/Resources/xxx_xLarge.png10.2 KB
  • template/Resources/xxx_xLarge@2x.png25.5 KB
  • template/Resources/xxx_xLarge@3x.png31.6 KB
  • template/Resources/xxx_xLarge~dark.png10.5 KB
  • template/Resources/xxx_xLarge~dark@2x.png26.4 KB
  • template/Resources/xxx_xLarge~dark@3x.png34.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Update the CHANGELOG.md with the description of the changes between the last released version and the new one

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

Launch some action before create push in git

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

Create or update a accessibility identifier file in the AccessibilityIdentifier folder in Sources of a spark-ios-component-XXX and add or update unit tests.

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

Create or update a constants file in the Constants folder in Sources of a spark-ios-component-XXX and add or update unit tests.

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

Create or update an enum file in the Enum folder in Sources of a spark-ios-component-XXX and add or update unit tests.

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

Create or update an environment file in the Environment folder in Sources of a spark-ios-component-XXX and add or update unit tests.

中文简介正在准备中。当前显示原文说明。

leboncoin/spark-ios222026年10月8日 更新

查看 leboncoin 的全部技能

报告此技能的问题