skills/brendanshields/creating-agents/SKILL.md
Creates Claude Code subagents for task delegation. Guides through agent configuration, tool selection, and system prompts. Use this skill when the user wants to create a new agent, delegate tasks to specialists, or asks about subagents.
npx skillsauth add aiskillstore/marketplace creating-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guides creation of Claude Code subagents for task delegation.
.claude/agents/Progress:
- [ ] Define purpose and triggers
- [ ] Choose storage location
- [ ] Select tools and model
- [ ] Write system prompt
- [ ] Create agent file
Ask user:
| Location | Path | Use For |
|----------|------|---------|
| Project | .claude/agents/ | Team-shared, project-specific |
| User | ~/.claude/agents/ | Personal, cross-project |
Project agents take priority over user agents.
Tools - Grant minimum needed:
| Tool | Purpose | |------|---------| | Read | Read files | | Write | Create files | | Edit | Modify files | | Glob | Find files | | Grep | Search content | | Bash | Run commands | | Task | Spawn subagents |
Model - Choose based on task:
| Model | Best For |
|-------|----------|
| opus | Complex reasoning, nuanced decisions |
| sonnet | General tasks (default) |
| haiku | Quick lookups, simple analysis |
| inherit | Use parent's model |
Keep prompts focused:
---
name: {agent-name}
description: {when to use - include trigger words}
tools: Read, Grep, Glob
model: sonnet
---
{System prompt here}
Save to .claude/agents/{name}.md
---
name: agent-name # Required: lowercase, hyphens
description: | # Required: when to invoke
Reviews code for quality issues.
Use when user asks for code review.
tools: Read, Grep, Glob # Optional: omit to inherit all
model: sonnet # Optional: opus, sonnet, haiku, inherit
permissionMode: default # Optional: permission handling
skills: skill1, skill2 # Optional: auto-load skills
---
System prompt defining the agent's behavior.
Before creating custom agents, know what's built-in:
| Agent | Model | Tools | Purpose | |-------|-------|-------|---------| | general-purpose | sonnet | All | Complex multi-step tasks | | plan | haiku | Read, Glob, Grep, Bash | Research and strategy | | explore | haiku | Read, Glob, Grep | Fast codebase exploration |
When to create custom agents:
| Need | Use |
|------|-----|
| Quick file search | Built-in explore |
| Research before planning | Built-in plan |
| Multi-step code changes | Built-in general-purpose |
| Code review with specific rules | Custom reviewer agent |
| Security analysis | Custom security agent |
| Domain expertise (DB, API, etc.) | Custom specialist agent |
To make Claude automatically use your agent, include in description:
description: |
PROACTIVELY reviews all code changes before commit.
MUST BE USED when user mentions "review" or "check code".
Use templates from templates/ directory:
See reference.md for complete configuration details.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.