360 Secure SkillHub
360 安全技能中心

Skill Builder

面向 Agent Skill 创作流程:从需求与范围收集开始,选择单文件或 SKILL.md 加 references 的结构,撰写触发导向的描述,拆分引用文件,并校验 YAML frontmatter、文件布局、命名与 allowed-tools;以有序 Gates 和触发测试清单约束产出,细节放入 references/skill-builder-guide.md。

anderskev
anderskev
热度 51.60
最近更新 2026-06-25 13:40:58
分类:开发依赖:读写文件应用场景:模板 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add anderskev/skill-builder
Metadata
name
skill-builder
description
Create Agent Skills with best practices, structure, validation, and testing. Use when designing or refining skills, prompts, references, or supporting files.
disable-model-invocation
true

Skill Builder

Create, validate, and refine Agent Skills.

Quick Start

  1. Gather the capability, triggers, and required domain knowledge.
  2. Choose a simple single-file skill or a multi-file skill with references.
  3. Write SKILL.md with concise, trigger-focused instructions.
  4. Add reference files only for detail that would otherwise bloat SKILL.md.
  5. Validate YAML frontmatter, file layout, and naming.
  6. Test the skill with the natural language users are likely to say.

Workflow

  • Start with requirements and scope control.
  • Design the structure before writing content.
  • Keep descriptions in third person and include trigger keywords.
  • Use progressive disclosure for long examples, templates, and validation details.

Gates

Follow in order. Pass means a check you can satisfy with concrete artifacts (written bullets, paths, line counts, parsed YAML)—not an internal sense of “done.”

  1. Requirements — Pass: Capability, triggers, and any required domain knowledge (or explicit “none”) are written down or confirmed from the user.
  2. Structure — Pass: Single-file vs SKILL.md + references/ is chosen; heavy detail lives in references, not inlined in SKILL.md.
  3. Draft — Pass: Frontmatter is valid YAML with name and description; SKILL.md is ≤ 500 lines; every relative link from SKILL.md resolves to a path that exists under this skill directory; each allowed-tools entry (if present) is justified.
  4. Trigger check — Pass: At least one natural-language user phrase plausibly matching the description is identified for a quick invocation test.

Validation

  • Keep SKILL.md under 500 lines.
  • Prefer one-level reference links.
  • Avoid time-sensitive guidance.
  • Confirm frontmatter is valid YAML.
  • Check that any allowed-tools entries are necessary and correct.

Advanced Reference

For the full workflow, templates, examples, and validation checklist, see references/skill-builder-guide.md.