MD Issue Writer
Overview
This skill enables the creation of concise, one-page technical documents for software issues, features, decisions, and work items. Each document follows a standardized YAML frontmatter and markdown structure, making them discoverable and indexable across the knowledge base.
When to Use Each Document Type
Use this decision tree to select the right template:
| Situation |
Document Type |
Purpose |
| Something broke or isn't working |
Bug Report |
Root cause analysis, prevention, lessons learned |
| Build/ship a new capability |
Feature Plan |
Goals, requirements, implementation approach, risks |
| Need consensus on architectural direction |
RFC |
Proposal, motivation, design, alternatives, Q&A |
| Made a major technical decision |
ADR |
Document the decision, context, and consequences |
| Have specific work to accomplish |
Task |
Objectives, acceptance criteria, checklist |
| Learned something from an incident/project |
Retrospective |
What happened, what went well, lessons, actions |
Workflow
- Choose the document type using the decision tree above or by reviewing the templates in
templates/.
- Gather required metadata: title, description, severity (if applicable), status, author (if applicable).
- Generate the document using the provided script or by copying a template into the new
.issues/ directory (it will be created automatically).
- Fill in the content following the template structure.
- (Optional) Index all documents by running the metadata extraction script to keep the central index current.
Usage
Create a new issue document via script:
python scripts/create_issue.py --type "Bug" --title "Fix login timeout" --description "Users are logged out after 5 minutes" --severity "High"
Or copy a template directly:
cp templates/<type>.md .issues/<date>_<slug>.md
To extract metadata and regenerate the index of all issues:
python scripts/extract_issue_metadata.py
Template Reference
Each issue type has its own reference file in templates/:
- bug-report.md — Incident analysis with root cause, solution, and prevention steps
- feature-plan.md — Feature proposal with goals, requirements, and implementation approach
- rfc.md — RFC proposal with motivation, design, alternatives, and open questions
- adr.md — Architecture decision record for major technical choices
- task.md — Work item with objectives, acceptance criteria, and references
- retrospective.md — Post-incident or post-project learning document
See templates/index.md for a complete overview and quick-reference guide.
Resources
scripts/
create_issue.py — Generate issue documents based on templates
extract_issue_metadata.py — Extract metadata and regenerate the index
templates/
index.md — Quick reference and overview of all template types
bug-report.md, feature-plan.md, rfc.md, adr.md, task.md, retrospective.md — Individual templates
1---2name: issue-md-writer3description: Create and draft markdown-based issue documents (bug reports, feature plans, RFCs, ADRs, tasks, retrospectives) in the top-level `.issues/` folder. Use this skill whenever you need to document software issues, feature proposals, architectural decisions, work items, or post-mortems. Includes templates, metadata indexing, and structured YAML frontmatter. Different from issue tracker systems — this is for archival, decision-making, and knowledge base documents.4---56# MD Issue Writer78## Overview910This skill enables the creation of concise, one-page technical documents for software issues, features, decisions, and work items. Each document follows a standardized YAML frontmatter and markdown structure, making them discoverable and indexable across the knowledge base.1112## When to Use Each Document Type1314Use this decision tree to select the right template:1516| **Situation** | **Document Type** | **Purpose** |17|---|---|---|18| Something broke or isn't working | **Bug Report** | Root cause analysis, prevention, lessons learned |19| Build/ship a new capability | **Feature Plan** | Goals, requirements, implementation approach, risks |20| Need consensus on architectural direction | **RFC** | Proposal, motivation, design, alternatives, Q&A |21| Made a major technical decision | **ADR** | Document the decision, context, and consequences |22| Have specific work to accomplish | **Task** | Objectives, acceptance criteria, checklist |23| Learned something from an incident/project | **Retrospective** | What happened, what went well, lessons, actions |2425## Workflow26271. **Choose the document type** using the decision tree above or by reviewing the templates in `templates/`.282. **Gather required metadata**: title, description, severity (if applicable), status, author (if applicable).293. **Generate the document** using the provided script or by copying a template into the new `.issues/` directory (it will be created automatically).304. **Fill in the content** following the template structure.315. **(Optional) Index all documents** by running the metadata extraction script to keep the central index current.3233## Usage3435Create a new issue document via script:3637```bash38python scripts/create_issue.py --type "Bug" --title "Fix login timeout" --description "Users are logged out after 5 minutes" --severity "High"39```4041Or copy a template directly:4243```bash44cp templates/<type>.md .issues/<date>_<slug>.md45```4647To extract metadata and regenerate the index of all issues:4849```bash50python scripts/extract_issue_metadata.py51```5253## Template Reference5455Each issue type has its own reference file in `templates/`:5657- **bug-report.md** — Incident analysis with root cause, solution, and prevention steps58- **feature-plan.md** — Feature proposal with goals, requirements, and implementation approach59- **rfc.md** — RFC proposal with motivation, design, alternatives, and open questions60- **adr.md** — Architecture decision record for major technical choices61- **task.md** — Work item with objectives, acceptance criteria, and references62- **retrospective.md** — Post-incident or post-project learning document6364See `templates/index.md` for a complete overview and quick-reference guide.6566## Resources6768### scripts/69- `create_issue.py` — Generate issue documents based on templates70- `extract_issue_metadata.py` — Extract metadata and regenerate the index7172### templates/73- `index.md` — Quick reference and overview of all template types74- `bug-report.md`, `feature-plan.md`, `rfc.md`, `adr.md`, `task.md`, `retrospective.md` — Individual templates