Subskill Generation Rule
定义并强制执行用于生成子技能的项目组织规则。将生成的推荐输出放在 data/ 下,将新功能脚本放在 subskills/<feature>/ 下,并可选择在每个功能文件夹中添加 SKILL.md 以保持主要技能根目录干净。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:kenera~kenera-subskill-generation-rulecURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Akenera~kenera-subskill-generation-rule/file -o kenera-subskill-generation-rule.mdGit 仓库获取源码
git clone https://github.com/openclaw/skills/commit/24769b77145be843dab59f58c0bcc2ec5dbb7848# Subskill Generate Rule
Apply these rules for future updates:
1. Store newly generated recommendation/result artifacts in `data/`.
2. Place newly generated code scripts in `subskills/<feature>/`.
3. Use one folder per feature under `subskills/`.
4. Add `SKILL.md` inside the feature folder when behavior/usage needs instructions.
5. Avoid adding one-off scripts and generated files in the main skill root.
Recommended layout:
```text
<skill>/
SKILL.md
config.json
data/
subskills/
<feature-a>/
SKILL.md
*.py
<feature-b>/
SKILL.md
*.py
```
## When to Use
- Creating new subskills
- Organizing existing features
- Enforcing file placement conventions
- Keeping skill root clean
---
## 中文说明
# Subskill Generate Rule
对未来的更新应用以下规则:
1. 将新生成的推荐/结果产物存放在 `data/` 中。
2. 将新生成的代码脚本放在 `subskills/<feature>/` 下。
3. 在 `subskills/` 下为每个功能使用一个独立文件夹。
4. 当行为/用法需要说明时,在功能文件夹内添加 `SKILL.md`。
5. 避免在主技能根目录中添加一次性脚本和生成的文件。
推荐布局:
```text
<skill>/
SKILL.md
config.json
data/
subskills/
<feature-a>/
SKILL.md
*.py
<feature-b>/
SKILL.md
*.py
```
## 使用时机
- 创建新的子技能
- 组织现有功能
- 强制执行文件放置约定
- 保持技能根目录整洁