Use when creating or editing agent definitions - ensures proper frontmatter, clear structure, validation of references, and no duplication with existing agents
/plugin marketplace add bryonjacob/aug/plugin install aug-dev@augThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Create well-formed agent definitions following established patterns. Avoid duplication, ensure proper structure.
---
name: agent-name
description: Brief one-line description explaining WHEN to use
---
# Agent Title
## Purpose
Clear statement of what this agent does
[Main content sections...]
Frontmatter:
name: kebab-casedescription: One line, action-oriented (~60 chars)
1. Check existing:
ls .claude/agents/ ~/.claude/agents/
grep -r "keyword" .claude/agents/
2. Validate no overlap - merge into existing if similar
3. Location:
.claude/agents/~/.claude/agents/ (only if requested)Stack/Tooling ([language]-stack):
Workflow (process name):
Standards ([topic]-standards):
Setup ([tool]-setup):
1. Define:
2. Scope:
3. Structure:
Stack agents:
## Toolchain
## Project Structure
## Setup Commands
## Configuration Files
## Quality Thresholds
## Common Patterns
Workflow agents:
## Purpose
## When to Use
## Workflow Steps
## Examples
## Common Pitfalls
4. Validate references:
test -f .claude/agents/agent-name.md && echo "exists" || echo "missing"
5. Checklist:
[language]-stack - python-stack, javascript-stack[tool]-setup - git-setup, docker-setup[topic]-standards - context-standards[process] - refactorer, software-engineer[feature]-[aspect] - design-system, website-formsWhen creating similar agents:
1. Read references:
cat .claude/agents/python-stack.md
cat .claude/agents/javascript-stack.md
2. Extract:
3. Apply:
Extract the agentic skills/goals, not just content.
1. Read first:
cat .claude/agents/agent-name.md
2. Understand scope - what it does, patterns
3. Surgical changes:
4. Validate:
❌ Overlapping agents - check existing first ❌ Vague descriptions - be specific about when ❌ Missing frontmatter ❌ Broken references ❌ Wrong location ❌ Duplicating content - reference instead ❌ Mega-agents - stay focused
# Check frontmatter
head -5 .claude/agents/agent-name.md
# Validate references
grep -o '@[a-z-]*' .claude/agents/agent-name.md
# Check naming
echo "agent-name" | grep -E '^[a-z][a-z0-9-]*$'
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.