issue.md
301 lines · skills/markdown-mermaid-writing/templates/issue.md at 5f2bc03
<!-- Source: https://github.com/SuperiorByteWorks-LLC/agent-project | License: Apache-2.0 | Author: Clayton Young / Superior Byte Works, LLC (Boreal Bytes) -->
Issue Documentation Template
Back to Markdown Style Guide — Read the style guide first for formatting, citation, and emoji rules.
Use this template for: Documenting bugs, feature requests, improvement proposals, incidents, or any trackable work item as a persistent markdown record. It can document the full lifecycle from report through investigation, resolution, and lessons learned — in a format that's searchable, portable, and part of your codebase.
Key features: Classification with severity/priority, customer impact quantification, reproduction steps with expected vs actual, investigation log, resolution with root cause, acceptance criteria for feature requests, and SLA tracking.
Project convention: Use this optional file-based record only when the project requests it. Preserve the established tracker/PR workflow, link the live record, and replace all example paths. Editing this Markdown file does not update a hosted issue, PR, or board.
Raw lines 1 to 16
File Convention
docs/project/issues/issue-00000456-fix-session-timeout-race.md
docs/project/issues/issue-00000457-add-csv-export-filtering.md
docs/project/issues/issue-00000458-improve-onboarding-copy.md- Directory:
docs/project/issues/ - Naming:
issue-+ issue number zero-padded to 8 digits +-+ short lowercase hyphenated description - Cross-reference: Link to the live issue tracker in the metadata table
Raw lines 17 to 30
Template Variants
This template has two variants — use the section that matches your issue type:
- Bug report — Something is broken, behaving unexpectedly, or crashing
- Feature request — Something new that should exist
Raw lines 31 to 39
Bug Report Template
Issue-[NUMBER]: [Short Description of the Bug]
| Field | Value |
|---|---|
| Issue | #NUMBER (add tracker URL if your project uses one) |
| Type | 🐛 Bug |
| Severity | 🟢 Low / 🟡 Medium / 🔴 High / 💀 Critical |
| Priority | P0 / P1 / P2 / P3 |
| Reporter | [Name] |
| Assignee | [Name or Unassigned] |
| Date reported | [YYYY-MM-DD] |
| Status | [Open / In progress / Resolved / Closed / Won't fix] |
| Users affected | [Count or segment — e.g., "~2,000 free-tier users" / "All API consumers"] |
| Revenue impact | [None / Indirect / Direct — $N/day or N% of transactions] |
| Resolved in | PR-#NUMBER (replace with the project link) or N/A |
| Time to resolution | [N hours / N days — from report to fix deployed] |
Raw lines 40 to 62
📋 Summary
[One paragraph: What's broken, who's affected, and how severe the impact is. Be specific — "Users can't log in" not "auth is broken."]
Raw lines 63 to 66Customer impact
| Dimension | Assessment |
|---|---|
| Who's affected | [User segment, account type, region — be specific] |
| How many | [Count, percentage, or estimate — e.g., "~500 enterprise accounts"] |
| Business impact | [Revenue, SLA violation, churn risk, reputational — quantify if possible] |
| Workaround exists | [Yes — describe briefly / No] |
Raw lines 67 to 77
🔄 Reproduction Steps
Raw lines 78 to 79Environment
| Detail | Value |
|---|---|
| Version / commit | [App version, commit SHA, or deploy tag] |
| Environment | [Production / Staging / Local] |
| OS / Browser | [e.g., macOS 15.2, Chrome 122] |
| Account type | [Admin / Standard / Free tier — if relevant] |
Steps to reproduce
- [Exact step 1 — be precise: "Navigate to /settings/profile"]
- [Exact step 2 — "Click the 'Save' button"]
- [Exact step 3 — "Observe the error"]
Reproducibility: [Always / Intermittent (~N% of attempts) / Once]
Raw lines 89 to 96Actual behavior
[What actually happens. Include the exact error message, screenshot, or log output.]
[Paste exact error message or log output here]Screenshot placeholder: docs/project/issues/images/issue-NUMBER-screenshot.png
Workaround
[If users can work around this bug, describe how. If no workaround exists, state "None known." This helps support teams while the fix is in progress.]
Raw lines 111 to 116
🔍 Investigation
Raw lines 117 to 118Root cause
[What's actually causing the bug. Fill this in during investigation, not at report time.]
[If the root cause involves a data flow or logic issue, diagram it:]
flowchart TB
accTitle: Bug Root Cause Flow
accDescr: Diagram showing where the failure occurs in the normal processing path
input[📥 Input] --> process[⚙️ Process]
process --> check{🔍 Validation}
check -->|Pass| success[✅ Expected]
check -->|Fail| bug[❌ Bug occurs here]
classDef bugstyle fill:#fee2e2,stroke:#dc2626,stroke-width:2px,color:#7f1d1d
class bug bugstyleRaw lines 119 to 138Investigation log
| Date | Who | Finding |
|---|---|---|
| [Date] | [Name] | [What was discovered] |
| [Date] | [Name] | [Next finding] |
<details> <summary><strong>🔧 Technical Details</strong></summary>
[Stack traces, debug logs, database queries, config diffs — anything that supports the investigation but is too verbose for the main document.]
</details>
Raw lines 139 to 154
✅ Resolution
Raw lines 155 to 156Fix description
[What was changed to fix the bug. Link to the PR.]
Fixed in: PR-#NUMBER (replace with the project link)
Raw lines 157 to 162Verification
- [ ] Fix verified in [environment]
- [ ] Regression test added
- [ ] No side effects observed
- [ ] Reporter confirmed fix
Lessons learned
[What should change to prevent this class of bug? New test? Better validation? Monitoring alert? Process change?]
Raw lines 170 to 175
🔗 References
- Related issues (replace with the project link)
- Relevant documentation
- Monitoring dashboard or alert
Last updated: [Date]
Raw lines 176 to 189
Feature Request Template
Issue-[NUMBER]: [Feature Title — What Should Exist]
| Field | Value |
|---|---|
| Issue | #NUMBER (add tracker URL if your project uses one) |
| Type | ✨ Feature request |
| Priority | P0 / P1 / P2 / P3 |
| Requester | [Name or Team] |
| Assignee | [Name or Unassigned] |
| Date requested | [YYYY-MM-DD] |
| Status | [Proposed / Accepted / In progress / Shipped / Declined] |
| Target release | [Version, sprint, or quarter] |
| Shipped in | PR-#NUMBER (replace with the project link) or N/A |
Raw lines 190 to 209
📋 Summary
Raw lines 210 to 211Problem statement
[What user problem or business need does this feature address? Who experiences this problem and how often? Include metrics if available.]
Raw lines 212 to 215Proposed solution
[High-level description of what you want built. Focus on the what and why, not the how — leave implementation details to the builder.]
Raw lines 216 to 219🎯 Acceptance Criteria
The feature is complete when:
- [ ] [Specific, testable criterion — "User can export data as CSV from the dashboard"]
- [ ] [Another criterion — "Export includes all filtered results, not just the current page"]
- [ ] [Another criterion — "Download starts within 3 seconds for datasets under 10K rows"]
- [ ] [Non-functional — "Works on mobile viewport (375px+)"]
- [ ] [Documentation — "API endpoint documented in project docs"]
Raw lines 226 to 237
📐 Design
Raw lines 238 to 239User flow
flowchart TB
accTitle: Feature User Flow
accDescr: Step-by-step flow showing how a user interacts with the proposed feature
start([👤 User action]) --> step1[⚙️ System response]
step1 --> check{🔍 Condition?}
check -->|Yes| success[✅ Success path]
check -->|No| alt[🔄 Alternative path]
alt --> step1
success --> done([📤 Result delivered])Raw lines 240 to 254Mockup / wireframe
[If visual, include a mockup or screenshot of the expected UI. If not visual, describe the expected behavior in detail.]
Raw lines 255 to 258Technical considerations
- [Consideration 1]: [Impact on existing architecture, data model, or APIs]
- [Consideration 2]: [Performance, scalability, or security implications]
- [Consideration 3]: [Dependencies on other features, services, or teams]
<details> <summary><strong>📋 Implementation Notes</strong></summary>
[Deeper technical context for the implementer — suggested approach, relevant code paths, database schema changes, API contract, migration strategy. This saves the builder from discovery time.]
</details>
Raw lines 259 to 273
📊 Impact
| Dimension | Assessment |
|---|---|
| Users affected | [How many users / what segment] |
| Revenue impact | [Direct, indirect, or none] |
| Effort estimate | [T-shirt size: S / M / L / XL] |
| Dependencies | [Other features, teams, or services needed] |
Success metrics
[How will you know this feature is successful after shipping? Be specific and measurable.]
- [Metric 1]: [Current baseline] → [Target] within [timeframe]
- [Metric 2]: [Current baseline] → [Target] within [timeframe]
Raw lines 283 to 291
🔗 References
- User feedback or support tickets
- Competitive analysis
- Related feature requests (replace with the project link)
- Design document or ADR (replace with the project link)
Last updated: [Date]
Raw lines 292 to 301