Agent Skill
2/7/2026

add-design-agent

This skill should be used when the user wants to create a new design workflow agent for their project. Guides creation of research or review agents that integrate with the /design workflow, using the plugin-dev:agent-development skill.

A
amhuppert
1GitHub Stars
2Views
npx skills add amhuppert/my-ai-resources

SKILL.md

Nameadd-design-agent
DescriptionThis skill should be used when the user wants to create a new design workflow agent for their project. Guides creation of research or review agents that integrate with the /design workflow, using the plugin-dev:agent-development skill.

name: add-design-agent description: This skill should be used when the user wants to create a new design workflow agent for their project. Guides creation of research or review agents that integrate with the /design workflow, using the plugin-dev:agent-development skill. argument-hint: [research|review] [agent-name] allowed-tools: Read, Write, Edit, AskUserQuestion

Create a new project-specific design agent that integrates with the /design workflow.

Arguments

  • $1: Agent type (optional) - "research" or "review"
    • research: Domain expert that gathers information during Phase 2 (before design synthesis)
    • review: Evaluator that reviews designs during Phase 4 (after synthesis)
  • $2: Agent name (optional) - Name for the agent (will be suffixed with -agent)

Process

Step 1: Determine Agent Type

If $1 is not provided or not "research" or "review", ask the user:

Use AskUserQuestion with:

  • Question: "What type of design agent do you want to create?"
  • Options:
    • "Research Agent" - Gathers domain-specific information before design synthesis
    • "Review Agent" - Evaluates designs for specific concerns after synthesis

Step 2: Get Agent Details

Use AskUserQuestion to gather:

Question 1: Agent Name

  • "What should this agent be called? (will be suffixed with -agent)"
  • If $2 was provided, skip this question and use $2

Question 2: Domain/Expertise

  • "What is this agent's area of expertise?"
  • Example answers: "security", "accessibility", "performance", "domain X best practices"

Question 3: Key Responsibilities

  • "What are the main things this agent should analyze? (Select all that apply or describe)"
  • Options will vary based on type:
    • Research: "Best practices", "Industry standards", "Implementation patterns", "Tradeoffs"
    • Review: "Security issues", "Performance concerns", "Compliance", "Best practices adherence"

Step 3: Create the Agent

Use the plugin-dev:agent-development skill to create the agent.

Provide this context to the skill:

Create a design workflow agent with these specifications:

**Type**: [research|review]
**Name**: [agent-name]-agent
**Domain**: [user's expertise description]
**Responsibilities**: [user's selected/described responsibilities]

**Requirements**:
1. Frontmatter must include:
   - name: [agent-name]-agent
   - description: Use this agent when [appropriate triggering conditions based on type and domain]
   - model: sonnet
   - color: [choose appropriate color - not already used by universal agents: magenta, gray, blue, red, cyan, yellow, orange]
   - tools: Read, Grep, Glob, Write [add WebSearch, WebFetch if research agent]

2. System prompt must include:
   - Clear role description as [research expert | reviewer] in [domain]
   - Core responsibilities (3-5 items based on user input)
   - Process/methodology for [researching | reviewing]
   - Output format following design workflow conventions:

     For RESEARCH agents:
     ```markdown
     # [Agent Name] Research

     ## Executive Summary
     [2-3 sentences on key findings]

     ## Key Findings
     ### [Finding 1]
     - Observation
     - Implications
     - Recommendation

     ## Recommendations
     [Prioritized list]

     ## Tradeoffs and Alternatives
     [Options considered, why recommendations chosen]

     ## References
     [Sources consulted]
     ```

     For REVIEW agents:
     ```markdown
     # [Agent Name] Review

     ## Summary
     [1-2 sentence assessment]

     ## Critical Issues
     ### [Issue 1]
     - Location: [where]
     - Problem: [what]
     - Impact: [why it matters]
     - Recommendation: [how to fix]

     ## Major Issues
     [Same format]

     ## Minor Issues
     [Same format]

     ## Suggestions
     [Nice-to-haves]

     ## What's Working Well
     [Positive aspects]
     ```

3. The agent will be saved to: .claude/agents/[agent-name]-agent.md

Step 4: Save the Agent

Save the generated agent file to .claude/agents/[agent-name]-agent.md.

Create the .claude/agents/ directory if it doesn't exist.

Step 5: Update DESIGN-AGENTS.md

Check if memory-bank/DESIGN-AGENTS.md exists.

If it doesn't exist:

  1. Create it using the template from ${CLAUDE_PLUGIN_ROOT}/resources/design-agents-template.md
  2. Add the new agent to the appropriate section

If it exists:

  1. Read the current content
  2. Find the appropriate section:
    • For research agents: "## Research Agents"
    • For review agents: "## Review Agents"
  3. Add a new entry: - [agent-name]-agent: [brief description of expertise]

Step 6: Confirm Creation

Report to the user:

## Design Agent Created

**Agent**: [agent-name]-agent
**Type**: [Research|Review]
**Location**: .claude/agents/[agent-name]-agent.md
**Added to**: memory-bank/DESIGN-AGENTS.md

### Next Steps

1. Review the agent at `.claude/agents/[agent-name]-agent.md`
2. Customize the system prompt if needed
3. Run `/design` to use the new agent in your design workflow

The agent will automatically be included in:

- [If research]: Phase 2 (Research) of new design workflows
- [If review]: Phase 4 (Review) of both new design and iteration workflows

Error Handling

  • If .claude/agents/ cannot be created, report error and suggest manual creation
  • If DESIGN-AGENTS.md update fails, provide the entry to add manually
  • If agent name conflicts with existing agent, ask for a different name
Skills Info
Original Name:add-design-agentAuthor:amhuppert