From claude-code-dev
Creates Claude Code agents with YAML frontmatter for name, description, tools, model selection, and color. Use when adding specialized agents to plugins.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-dev:create-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create new Claude Code agents with proper configuration and structure.
Create new Claude Code agents with proper configuration and structure.
Agents are markdown files in the agents/ directory with YAML frontmatter:
---
name: agent-name
description: Full description of what the agent does and when to use it
tools: Glob, Grep, Read, Write, Edit, Bash, WebFetch, WebSearch, TodoWrite
model: sonnet
color: green
---
# Agent Title
Agent prompt content goes here...
| Field | Description | Example |
|---|---|---|
name | Unique identifier (kebab-case) | code-reviewer |
description | One-line summary of agent's purpose | Reviews code for quality and best practices |
tools | Comma-separated list of available tools | Glob, Grep, Read, Write, Edit, Bash |
model | Model to use: opus, sonnet, or haiku | sonnet |
color | Status line color | green, blue, purple, red, orange, cyan, magenta, yellow, pink, teal, violet |
Common tool combinations by agent type:
Glob, Grep, Read, Write, Edit, Bash, TodoWrite
Glob, Grep, Read, WebFetch, WebSearch, TodoWrite
Glob, Grep, Read, Write, Edit, Bash, WebFetch, WebSearch, TodoWrite
plugins/<plugin-name>/agents/<agent-name>.md---
name: code-reviewer
description: Reviews code changes for quality, security, and best practices. Use when user wants code reviewed, needs security audit, or asks about code quality.
tools: Glob, Grep, Read, TodoWrite
model: sonnet
color: yellow
---
# Code Reviewer Agent
You are an expert code reviewer focused on quality, security, and maintainability.
## Review Checklist
- Code correctness and logic
- Security vulnerabilities
- Performance considerations
- Code style and consistency
- Test coverage
- Documentation
## Output Format
Provide structured feedback with:
1. Summary of changes
2. Issues found (categorized by severity)
3. Recommendations
4. Approval status
npx claudepluginhub jpoutrin/product-forge --plugin claude-code-devGuides creation of autonomous agents for Claude Code plugins, covering Markdown file structure, YAML frontmatter (name, description, model, color, tools), system prompts, triggering examples, and best practices.
Create custom agents for Claude Code including YAML frontmatter, system prompts, tool restrictions, and discovery optimization. Use when creating, building, or designing agents, or when asked about agent creation, subagent configuration, Task tool delegation, or agent best practices.
Creates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).