| title | GitHub Copilot Custom Agents | |||||
|---|---|---|---|---|---|---|
| description | Specialized AI agents for planning, research, prompt engineering, documentation, and code review workflows | |||||
| author | HVE Core Team | |||||
| ms.date | 2026-10-07 | |||||
| ms.topic | guide | |||||
| keywords |
|
|||||
| estimated_reading_time | 6 |
Specialized GitHub Copilot behaviors for common development workflows. Each custom agent is optimized for specific tasks with custom instructions and context.
- Open GitHub Copilot Chat view (Ctrl+Alt+I or Cmd+Alt+I)
- Click the agent picker dropdown at the top of the chat panel
- Select the desired agent from the list
- Enter your request and press Enter
Example:
- Select "RPI Agent" from the dropdown
- Type: "Research, plan, implement, and review Docker SHA validation"
- Press Enter
Requirements: GitHub Copilot subscription, VS Code with Copilot extension, proper workspace configuration (see Getting Started)
Select from the agent picker dropdown in the Chat view:
The RPI lifecycle keeps Research, Plan, Implement, Review, and Follow-up distinct for complex development tasks. It begins with research readiness: supplied or completed evidence is reused when adequate, and research runs only for a demonstrated requirements, acceptance, dependency, material-risk, complexity, uncertainty, or decision-critical gap.
RPI Agent is a user-selected lifecycle wrapper that activates the matching RPI skills. It runs in manual mode by default and can switch to a confirmed automatic session that completes the remaining phases through Review. Use /rpi-research, /rpi-plan, /rpi-implement, and /rpi-review when you need a direct phase entry point.
Use the self-contained rpi-challenger skill to interrogate a confirmed subject through adaptive skeptical questions, and rpi-walkthrough to understand code or RPI artifacts one segment at a time. See the RPI Documentation for all surfaces.
| Agent | Purpose | Key Constraint |
|---|---|---|
| RPI Agent | User-selected lifecycle wrapper that activates matching RPI skills | Manual by default; automatic mode requires explicit confirmation and has no fixed specialized task-worker roster |
| Agent | Purpose | Key Constraint |
|---|---|---|
| adr-creation | Interactive ADR coaching with guided discovery | Socratic coaching approach |
| brd-builder | Creates Business Requirements Documents with reference integration | Solution-agnostic requirements focus |
| documentation | Documentation audit, drift, authoring, and validation workflow | Uses the shared documentation skill and escalates formal assessments to planner agents |
| meeting-analyst | Analyzes meeting transcripts to extract product requirements via work-iq-mcp | Experimental; requires work-iq-mcp EULA; transcripts may contain PII and confidential data, analysis files are unencrypted on disk |
| prd-builder | Creates Product Requirements Documents through guided Q&A | Iterative questioning; state-tracked sessions |
| security-planner | STRIDE-based security model analysis with standards mapping and backlog handoff | Six-phase conversational workflow; experimental |
| sssc-planner | Supply chain security assessment with 6-phase workflow against OpenSSF Scorecard, SLSA, Sigstore, and SBOM | Six-phase conversational workflow; experimental |
| rai-planner | Responsible AI assessment with 6-phase workflow against Microsoft Responsible AI Impact Assessment Guide and NIST AI RMF | Six-phase conversational workflow; experimental |
| system-architecture-reviewer | Reviews system designs for trade-offs and ADR alignment | Scoped review; delegates security concerns |
| ux-ui-designer | JTBD analysis, user journey mapping, and accessibility requirements | Research artifacts only; visual design in Figma |
| Agent | Purpose | Key Constraint |
|---|---|---|
| security-reviewer | OWASP vulnerability assessment with subagent-driven verification | Delegates all reference reading to subagents |
| code-review | Human-gated review orchestrator dispatching five perspective subagents | Operator confirms scope, perspectives, and depth; review-only |
Use hve-builder as the canonical lifecycle for creating, improving,
refactoring, reviewing, or validating prompts, instructions, agents,
subagents, and skills.
| Agent | Purpose | Key Constraint |
|---|---|---|
| backlog-manager | Unified backlog and work management for Azure DevOps, GitHub, and Jira, plus ADO PR/build/sprint | Uses per-platform MCP tools and the Jira CLI; per-platform preflight |
| functional-planner | Analyzes PRDs and plans Azure DevOps or Jira work-item hierarchies with selectable framework lenses | Planning-only; never mutates a tracker |
Activates: The matching RPI skills for the applicable lifecycle concepts:
rpi-researchonly when research readiness identifies a demonstrated gaprpi-planfor the parent-owned task-centered plan and independent critiquerpi-implementfor direct execution and change evidencerpi-reviewfor one evidence-reconciliation record and outcome routing
Workflow: Research readiness → Plan → Implement → Review → Follow-up. Research can be reused or satisfied-and-skipped when the evidence set is adequate. Follow-up routes defects to implementation, decisions to planning, evidence gaps to research, and residual work to a distinct next item.
Artifacts: When a stage needs a durable record, the lifecycle uses one stable task ID and these marker-addressed paths:
.copilot-tracking/research/{{YYYY-MM-DD}}/{{task_slug}}-research.md.copilot-tracking/plans/{{YYYY-MM-DD}}/{{task_slug}}-plan.md.copilot-tracking/reviews/plans/{{YYYY-MM-DD}}/{{task_slug}}-plan-critique.md.copilot-tracking/changes/{{YYYY-MM-DD}}/{{task_slug}}-changes.md.copilot-tracking/reviews/logs/{{YYYY-MM-DD}}/{{task_slug}}-review.md
Modes: Manual mode stays in the active phase until you invoke the next /rpi-* command or select a phase handoff. The Full Auto handoff requests an automatic session; after you confirm whether ordinary Research and Plan decisions are agent-owned or user-retained, the agent continues through Review without routine approval prompts.
After Review, an automatic session offers ranked follow-up choices plus Stop automatic session and Switch to manual mode. Blockers, required human review, and destructive or externally visible actions still stop for confirmation.
Critical: RPI Agent is a user-selected lifecycle wrapper, not a dispatcher for named specialized task workers. Automatic mode begins only after explicit confirmation and never infers consent from a handoff request. It may use generic bounded delegation only when it materially improves an isolated activity. Navigate durable artifacts with the task ID, Pxx, Pxx-Txx, headings, and <!-- rpi:... --> markers.
Purpose: UX research artifacts including Jobs-to-be-Done analysis, user journey mapping, and accessibility requirements.
Creates: Research documentation using the user journey template:
- JTBD analysis documenting user goals and current solution gaps
- Journey maps tracing user behavior, emotions, and pain points across stages
- Accessibility requirements integrated into journey stages
- Design handoff sections with flow descriptions and principles
Handoffs: Delegates to prd-builder for formal product requirements, backlog-plan for tracked work items, and activates rpi-research for technical feasibility research.
Critical: Research-only. Does not generate UI designs or visual mockups. Produces artifacts that designers translate into Figma flows. Treats accessibility as a foundational constraint.
Creates: Product requirements documents with session state:
docs/project-planning/<kebab-case-name>.md(PRD document with requirements).copilot-tracking/prd-sessions/<kebab-case-name>.state.json(session state for resume capability)
Workflow: Assess → Discover → Create → Build → Integrate → Validate → Finalize
Critical: Iterative questioning with refinement checklists. Maintains session state for continuity. Integrates user-provided references automatically.
Creates: Business requirements documents with session state:
docs/project-planning/<kebab-case-name>-brd.md(BRD document with business objectives).copilot-tracking/brd-sessions/<kebab-case-name>.state.json(session state for resume capability)
Workflow: Assess → Discover → Create → Elicit → Integrate → Validate → Finalize
Critical: Solution-agnostic requirements focus. Links every requirement to business objectives. Supports session resume after context summarization.
Creates: Architecture Decision Records:
.copilot-tracking/adrs/{{topic-name}}-draft.md(working draft)docs/decisions/YYYY-MM-DD-{{topic}}.md(final location)
Workflow: Discovery → Research → Analysis → Documentation
Critical: Uses Socratic coaching methods. Guides users through decision-making process. Adapts coaching style to experience level.
Creates: Architecture review findings and ADRs:
docs/decisions/YYYY-MM-DD-short-title.md(architecture decision records)
Workflow: Context Discovery → Review Scoping → Well-Architected Evaluation → Trade-Off Analysis → ADR Documentation → Escalation Review
Critical: Asks questions and reviews existing artifacts (ADRs, PRDs, plans) before making assumptions. Scopes reviews to 2-3 relevant framework areas based on gathered context. Delegates security-specific reviews to security-planner and detailed ADR coaching to adr-creation. Uses docs/templates/adr-template-solutions.md for ADR structure.
Creates: Documentation workflow session tracking and documentation updates:
.copilot-tracking/documentation/{{YYYY-MM-DD}}-session.md(session tracking for the Documentation workflow)
Workflow:
- Review existing documentation for scope, accuracy, and completeness
- Identify drift, gaps, or outdated content in the requested area
- Author or validate documentation updates using the shared documentation skill
Critical: Uses the Documentation workflow as the canonical entry point for documentation work. It stays focused on documentation artifacts and routes formal accessibility, RAI, and security assessments to the matching planner agents.
Creates: Transcript analysis documents and session state:
.copilot-tracking/prd-sessions/<kebab-case-name>-transcript-analysis.md(structured requirements extracted from meeting transcripts).copilot-tracking/prd-sessions/<kebab-case-name>-transcript.state.json(session state for resume capability)
Workflow: Discover → Extract → Synthesize → Handoff
Critical: Experimental. Requires the workiq MCP server in .vscode/mcp.json (not included in the installer skill or curated MCP documentation; see official documentation for setup). Requires mcp_workiq_accept_eula call before querying. Uses mcp_workiq_ask_work_iq for Microsoft 365 meeting data. Query budget of approximately 30 per session. Hands off to prd-builder for PRD creation.
Data Sensitivity Warning: Meeting transcripts retrieved by this agent may contain PII, customer confidential information, and proprietary business data. Analysis files and state files are written to .copilot-tracking/prd-sessions/ which is gitignored by default when following HVE Core setup guidance, but the files exist unencrypted on disk.
Users are responsible for verifying their repository's .gitignore configuration, complying with their organization's data handling policies, and deleting both the <name>-transcript-analysis.md and <name>-transcript.state.json files after the PRD handoff is complete. The agent will prompt for deletion at handoff completion, but deletion is the user's responsibility.
Creates: Security plans and backlog handoff artifacts under .copilot-tracking/security-plans/{project-slug}/:
state.json(session state for resume capability)security-plan-{project-slug}.md(security plan with STRIDE analysis, standards mapping, and operational bucket classification)- Backlog items in ADO (
WI-SEC-{NNN}) or GitHub ({{SEC-TEMP-N}}) format
Workflow: Six sequential phases: Scoping → Bucket Analysis → Standards Mapping → Security Model Analysis → Backlog Generation → Review and Handoff
Entry Modes: Two modes converge at Phase 2. Capture mode starts from scratch with an interview. From-PRD mode pre-populates from existing PRD/BRD artifacts.
Critical: Uses STRIDE methodology per operational bucket. Maps controls to OWASP Top 10, NIST 800-53, and CIS v8 frameworks. Detects AI/ML components during scoping and recommends RAI Planner dispatch when AI elements are present. Works iteratively with 3-5 questions per turn using emoji checklists to track progress. No blueprint infrastructure requirement. Maturity: experimental.
Creates: One consolidated rai-plan.md plus session state under .copilot-tracking/rai-plans/{project-slug}/:
state.json(session state for resume capability)rai-plan.mdwith eight sections in phase order:## System Definition(with an### AI Component Inventorytable subsection) and## Stakeholder Impact(Phase 1: AI System Scoping)### Risk Classification Screeningunder## System Definition(Phase 2: Risk Classification)## Standards Mapping(Phase 3: RAI Standards Mapping)## Threat Addendum(Phase 4: RAI Security Model Analysis)## Control Surface Catalog,## Evidence Register,## Tradeoffs(Phase 5: RAI Impact Assessment)## Review Summary(Phase 6: Review and Handoff)
- Backlog items and
artifact-manifest.jsonwhen signing is accepted (Phase 6: Review and Handoff)
Workflow: Six sequential phases mapped to NIST AI RMF functions: AI System Scoping (Govern + Map) → Risk Classification (Govern) → RAI Standards Mapping (Govern + Measure) → RAI Security Model Analysis (Measure) → RAI Impact Assessment (Manage) → Review and Handoff (Manage)
Entry Modes: Three modes converge at Phase 2. Capture mode uses exploration-first interviewing adapted from Design Thinking research methods. From-PRD mode seeds the assessment from PRD artifacts. From-security-plan mode continues from a completed Security Planner session, inheriting AI component data and threat ID sequences.
Critical: Evaluates AI systems against the Microsoft Responsible AI Impact Assessment Guide and NIST AI RMF 1.0. Applies AI-specific threat analysis using dual threat ID convention (T-RAI-{NNN} sequential IDs and T-{BUCKET}-AI-{NNN} cross-references) across data poisoning, model evasion, prompt injection, and bias amplification. Seven instruction files provide domain guidance. Works iteratively with up to 7 questions per turn. Maturity: experimental.
Creates: Assessment artifacts under .copilot-tracking/sssc-plans/{project-slug}/:
state.json(session state for resume capability)sssc-plan-{project-slug}.md(supply chain security assessment with standards mapping and gap analysis)- Backlog items in ADO or GitHub format for remediation tracking
Workflow: Six sequential phases: Scoping → Supply Chain Assessment → Standards Mapping → Gap Analysis → Backlog Generation → Review and Handoff
Entry Modes: Four modes converge at Phase 2. Capture mode starts from scratch with an interview. From-PRD mode pre-populates from PRD artifacts. From-BRD mode seeds from BRD artifacts. From-security-plan mode continues from a completed Security Planner session.
Critical: Assesses against OpenSSF Scorecard (20 checks), SLSA Build levels (L0-L3), Best Practices Badge tiers, Sigstore keyless signing maturity, and SBOM compliance. Works iteratively with 3-5 questions per turn with confirmation before phase advancement. Maturity: experimental.
Creates: OWASP vulnerability assessment reports:
.copilot-tracking/security/{{YYYY-MM-DD}}/security-report-{{NNN}}.md(audit mode report).copilot-tracking/security/{{YYYY-MM-DD}}/security-report-diff-{{NNN}}.md(diff mode report).copilot-tracking/security/{{YYYY-MM-DD}}/plan-risk-assessment-{{NNN}}.md(plan mode report)
Workflow: Setup → Profile Codebase → Assess Applicable Skills → Verify Findings → Generate Report → Compute Summary
Modes:
audit(default): Full codebase scan against applicable OWASP skillsdiff: Scoped scan of changed files relative to the default branchplan: Pre-implementation risk assessment of a plan document (skips verification)
Subagents: Codebase Profiler, Skill Assessor, Finding Deep Verifier, Report Generator
Critical: Orchestrator-only pattern. Delegates codebase profiling, skill assessment, adversarial finding verification, and report generation to specialized subagents. Uses OWASP skills (owasp-agentic, owasp-llm, owasp-top-10, owasp-mcp, owasp-infrastructure, owasp-cicd) and the secure-by-design skill for vulnerability and design principle references. Supports incremental comparison with prior scan reports.
Creates: Merged review artifacts in a normalized branch folder:
.copilot-tracking/reviews/code-reviews/<sanitized-branch>/review.md(merged review document, per the shared persistence protocol inreview-artifacts.instructions.md).copilot-tracking/reviews/code-reviews/<sanitized-branch>/metadata.json(review metadata record)
Workflow: Context Bootstrap → Human Scope Confirmation → Perspective + Depth Selection → Prepare Dispatch State → Dispatch Selected Perspectives → Merge and Persist
Critical: Human-gated orchestrator invoked from the agent picker. After computing the diff via the pr-reference skill, it confirms scope with the operator, then lets the operator choose any combination of five perspectives (functional, standards, accessibility, security, pr) or full to run all five, plus a depth tier (basic, standard, or comprehensive) applied independently of perspective.
It dispatches thin perspective subagents under .github/agents/coding-standards/subagents/, shares the computed diff to avoid duplicate git operations, and merges every report into a single output. Review-only; never modifies code. Maturity: experimental.
Creates: Backlog management artifacts under .copilot-tracking/{workitems,github-issues,jira-issues}/
Workflow: Platform and Intent Classification → Workflow Dispatch → Summary and Handoff
Critical: Unified across Azure DevOps, GitHub, and Jira. Resolves the target platform and runs a per-platform tool/credential preflight, delegates knowledge to the backlog-management skill, folds in ADO PR creation, build/pipeline info (and GitHub Actions), sprint, and task planning, routes PRD planning to the functional planner, and applies GitHub community-interaction guardrails for contributor-facing comments.
Creates: Work item planning files under .copilot-tracking/{workitems,jira-issues}/prds/<artifact-normalized-name>/ (planning-log.md, artifact-analysis.md, the platform plan file, handoff.md)
Workflow: Analyze PRD → Discover Codebase → Discover Related Work Items → Refine Hierarchy → Finalize Handoff
Critical: Strictly planning-only; never mutates a tracker. Consumes the functional-planner skill for the read-only PRD model, per-platform hierarchy rules (ADO Epic/Feature/Story; Jira Epic/Story/Task/Sub-task), and selectable open framework lenses (generic, Scrum, Kanban). Hands off to the backlog-manager for execution after user review.
- Select RPI Agent from the agent picker for the full-lifecycle entry point.
- Provide the task, acceptance criteria, decisions, dependencies, and any completed research.
- Assess research readiness before activating
rpi-research; reuse adequate evidence instead of repeating research. - Continue through the applicable phase skills and resume from the durable artifact set when a long lifecycle needs a fresh context.
- Gather task context, decisions, acceptance criteria, and any completed research
- Use
/rpi-researchwhen a demonstrated planning-readiness gap remains - Use
/rpi-planwith the available evidence to create a task-centered plan and independent critique - Use
/rpi-implementto execute approved work and record change evidence - Use
/rpi-reviewto reconcile the implementation against the plan and route follow-up
- Select code-review from agent picker
- Confirm the change scope when prompted
- Choose perspectives (
functional,standards,accessibility,security,pr, orfull) and a depth tier - Receive a merged
review.mdunder.copilot-tracking/reviews/code-reviews/<branch>/
- Invoke
hve-builderwith the target path, reference context, and requirements - Let HVE Builder resolve the create or improve mode and source-write boundary
- Review the independent static verdict, behavior evidence when required, validation result, and overall outcome before merging
- Select prd-builder or brd-builder from agent picker
- Answer guided questions about the product or business initiative
- Provide references and supporting materials
- Review and refine iteratively
- Finalize when quality gates pass
- Linting Exemption: Files in
.copilot-tracking/**are exempt from repository linting rules - Agent Switching: Clear context or start a new chat when switching between specialized agents
- Evidence Readiness:
rpi-planuses supplied or complete evidence and activatesrpi-researchonly for a demonstrated readiness gap - Phase Ownership:
rpi-researchandrpi-planproduce evidence and planning artifacts;rpi-implementowns source changes - RPI entry surfaces:
RPI Agentcoordinates the same phase skills that/rpi-research,/rpi-plan,/rpi-implement, and/rpi-reviewrun directly; neither path requires a fixed specialized task-worker roster
- Be specific in your requests for better results
- Provide context about what you're working on
- Review generated outputs before using
- Use the RPI lifecycle when research readiness identifies a gap or the task needs durable planning, implementation evidence, review, or follow-up routing
- Resume long-lived work from the stable task ID and dated RPI artifacts instead of relying on conversation history
🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.