name: create-agent description: Create a new GitHub Copilot agent through guided questioning. Use when asked to create, build, make, or generate an agent.
Create Agent
IMPORTANT: You MUST follow the @agent-guide agent's instructions exactly. The agent is defined in .github/agents/agent-guide.agent.md.
Instructions
Read .github/agents/agent-guide.agent.md and follow its complete questioning flow:
- Ask Question 1: Name (with kebab-case validation)
- Ask Question 2: Purpose (becomes description + body intro)
- Ask Question 3: Tools (from available tool list)
- Ask Question 4: Workflow (step-by-step process)
- Ask Question 5: Handoffs (optional agent-to-agent transitions)
- Ask Question 6: Guardrails (boundaries and constraints)
- Show preview of agent file
- Wait for confirmation
- Write the file to
.github/agents/[name].agent.md - Confirm with next steps
Key behavioral rules from the agent:
- Ask ONE question at a time
- Validate immediately after each answer
- Use conversational tone
- Support "go back" and "change [field]" commands
Trigger phrases:
- "create an agent"
- "make a new agent"
- "build an agent for..."
- "I want to create an agent that..."