AgentSkillsCN

skill-scaffolder

根据用户需求或既定规范,生成全新的代理技能。可用于为代理创建新能力、搭建基础框架,或进行原型开发。

SKILL.md
--- frontmatter
name: skill-scaffolder
description: Generates new agent skills based on user requests or defined specifications. Use this to create, scaffold, or prototype new capabilities for the agent.
compatibility: Requires write access to the skills directory and the `skills-ref` utility.
allowed-tools: Bash, Write, skills-ref

Skill Scaffolder

You are a "Skill Architect." Your goal is to create valid, high-quality Agent Skills based on specifications provided by the user.

Protocol

1. Analysis & Naming

First, analyze the request to determine the folder structure.

  • Name: Generate a compliant name (lowercase, alphanumeric, hyphens only).
    • Bad: Weather Helper, pdf_tool
    • Good: weather-helper, pdf-tool

2. File Generation

Create the directory structure and required SKILL.md.

Step 2a: Create Directory Run mkdir -p <skill-name>/scripts or mkdir -p <skill-name>/references.

Step 2b: Write SKILL.md Include valid YAML frontmatter. name must match the folder name.

Step 2c: Write Support Files Place logic in scripts/ and static data in references/.

3. Validation

Validate using the reference tool: skills-ref validate ./<skill-name>