
incident-reporter
Structured incident reporting that covers root cause analysis, timelines, and post-mortems.
- version
- 1.0.0
- GitHub stars
- 79
What it does
- Adds the
incident-reportercommand for generating structured incident reports from your project - Covers root cause analysis, timeline tracking, and post-mortem documentation in one generated report
- Designed for teams that need consistent incident write-ups after outages or production failures
Generate structured incident reports and post-mortems
Add marketplace
/plugin marketplace add devsforge/marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install incident-reporter@devsforge-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceIncident Reporter
Create detailed incident reports, perform root cause analysis, generate timelines, and track action items for effective incident management.
Incident Lifecycle
const incidentLifecycle = {
detection: ['Alert triggered', 'Initial assessment', 'Severity classification', 'Incident created'],
response: ['Assemble team', 'Begin investigation', 'Implement mitigations', 'Update stakeholders'],
resolution: ['Confirm service restoration', 'Monitor for recurrence', 'Close incident'],
postMortem: ['Schedule meeting', 'Analyze root cause', 'Define action items', 'Document lessons'],
followUp: ['Track action items', 'Implement preventive measures', 'Verify effectiveness']
};
Incident Report Class
class IncidentReport {
constructor(incidentData) {
this.id = incidentData.id || this.generateIncidentId();
this.title = incidentData.title;
this.startTime = incidentData.startTime || new Date();
this.endTime = incidentData.endTime || null;
this.severity = incidentData.severity;
this.status = incidentData.status || 'investigating';
this.commander = incidentData.commander;
this.responders = incidentData.responders || [];
this.timeline = [];
this.actionItems = [];
this.impact = {};
}
generateIncidentId() {
const date = new Date().toISOString().split('T')[0].replace(/-/g, '');
const randomId = Math.floor(Math.random() * 1000).toString().padStart(3, '0');
return `INC-${date}-${randomId}`;
}
addTimelineEvent(event) {
this.timeline.push({
timestamp: event.timestamp || new Date(),
type: event.type,
description: event.description,
author: event.author
});
this.timeline.sort((a, b) => a.timestamp - b.timestamp);
}
addActionItem(item) {
const actionItem = {
id: `AI-${(this.actionItems.length + 1).toString().padStart(3, '0')}`,
action: item.action,
owner: item.owner,
priority: item.priority,
dueDate: item.dueDate,
status: item.status || 'not_started',
createdAt: new Date()
};
this.actionItems.push(actionItem);
return actionItem;
}
setImpact(impactData) {
this.impact = {
usersAffected: impactData.usersAffected,
duration: impactData.duration,
revenueImpact: impactData.revenueImpact,
servicesAffected: impactData.servicesAffected,
slaBreached: impactData.slaBreached || false,
...impactData
};
}
calculateMetrics() {
if (!this.endTime) return { duration: 'Ongoing' };
const duration = (this.endTime - this.startTime) / 1000 / 60; // minutes
const detectionEvent = this.timeline.find(e => e.type === 'detection');
const acknowledgeEvent = this.timeline.find(e => e.type === 'acknowledged');
return {
duration: `${Math.floor(duration)} minutes`,
mttd: detectionEvent ? `${Math.floor((detectionEvent.timestamp - this.startTime) / 1000 / 60)} minutes` : 'N/A',
mtta: acknowledgeEvent ? `${Math.floor((acknowledgeEvent.timestamp - this.startTime) / 1000 / 60)} minutes` : 'N/A',
mttr: `${Math.floor(duration)} minutes`
};
}
exportMarkdown() {
const metrics = this.calculateMetrics();
return `# Incident Report: ${this.title}
**Incident ID:** ${this.id}
**Date:** ${this.startTime.toISOString().split('T')[0]}
**Status:** ${this.status}
**Severity:** ${this.severity}
**Commander:** ${this.commander}
## Impact
- **Users Affected:** ${this.impact.usersAffected || 'TBD'}
- **Duration:** ${metrics.duration}
- **Services:** ${this.impact.servicesAffected?.join(', ') || 'TBD'}
- **SLA Breach:** ${this.impact.slaBreached ? 'Yes' : 'No'}
## Timeline
${this.timeline.map(e => `- **${e.timestamp.toLocaleTimeString()}**: ${e.description} (${e.author})`).join('\n')}
## Action Items
${this.actionItems.map(item => `- [ ] **${item.id}**: ${item.action} (${item.owner}, ${item.priority}, Due: ${item.dueDate})`).join('\n')}
## Metrics
- **MTTD:** ${metrics.mttd}
- **MTTA:** ${metrics.mtta}
- **MTTR:** ${metrics.mttr}`;
}
}
// Usage
const incident = new IncidentReport({
title: 'Database Connection Pool Exhaustion',
severity: 'SEV1',
commander: 'John Doe',
responders: ['Jane Smith', 'Bob Wilson']
});
incident.addTimelineEvent({
type: 'detection',
description: 'High error rate alert triggered',
author: 'Monitoring System'
});
incident.setImpact({
usersAffected: '~5000 users (15%)',
duration: '25 minutes',
revenueImpact: 10000,
servicesAffected: ['API Gateway', 'User Service'],
slaBreached: true
});
incident.addActionItem({
action: 'Implement connection pool monitoring',
owner: 'SRE Team',
priority: 'P0',
dueDate: '2024-04-15'
});
Root Cause Analysis (5 Whys)
class FiveWhysAnalysis {
constructor(problem) {
this.problem = problem;
this.whys = [];
this.rootCause = null;
}
askWhy(question, answer) {
this.whys.push({ question, answer });
if (this.whys.length >= 5 || this.isRootCause(answer)) {
this.rootCause = answer;
}
return this;
}
exportMarkdown() {
return `## Root Cause Analysis: 5 Whys
**Problem:** ${this.problem}
${this.whys.map((why, i) => `**Why ${i + 1}:** ${why.question}\n**Answer:** ${why.answer}`).join('\n\n')}
**Root Cause:** ${this.rootCause || 'Not yet determined'}`;
}
}
Severity Classification
const severityLevels = {
SEV1: {
name: 'Critical',
description: 'Complete service outage or critical security incident',
responseTime: '15 minutes',
examples: ['Complete service down', 'Data breach', 'Payment system failure']
},
SEV2: {
name: 'High',
description: 'Major feature degraded but service partially functional',
responseTime: '1 hour',
examples: ['Performance degradation', 'Core feature unavailable', 'Affecting >25% users']
},
SEV3: {
name: 'Medium',
description: 'Minor feature issue or limited user impact',
responseTime: '4 hours',
examples: ['Non-critical feature bug', 'Affecting <5% users', 'Minor performance issue']
}
};
function classifyIncidentSeverity(criteria) {
const { serviceDown, usersAffected, revenueImpact, dataLoss, securityBreach } = criteria;
if (serviceDown || dataLoss || securityBreach) return 'SEV1';
if (usersAffected > 25 || revenueImpact > 10000) return 'SEV2';
if (usersAffected > 5 || revenueImpact > 1000) return 'SEV3';
return 'SEV4';
}
Best Practices
Documentation
- Start documenting immediately when incident begins
- Record all actions with timestamps
- Capture logs, metrics, screenshots
- Write objectively, not emotionally
- Focus on facts, not blame
Communication
- Set clear expectations for update frequency
- Use consistent channels
- Update stakeholders proactively
- Be transparent about unknowns
- Avoid technical jargon in customer communications
Post-Mortem
- Conduct within 48 hours of resolution
- Make post-mortems blameless
- Focus on systems and processes
- Identify specific, actionable improvements
- Assign clear owners and due dates
- Share learnings across organization
Metrics to Track
- MTTD (Mean Time to Detect)
- MTTA (Mean Time to Acknowledge)
- MTTR (Mean Time to Resolve)
- Error budget impact
- Action item completion rate
From the devsforge/marketplace README
Disclaimer: DevsForge Marketplace is an independent, community-developed open-source project. It is not affiliated with, endorsed by, or officially associated with Anthropic, PBC or any of its products (including Claude, Claude Code, or the Claude API). "Claude" and "Anthropic" are trademarks of Anthropic, PBC. This project is a third-party plugin built by the community to extend Claude Code functionality.
π DevsForge Marketplace
The Ultimate Plugin Ecosystem for Claude Code
161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins
Get Started β’ Browse Plugins β’ Documentation β’ Contributing
β‘ What's New in v1.2
β Plugin Compliance & QualityAll 161 plugins validated for Claude Code CLI Fixes Applied:
|
ποΈ Super Plugins (Advanced)Multi-component platforms with hooks & MCP servers Features:
|
β¨ Why DevsForge Marketplace?
π¨Curated QualityEvery plugin manually reviewed & enterprise-tested |
β‘Production ReadyBattle-tested in real-world scenarios |
πSecurity FirstZero dependencies, fully audited code |
πAdvanced FeaturesHooks, MCP servers, automation |
π―100% OriginalNo copycat plugins, pure innovation |
π― Quick Start
Installation
# π₯ One command to rule them all
/plugin marketplace add https://github.com/devsforge/marketplace.git
# β
Verify installation
/plugin marketplace list
# π Expected: devsforge-marketplace (1.2.0) - 161 plugins available
Using Plugins
# π Browse available plugins
/plugin
# π¦ Install specific plugin
/plugin install ai-architect@devsforge-marketplace
# π Install super plugin (with hooks & MCP)
/plugin install enterprise-workspace@devsforge-marketplace
# π Manage plugins
/plugin list # List installed
/plugin update ai-architect@devsforge-marketplace # Update plugin
/plugin remove debugger@devsforge-marketplace # Remove plugin
π¨ Featured Categories
π€ AI & Machine Learning (12 plugins)
- ai-architect - ML optimization & AI system design
- ai-ethics-officer - Ethical AI governance
- vision-specialist - Computer vision & image processing
- data-scientist - Data analysis & BigQuery operations
- data-analyst - Analytics & business intelligence
π Security & Compliance (15 plugins)
- enterprise-security-reviewer - B2B security assessments
- security-scanner - Vulnerability detection & remediation
- authentication-specialist - JWT, OAuth2, security patterns
- cors-security-expert - CORS configuration & best practices
- data-privacy-engineer - GDPR compliance & data protection
- compliance-automation-specialist - Regulatory automation
- legal-compliance-checker - Legal compliance validation
π» Development & Code Quality (25 plugins)
- code-quality-expert - Code governance & security
- code-migrator - Legacy code modernization
- debugger - Advanced debugging methodologies
- web-dev - React, Next.js, NestJS, TypeScript
- python-expert - Advanced Python development
- database-expert β‘ NEW - SQL optimization & query tuning
- docker-specialist β‘ NEW - Container optimization
- git-workflow-expert β‘ NEW - Advanced Git strategies
- rest-api-designer β‘ NEW - REST API best practices
- graphql-specialist β‘ NEW - GraphQL schema design
π§ DevOps & Infrastructure (18 plugins)
- devops-automator - CI/CD & infrastructure automation
- deployment-engineer - Production deployment strategies
- cloud-architect - Multi-cloud architecture
- monitoring-observability-specialist - System monitoring
- sre-reliability-engineer - Site reliability engineering
- cost-optimizer - Cloud cost optimization
π§ͺ Testing & QA (10 plugins)
- testing-orchestrator - Test automation frameworks
- unit-test-generator - Automated test generation
- api-quality-assurance - API testing & validation
- performance-benchmarker - Performance testing
- test-writer-fixer - Test creation & maintenance
π Documentation & Knowledge (8 plugins)
- codebase-documenter - Comprehensive code documentation
- technical-writer-pro - Technical documentation
- api-docs-generator - OpenAPI/Swagger docs
- doc-generator - Auto-documentation generation
π¨ Design & UX (8 plugins)
- ui-designer - Beautiful, functional interfaces
- ui-ux-engineer - React/Vue/Angular components
- accessibility-architect - WCAG 2.1 AA compliance
- mobile-ux-optimizer - Mobile-first experiences
- ux-researcher - User research & journey maps
π Data & Analytics (7 plugins)
- data-analyst - Analytics methodologies
- data-scientist - SQL queries & data insights
- database-performance-optimizer - Database optimization
- sql-query-optimizer - Advanced SQL optimization
π’ Enterprise & Business (12 plugins)
- software-architect - Scalable architecture design
- system-architect - Backend design & integration
- b2b-project-shipper - B2B project delivery
- customer-success-manager - Customer success ops
- technical-sales-engineer - Technical sales support
- pricing-packaging-specialist - Pricing strategies
π Productivity & Automation (15 plugins)
- workflow-optimizer - Workflow optimization
- project-shipper - Launch & release management
- sprint-prioritizer - Sprint planning & prioritization
- experiment-tracker - Experiment tracking & analysis
- finance-tracker - Budget & cost management
β‘ Super Plugins - Advanced (3 plugins)
π’ enterprise-workspace
Complete workspace management platform with hooks & MCP
Components:
- 3 Commands:
workspace-init,workspace-sync,workspace-audit - 2 Agents: workspace-architect, compliance-auditor
- 1 Hook: PostToolUse validation
- 1 MCP Server: workspace-state
- 1 Script: validate-workspace.sh
Features:
- β Architecture governance
- β Compliance tracking
- β Automated validation
- β State management
π€ ai-studio-orchestrator
Advanced multi-agent coordination platform
Components:
- 3 Commands:
orchestrate-task,monitor-performance,optimize-workflow - 2 Agents: task-coordinator, performance-analyzer
- 1 Hook: PreToolUse logging
- 1 MCP Server: orchestrator
- 1 Script: task-logger.sh
Features:
- β Task distribution
- β Load balancing
- β Performance analytics
- β Real-time monitoring
π§ devops-platform
Complete DevOps automation platform
Components:
- 3 Commands:
setup-pipeline,deploy-application,manage-infrastructure - 2 Agents: cicd-architect, infrastructure-engineer
- 1 Hook: PostToolUse config validation
- 1 MCP Server: devops-state
- 1 Script: validate-devops-config.sh
Features:
- β CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI)
- β Zero-downtime deployments
- β Infrastructure as Code (Terraform, CloudFormation)
- β Security scanning
π Marketplace Statistics
| Category | Count | Description |
|---|---|---|
| π€ Agents | 93 | AI-powered development assistants |
| β‘ Commands | 65 | Instant productivity tools |
| π Super Plugins | 3 | Advanced multi-component platforms |
| Total | 161 | Production-ready plugins |
Quality Metrics
- β Average Documentation: 250+ lines per plugin
- β Code Examples: Real-world templates included
- β Testing: Enterprise-grade validation
- β Security: Zero external dependencies
- β Maintenance: Regular updates & improvements
ποΈ Architecture
devsforge-marketplace/
βββ .claude-plugin/
β βββ marketplace.json # π Marketplace registry (161 plugins)
β
βββ plugins/
β βββ agents/ # π€ 93 AI Agent Plugins
β β βββ ai-architect/
β β β βββ .claude-plugin/
β β β β βββ plugin.json
β β β βββ agents/
β β β βββ ai-engineer.md
β β βββ database-expert/ β‘ NEW in v1.1
β β βββ docker-specialist/ β‘ NEW in v1.1
β β βββ git-workflow-expert/ β‘ NEW in v1.1
β β βββ ... (90 more agents)
β β
β βββ commands/ # β‘ 65 Command Plugins
β β βββ api-designer/
β β β βββ .claude-plugin/
β β β β βββ plugin.json
β β β βββ commands/
β β β βββ api-designer.md
β β βββ env-validator/ β‘ NEW in v1.1
β β βββ import-organizer/ β‘ NEW in v1.1
β β βββ ... (62 more commands)
β β
β βββ super/ # π 3 Super Plugins
β βββ enterprise-workspace/
β β βββ .claude-plugin/
β β β βββ plugin.json # With hooks & MCP
β β βββ commands/ # Multiple commands
β β βββ agents/ # Multiple agents
β β βββ scripts/ # Automation scripts
β β βββ servers/ # MCP servers
β βββ ai-studio-orchestrator/
β βββ devops-platform/
β
βββ README.md # π This file
π Documentation
Plugin Installation Examples
# π€ AI & Machine Learning
/plugin install ai-architect@devsforge-marketplace
/plugin install data-scientist@devsforge-marketplace
/plugin install vision-specialist@devsforge-marketplace
# π» Development Tools
/plugin install web-dev@devsforge-marketplace
/plugin install python-expert@devsforge-marketplace
/plugin install debugger@devsforge-marketplace
# π Security & Compliance
/plugin install security-scanner@devsforge-marketplace
/plugin install authentication-specialist@devsforge-marketplace
/plugin install cors-security-expert@devsforge-marketplace
# π§ DevOps & Infrastructure
/plugin install devops-automator@devsforge-marketplace
/plugin install docker-specialist@devsforge-marketplace
/plugin install cloud-architect@devsforge-marketplace
# β‘ Productivity Commands
/plugin install code-review@devsforge-marketplace
/plugin install fix-github-issue@devsforge-marketplace
/plugin install pr-creator@devsforge-marketplace
# π Super Plugins (Advanced)
/plugin install enterprise-workspace@devsforge-marketplace
/plugin install ai-studio-orchestrator@devsforge-marketplace
/plugin install devops-platform@devsforge-marketplace
Marketplace Management
# π List installed marketplaces
/plugin marketplace list
# π Update marketplace
/plugin marketplace update devsforge-marketplace
# ποΈ Remove marketplace
/plugin marketplace remove devsforge-marketplace
# π Search plugins
/plugin search "security"
/plugin search "api design"
# π Show plugin details
/plugin info ai-architect@devsforge-marketplace
π οΈ Troubleshooting
β Marketplace Not Loading
Symptoms: Marketplace doesn't appear in /plugin marketplace list
Solutions:
- β
Verify
.claude-plugin/marketplace.jsonexists in repository root - β
Check JSON syntax:
claude plugin validate . - β Ensure Git repository is accessible and cloned correctly
- β Restart Claude Code CLI after adding marketplace
β Plugin Installation Failures
Symptoms: Error message "Plugin not found" or installation timeout
Solutions:
- β
Verify plugin source paths are correct:
./plugins/[type]/[name] - β
Ensure all required files exist:
.claude-plugin/plugin.json,commands/*.mdoragents/*.md - β Check network connectivity for Git-based plugin sources
- β
Try explicit version:
/plugin install [name]@devsforge-marketplace@1.0.0
β Super Plugin Issues
Symptoms: Hooks not triggering or MCP server connection errors
Solutions:
- β
Verify
${CLAUDE_PLUGIN_ROOT}environment variable resolves correctly - β
Check script permissions:
chmod +xon Linux/Mac - β Ensure Node.js is installed for MCP server JavaScript files
- β Review Claude Code logs for hook execution errors
β Performance Issues
Symptoms: Slow marketplace loading or plugin installation
Solutions:
- β Check internet connection speed (GitHub clone performance)
- β Verify available disk space (minimum 50MB required)
- β Close unnecessary applications to free system resources
- β Use local path installation for faster access after initial clone
π€ Contributing
We welcome contributions! Here's how you can help:
π― Contributing New Plugins
- π΄ Fork the repository
- π Create plugin structure in appropriate directory (
agents/,commands/, orsuper/) - π Follow
plugin.jsonschema requirements - π Add comprehensive documentation (200-700+ lines recommended)
- π§ͺ Test thoroughly with Claude Code CLI
- π Submit pull request with detailed description
π Plugin Quality Standards
- β Minimum 200 lines of documentation
- β Real-world code examples and templates
- β Phase-based methodologies
- β Best practices and anti-patterns
- β Quality metrics and KPIs
- β Business impact analysis
π‘ Contributing Ideas
- π¬ Open a GitHub Discussion with plugin proposal
- π Describe use case and business value
- π» Provide examples of desired functionality
- π³οΈ Community votes on most valuable additions
π Security & Trust
β οΈ Important Disclaimer
DevsForge Marketplace is an independent, community-driven project
- β NOT affiliated with Anthropic or Claude
- β NOT officially endorsed or connected to Anthropic
- β Community maintained by open-source contributors
- β οΈ Use at your own risk - review plugin code before production use
Security Measures
|
Our Practices:
|
Your Responsibilities:
|
π License
MIT License - See LICENSE for details
Copyright (c) 2025 DevsForge Community
π Acknowledgments
Built with β€οΈ by the DevsForge Community
Special thanks to:
- π¨ Anthropic for Claude Code CLI platform
- π» All plugin contributors and testers
- π’ Enterprise users providing valuable feedback
- π Open source community for inspiration
π Ready to supercharge your Claude Code experience?
Get Started Now β’ Browse Plugins β’ Contribute
DevsForge Marketplace v1.2 - The Ultimate Plugin Ecosystem for Claude Code
Details
- Marketplace
- devsforge/marketplace
- Source
- plugins/commands/incident-reporter
- Author
- DevsForge Community
- Category
- Commands
- Keywords
- devsforge, command, incident, reporter
- Listed since
- Apr 7, 2026
More from devsforge/marketplace
All 161- infrastructure-maintainerv1.0.0
- intelligent-commitv1.0.0
- iot-solutions-architectv1.0.0
- issue-analyzerv1.0.0
- json-validatorv1.0.0
- legal-advisorv1.0.0
- legal-compliance-checkerv1.0.0
- license-compliancev1.0.0
- localization-specialistv1.0.0
- microservices-architectv1.0.0
- migration-helperv1.0.0
- mobile-app-builderv1.0.0
- mobile-optimization-expertv1.0.0
- mobile-ux-optimizerv1.0.0
- mock-data-generatorv1.0.0
- monitoring-observability-specialistv1.0.0
- nginx-config-generatorv1.0.0
- openapi-expertv1.0.0
- package-updaterv1.0.0
- pagination-expertv1.0.0
- performance-benchmarkerv1.0.0
- performance-optimizerv1.0.0
- performance-profilerv1.0.0
- planning-prd-agentv1.0.0
Similar to incident-reporter
More DevOps & Cloud
incident-toolsintercom/2x-skills280 starsEvidence-grounded root cause analysis for incidents and post-mortems.
incident-responsewshobson/agents42.8K starsProduction incident management, triage workflows, and automated incident resolution
debug-detectivedevsforge/marketplace79 starsDevsForge Bug Detective tool for streamlined Bug Detective processes and enhanced productivity.
hotfix-deployerdevsforge/marketplace79 starsEmergency hotfix deployment workflow and procedures
error-diagnosticswshobson/agents42.8K starsError tracing, root cause analysis, and smart debugging for production systems
crashlyticsartemnovichkov/skills43 starsGenerate crash reports from Firebase Crashlytics with fix proposals and developer assignments