Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

subskill-generation-rule

bởi kenera

Coding Agents & IDEs
432Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Define and enforce project orgnization rules for generating subskills. put generated recommendation outputs.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'I'm adding a new recommendation feature to my skill — where should the script and its output go?'

AGENT
  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

ĐẦU RA

A clean skill layout with the feature script under `subskills/<feature-name>/` and generated outputs under `data/`, with no clutter in the skill root.

Cài đặt

clawhub install kenera/subskill-generation-rule

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết