skills/aaronabuusama/subagent-factory/SKILL.md
Create specialized Claude Code agents on-the-fly. Guides through agent definition file creation with proper frontmatter, effective prompts, and tool scoping. USE WHEN user says 'create agent', 'new subagent', 'make an agent for', 'build agent', 'spawn agent', or wants to define custom agents for specific tasks.
npx skillsauth add aiskillstore/marketplace subagent-factoryInstall 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.
Factory for creating specialized Claude Code agents. Generates agent definition files with proper configuration, effective system prompts, and appropriate tool access.
Fast path for experienced users. Minimal questions, direct file generation.
Use when: You know exactly what agent you need.
See: workflows/quick-create.md
Interactive workflow with questions and customization at each step.
Use when: Exploring agent design, learning the process, or creating complex agents.
See: workflows/interview-create.md
---
name: agent-name # REQUIRED: kebab-case identifier
description: When to use this agent # REQUIRED: natural language triggers
---
tools: Read, Write, Bash # Comma-separated, omit to inherit all
model: sonnet # sonnet|opus|haiku|inherit
permissionMode: default # Permission handling mode
skills: skill-name # Auto-load skills
The Markdown content after frontmatter is the agent's system prompt.
Key elements:
Each agent should have ONE clear purpose, not multiple loosely-related tasks.
Not too prescriptive (brittle if-else logic), not too vague (unhelpful platitudes). Give clear guidance that lets the agent think.
Grant minimum necessary tools. Read-only agents don't need Write. Reviewers don't need Bash.
Include 3-5 concrete examples showing desired behavior patterns.
Use imperative form: "Run tests", "Analyze code", "Generate report" (not "The tests are run").
references/agent-schema.md - Complete frontmatter referencereferences/task-tool-reference.md - Task tool parameters and usagereferences/prompt-patterns.md - Effective prompt engineering patternsreferences/advanced-features.md - Hooks, slash commands, MCP integrationworkflows/quick-create.md - Fast agent creation stepsworkflows/interview-create.md - Interactive guided creationtools: Read, Grep, Glob
Use for: Code review, security audits, compliance checks
tools: Read, Grep, Glob, WebFetch, WebSearch, Write (if need to save research)
Use for: Technology research, documentation lookup, best practices
tools: Read, Write, Edit, Bash, Grep, Glob
Use for: Feature implementation, bug fixes, refactoring
tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch
# Plus MCP tools as needed
Use for: Complete feature delivery, integration work
Purpose: Analyze code for vulnerabilities Tools: Read, Grep, Glob Key checklist: Input validation, authentication, secrets, SQL injection, XSS, CSRF
Purpose: Execute tests, diagnose failures, propose fixes Tools: Read, Edit, Write, Bash, Grep, Glob Key workflow: Run tests → Diagnose failures → Propose fixes → Verify
Purpose: Investigate technologies, APIs, best practices Tools: Read, Grep, Glob, WebFetch, WebSearch Key output: Comparison matrix, recommendation with rationale, next steps
Purpose: Build features following specifications Tools: Read, Write, Edit, Bash, Grep, Glob Key workflow: Understand requirements → Design → Implement → Test → Document
Agent definitions go in:
.claude/agents/ (version controlled, team-shared)~/.claude/agents/ (personal agents)Precedence: Project agents override user agents with same name.
Agents are invoked via the Task tool:
Use the security-reviewer agent to analyze the authentication module for vulnerabilities.
Built-in agent types:
general-purpose - Full tools, Sonnet modelexplore - Read-only, Haiku model (fast searches)plan - Research and analysis during planningCustom agents: Reference by name from .claude/agents/
Parallel execution: Up to 10 concurrent agents (automatic queuing for more)
tools field to inherit all; specify to restricthaiku for fast searches, sonnet for balanced work, opus for complex reasoningSimple example:
# .claude/agents/test-runner.md
---
name: test-runner
description: Run tests, diagnose failures, propose fixes. Use after code changes.
tools: Read, Edit, Bash, Grep
model: sonnet
---
You are a test automation specialist.
## Workflow
1. Run test suite using project test command
2. If failures: capture output, read test files, diagnose root cause
3. Propose minimal fix with rationale
4. Re-run to verify
## Output Format
- Test results summary
- Failure analysis (if any)
- Proposed fixes with evidence
For detailed examples and patterns, see reference documentation.
Start with workflows/quick-create.md for direct creation or workflows/interview-create.md for guided process.
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.