Reference for agent file structure, naming conventions, and file placement. Use this whenever creating or validating an agent file.
How this skill is triggered — by the user, by Claude, or both
Slash command
/puzzle9900-claude-plugin:generic-agent-creator-structureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill defines the canonical structure all agent files must follow. Use it as the authoritative reference when creating, reviewing, or updating any agent in this project.
This skill defines the canonical structure all agent files must follow. Use it as the authoritative reference when creating, reviewing, or updating any agent in this project.
Every agent is a flat .md file placed directly in agents/ — no per-agent subfolders:
agents/
<full-composite-name>.md
The agent file has a YAML frontmatter block followed by content sections:
---
name: <full-composite-name>
description: <one-line description — Claude uses this to decide when to auto-invoke>
model: sonnet # optional: sonnet | opus | haiku
color: blue # optional: blue | green | yellow | red | purple | gray | orange
---
# <full-composite-name>
## Identity
<Who this agent is and what domain it owns>
## Knowledge
<What this agent knows — the feature, system, or domain expertise it carries>
## Instructions
<How this agent behaves and responds>
## Output Format
<How it structures its responses>
## Constraints
<What it avoids or never does>
The full agent name is a composite of domain, platform (if applicable), and concern:
| Domain | Platform | Full name pattern | Example |
|---|---|---|---|
generic | — | generic-<concern> | generic-spec-reviewer |
mobile | ios / android / web | mobile-<platform>-<concern> | mobile-android-ui-expert |
backend | services / infrastructure / database | backend-<platform>-<concern> | backend-services-auth-expert |
.md) and the name field in frontmatter must always match exactlyagents/
generic-<concern>.md
mobile-ios-<concern>.md
mobile-android-<concern>.md
mobile-web-<concern>.md
backend-services-<concern>.md
backend-infrastructure-<concern>.md
backend-database-<concern>.md
Each agent is a flat file at the root of agents/ — no domain or platform subfolders.
agents/<full-composite-name>.md.md) and the name frontmatter field must match exactlydescription must be specific enough for Claude to decide auto-invocation — avoid vague descriptionsmodel and color are optional — omit entirely if defaults are acceptableconcern (not name) as the final composite segment — it should describe what the agent does or knowsnpx claudepluginhub puzzle9900/puzzle9900-claude-plugin --plugin puzzle9900-claude-pluginCreates Claude Code agents with YAML frontmatter for name, description, tools, model selection, and color. Use when adding specialized agents to plugins.
Creates and validates production-grade agent .md files for Anthropic 2026 16-field spec. Use for custom subagents, agent quality review, or orchestrator architectures. Triggers: /agent-creator, 'create an agent'.
Generates custom Claude Code agent.md files from purpose-based templates (Reviewer, Generator, Fixer, Tester, Documenter, Orchestrator). Configures tools, model, color; saves to .claude/agents/ and validates.