subskill-generation-rule
由 kenera 提供
Coding Agents & IDEs简介
Define and enforce project orgnization rules for generating subskills. put generated recommendation outputs.
描述
该技能的功能
Defines file placement conventions for skills that contain multiple features or generate output artifacts. Artifacts go in `data/`, feature scripts in `subskills/<feature>/`, and each feature folder can optionally include its own `SKILL.md`. Keeps the main skill root free of one-off scripts and generated files.
A shared layout convention means contributors always know where generated outputs and feature scripts live without reading each skill individually.
何时使用
- Deciding where to place a newly generated recommendation file
- Structuring a skill that has grown into multiple distinct features
- Adding a SKILL.md to document a specific subskill's behavior
- Auditing an existing skill folder for layout compliance
- Onboarding contributors to a skill's file organization conventions
示例工作流
User asks: 'I'm adding a new recommendation feature to my skill — where should the script and its output go?'
- 1
Check if a
subskills/directory exists in the skill root - 2
Create
subskills/<feature-name>/for the new feature script - 3
Place the feature script inside that folder
- 4
Create
data/at the skill root for generated output artifacts - 5
Optionally add
SKILL.mdinside the feature folder to document its behavior
A clean skill layout with the feature script under `subskills/<feature-name>/` and generated outputs under `data/`, with no clutter in the skill root.
安装
clawhub install kenera/subskill-generation-rule运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。