360 Secure SkillHub
360 安全技能中心

Subskill Generation Rule

该 Skill 以规则文档形式规定子技能生成时的文件组织方式:推荐将结果产物放入 data/,将新功能脚本放入 subskills/<feature>/,每个功能独立目录,并按需在功能目录内添加 SKILL.md,以保持主技能根目录整洁。它仅提供约定,不包含自动执行脚本。

分类:开发
kenera
kenera
热度 50.34
最近更新 2026-05-11 16:51:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kenera/subskill-generation-rule
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
subskill-generation-rule
description
Define and enforce project orgnization rules for generating subskills. put generated recommendation outputs under data/, place new feature scripts under subskills/<feature>/, and optionally add SKILL.md inside each feature folder to keep main skill root clean.

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:

<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