协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
agent-skill-builder【开发与工程】Quickly creates new Claude Code skills or translates ChatGPT projects into Claude Code skills. Handles skill scaffolding, frontmatter, directory structure, and ChatGPT-to-Claude migration. Use when the user wants to 'create a skill,' 'make a new slash command,' 'convert a ChatGPT project,' 'translate a GPT to Claude,' or 'migrate prompts to Claude Co…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Quickly scaffolds new Claude Code skills or translates ChatGPT projects into Claude Code format. This skill focuses on fast creation and correct structure. For iterative testing, benchmarking, and description optimization, use Anthropic's official skill-creator plugin.
/agent-skill-builder new [name])Scaffolds a fresh Claude Code skill with proper structure and best practices.
/agent-skill-builder translate [name])Converts an existing ChatGPT project into a Claude Code skill.
Ask the user (skip what's already clear from context):
/slash-command be called?Analyze each example to identify what should be bundled:
scripts/): Code rewritten repeatedly or needing deterministic reliability. Execute without loading into context.references/): Documentation Claude should consult while working. Loaded on demand.assets/): Files used in output (templates, images, fonts). Not loaded into context.mkdir -p ~/.claude/skills/[skill-name]
Write SKILL.md following this template:
---
name: skill-name
description: "Describes what the skill does and specific triggers for when to use it. Write in third person. Include keywords users would say. Max 1024 characters. This is the PRIMARY triggering mechanism."
---
# Skill Name
[1-2 sentence description]
## Instructions
[Step-by-step guidance — use imperative form]
## Output Format
[Expected output structure]
## Constraints
[Limitations and rules]
For skills with multiple domains or variants, keep SKILL.md lean and split into references:
skill-name/
├── SKILL.md (overview + navigation, under 500 lines)
└── references/
├── variant-a.md
└── variant-b.md
Reference from SKILL.md with clear guidance on when to read each file. Keep references one level deep.
/skill-nameRequest from user:
| ChatGPT Component | Claude Code Equivalent | Location |
|---|---|---|
| Name | name in frontmatter | SKILL.md |
| Description | description in frontmatter | SKILL.md |
| Instructions | Main markdown body | SKILL.md |
| Knowledge files | references/ folder (convert to .md) | Subdirectory |
| Conversation starters | Document in Examples section or omit | SKILL.md |
| Actions (APIs) | MCP servers | ~/.claude/mcp.json |
| Code Interpreter | Native tools: Bash, Read, Write, Edit, Glob, Grep | Built-in |
| Memory | No direct equivalent. Use context files or skill background sections | Various |
| ChatGPT Pattern | Claude Equivalent |
|---|---|
| "You are a [role]..." | Role section or integrate into instructions |
| "Your task is to..." | Instructions section |
| "Always/Never..." | Constraints section |
| "Output format..." | Output Format section |
Input placeholders [text] | Keep as-is or use $ARGUMENTS |
references/assets/The description field is the primary triggering mechanism. Write in third person and include both what the skill does and when to use it. Be slightly "pushy" with triggers to combat undertriggering.
Only name and description are required. Additional fields are Claude Code-specific extensions:
| Field | Required | Description |
|---|---|---|
name | Yes | Max 64 chars, lowercase letters/numbers/hyphens only |
description | Yes | Max 1024 chars. What + When. Third person. Primary trigger mechanism |
argument-hint | No | Hint shown in autocomplete (e.g., "[issue-number]") |
disable-model-invocation | No | true = user-only invocation (no auto-trigger) |
user-invocable | No | false = Claude-only (hidden from slash command menu) |
context | No | fork = run in isolated subagent |
agent | No | Subagent type: Explore, Plan, general-purpose |
allowed-tools | No | Restrict available tools: Read, Grep, Glob |
model | No | Override model for this skill |
| Variable | Description |
|---|---|
$ARGUMENTS | Everything after /skill-name |
${CLAUDE_SESSION_ID} | Current session ID |
!`command` | Dynamic injection (runs before skill loads) |
| Location | Path | Scope |
|---|---|---|
| Personal | ~/.claude/skills/[name]/ | All projects |
| Project | .claude/skills/[name]/ | This project only |
These come from Anthropic's official skill authoring guide:
scripts/helper.py, never scripts\helper.py.Every skill prompt and every ChatGPT or Claude project prompt uses the same five blocks, in this order:
Two more rules sit inside the skeleton:
[MISSING: price]) and asks, instead of filling it in.When a handoff between stages is needed, have each stage write a markdown file the next stage reads.
name and description in frontmatterreferences//skill-name and auto-invocation