Skip to content

feat: add incident response prompt template #319

@WilliamBerryiii

Description

@WilliamBerryiii

Summary

Per the roadmap under Prompt Engineering > Will Do:

Add incident response prompts for Azure operations scenarios

HVE Core should provide prompt templates to help teams respond to Azure incidents with AI assistance.

Problem

  • No incident response prompts exist in the repository
  • Teams handling Azure incidents don't have AI-assisted guidance
  • The roadmap explicitly lists incident response prompts as a priority

Proposed Solution

Create .github/prompts/incident-response.prompt.md with structured prompts for:

  1. Initial triage - Rapid assessment of incident scope and severity
  2. Diagnostic queries - KQL patterns for Azure Monitor, Log Analytics
  3. Impact analysis - Affected resources, services, and users
  4. Mitigation actions - Common remediation patterns
  5. RCA preparation - Root cause analysis documentation support

Example prompt structure

---
description: Incident response workflow for Azure operations
mode: agent
tools:
  - user-context
  - run_in_terminal
---

# Incident Response Assistant

## Context
You are helping an SRE respond to an Azure incident.

## Workflow

### 1. Initial Assessment
Gather: [incident description, affected services, timeline]

### 2. Diagnostic Phase
Generate KQL queries for:
- Error rates and patterns
- Resource health status
- Recent deployments/changes

### 3. Mitigation Recommendations
Based on symptoms, suggest:
- Immediate actions (scaling, failover, rollback)
- Communication templates
- Escalation criteria

Acceptance Criteria

  • File created at .github/prompts/incident-response.prompt.md
  • Frontmatter follows repository conventions
  • Prompt covers triage, diagnostics, mitigation, and RCA phases
  • Includes Azure-specific patterns (KQL, resource health, Activity Log)
  • References Azure Monitor and Log Analytics documentation

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature triggering minor version bumppromptsCopilot prompt files (.prompt.md)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions