跳到正文
TakoAPI
返回技能列表

subskill-generation-rule

由 kenera 提供

Coding Agents & IDEs
432下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Check if a subskills/ directory exists in the skill root

  2. 2

    Create subskills/<feature-name>/ for the new feature script

  3. 3

    Place the feature script inside that folder

  4. 4

    Create data/ at the skill root for generated output artifacts

  5. 5

    Optionally add SKILL.md inside 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 或你在用的任意编程智能体里。

链接