skills/bugfix-plan-template/SKILL.md
Bug-Fix Plan Template — Structured plan template for debugging and fixing bugs, focused on diagnosis, impact analysis, and task breakdown without requiring a feature doc.
npx skillsauth add ngmthaq/my-copilot bugfix-plan-templateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Follows the same location as plan documents, with a agent-plan-fix- prefix:
{doc_directory}/<date-time>-agent-plan-fix-<bug-summary>.md
Examples:
{doc_directory}/20260405-1715-agent-plan-fix-cors-in-user-creation-form.md{doc_directory}/20260406-0930-agent-plan-fix-null-pointer-in-auth-service.md# Fix: <Bug Summary>
---
## 1. Diagnosis
- **Error**:
- **Root Cause**:
- **Affected Code**:
- **Reproduction Steps**:
---
## 2. Impact Analysis
- Affected features:
- User impact:
- Severity: (Low / Medium / High / Critical)
---
## 3. Purpose
<Why this fix is needed and expected outcome>
---
## 4. Fix Strategy
- Approach:
- Alternative approaches considered:
- Why this approach:
---
## 5. Task Breakdown
---
### T1
- **Name**: Identify and isolate faulty logic
- **Agent**: debugger
- **Description**:
- **Dependencies**: []
- **Acceptance Criteria**:
- Root cause confirmed in code
---
### T2
- **Name**: Implement fix
- **Agent**: relevant developer
- **Description**:
- **Dependencies**: [T1]
- **Acceptance Criteria**:
- Bug no longer reproducible
---
### T3
- **Name**: Add/Update tests
- **Agent**: qa-engineer
- **Description**:
- **Dependencies**: [T2]
- **Acceptance Criteria**:
- Test covers bug scenario
---
### T4
- **Name**: Regression testing
- **Agent**: qa-engineer
- **Dependencies**: [T3]
- **Acceptance Criteria**:
- No existing functionality broken
---
### T5
- **Name**: Code review
- **Agent**: code-reviewer
- **Dependencies**: [T2, T3]
- **Acceptance Criteria**:
- Code quality and security validated
---
## 6. Parallel Execution Notes
- T2 and T3 can partially overlap (if safe)
- T4 MUST wait for T2 & T3
- T5 can run after implementation but before full regression completion
---
## 7. Validation Criteria (Definition of Done)
- Bug cannot be reproduced
- Automated test added
- No regression issues
- Code reviewed and approved
---
## 8. Risks
| Risk | Impact | Mitigation |
| ----------- | ------ | ------------------- |
| Regression | High | Add tests |
| Partial fix | Medium | Validate edge cases |
---
## 9. Agent Assignments Summary
| Task | Agent | Skills |
| ---- | ----- | ------ |
| T1 | ... | ... |
| T2 | ... | ... |
| T3 | ... | ... |
| T4 | ... | ... |
| T5 | ... | ... |
> **Note**: Always list all skills required for each task to ensure proper agent assignment.
---
## 10. Progress Tracking
- [ ] T1
- [ ] T2
- [ ] T3
- [ ] T4
- [ ] T5
> Update as tasks complete
documentation
Guidelines and protocols for Technical Leaders to manage and oversee technical projects effectively while adhering to the core mandate of being the central orchestration layer for all engineering work.
data-ai
Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
development
SOLID — Enforces the SOLID principle of object-oriented design (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) for maintainable and scalable code.
development
Separation of Concerns (SoC) — Enforces the Separation of Concerns principle by ensuring each module, layer, and component addresses exactly one well-defined concern. Use when writing, reviewing, or refactoring code that mixes UI with business logic, business logic with data access, presentation with formatting, or cross-cutting concerns (auth, logging, validation) with core logic.