skill-creator

GitHub

用于创建符合规范的 AI Agent 技能,提供结构模板、命名约定及内容指南。

skills/skill-creator/SKILL.md Gentleman-Programming/agent-teams-lite

Trigger Scenarios

用户请求创建新技能 添加代理指令 为 AI 文档化模式

Install

npx skills add Gentleman-Programming/agent-teams-lite --skill skill-creator -g -y
More Options

Use without installing

npx skills use Gentleman-Programming/agent-teams-lite@skill-creator

指定 Agent (Claude Code)

npx skills add Gentleman-Programming/agent-teams-lite --skill skill-creator -a claude-code -g -y

安装 repo 全部 skill

npx skills add Gentleman-Programming/agent-teams-lite --all -g -y

预览 repo 内 skill

npx skills add Gentleman-Programming/agent-teams-lite --list

SKILL.md

Frontmatter
{
    "name": "skill-creator",
    "license": "Apache-2.0",
    "metadata": {
        "author": "gentleman-programming",
        "version": "1.0"
    },
    "description": "Creates new AI agent skills following the Agent Skills spec. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI.\n",
    "allowed-tools": "Read, Edit, Write, Glob, Grep, Bash, WebFetch, WebSearch, Task"
}

When to Create a Skill

Create a skill when:

  • A pattern is used repeatedly and AI needs guidance
  • Project-specific conventions differ from generic best practices
  • Complex workflows need step-by-step instructions
  • Decision trees help AI choose the right approach

Don't create a skill when:

  • Documentation already exists (create a reference instead)
  • Pattern is trivial or self-explanatory
  • It's a one-off task

Skill Structure

skills/{skill-name}/
├── SKILL.md              # Required - main skill file
├── assets/               # Optional - templates, schemas, examples
│   ├── template.py
│   └── schema.json
└── references/           # Optional - links to local docs
    └── docs.md           # Points to docs/developer-guide/*.mdx

SKILL.md Template

---
name: {skill-name}
description: >
  {One-line description of what this skill does}.
  Trigger: {When the AI should load this skill}.
license: Apache-2.0
metadata:
  author: gentleman-programming
  version: "1.0"
---

## When to Use

{Bullet points of when to use this skill}

## Critical Patterns

{The most important rules - what AI MUST know}

## Code Examples

{Minimal, focused examples}

## Commands

```bash
{Common commands}

Resources


---

## Naming Conventions

| Type | Pattern | Examples |
|------|---------|----------|
| Generic skill | `{technology}` | `pytest`, `playwright`, `typescript` |
| Project-specific | `{project}-{component}` | `myapp-api`, `myapp-ui` |
| Testing skill | `{project}-test-{component}` | `myapp-test-sdk`, `myapp-test-api` |
| Workflow skill | `{action}-{target}` | `skill-creator`, `jira-task` |

---

## Decision: assets/ vs references/

Need code templates? → assets/ Need JSON schemas? → assets/ Need example configs? → assets/ Link to existing docs? → references/ Link to external guides? → references/ (with local path)


**Key Rule**: `references/` should point to LOCAL files, not web URLs.

---

## Frontmatter Fields

| Field | Required | Description |
|-------|----------|-------------|
| `name` | Yes | Skill identifier (lowercase, hyphens) |
| `description` | Yes | What + Trigger in one block |
| `license` | Yes | Always `Apache-2.0` |
| `metadata.author` | Yes | `gentleman-programming` |
| `metadata.version` | Yes | Semantic version as string |

---

## Content Guidelines

### DO
- Start with the most critical patterns
- Use tables for decision trees
- Keep code examples minimal and focused
- Include Commands section with copy-paste commands

### DON'T
- Add Keywords section (agent searches frontmatter, not body)
- Duplicate content from existing docs (reference instead)
- Include lengthy explanations (link to docs)
- Add troubleshooting sections (keep focused)
- Use web URLs in references (use local paths)

---

## Registering the Skill

After creating the skill, add it to `AGENTS.md`:

```markdown
| `{skill-name}` | {Description} | [SKILL.md](skills/{skill-name}/SKILL.md) |

Checklist Before Creating

  • Skill doesn't already exist (check skills/)
  • Pattern is reusable (not one-off)
  • Name follows conventions
  • Frontmatter is complete (description includes trigger keywords)
  • Critical patterns are clear
  • Code examples are minimal
  • Commands section exists
  • Added to AGENTS.md

Resources

  • Templates: See assets/ for SKILL.md template

Version History

  • 6901875 Current 2026-08-20 06:39

Same Skill Collection

skills/branch-pr/SKILL.md
skills/go-testing/SKILL.md
skills/issue-creation/SKILL.md
skills/judgment-day/SKILL.md
skills/sdd-apply/SKILL.md
skills/sdd-archive/SKILL.md
skills/sdd-design/SKILL.md
skills/sdd-explore/SKILL.md
skills/sdd-init/SKILL.md
skills/sdd-propose/SKILL.md
skills/sdd-spec/SKILL.md
skills/sdd-tasks/SKILL.md
skills/sdd-verify/SKILL.md
skills/skill-registry/SKILL.md

Metadata

Files
0
Version
6901875
Hash
197f331d
Indexed
2026-08-20 06:39

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 21:00
浙ICP备14020137号-1 $Carte des visiteurs$