Proactively suggest creating a design document when discussing significant changes, new features, or architectural decisions...
This skill helps identify when a design document should be created and guides the process.
Before triggering, check that the project has been set up with the backlog system.
Look for either:
backlog.org in the project root, ORdocs/design/ directory existsIf neither exists, do NOT proactively trigger this skill. The project hasn't been set up with the backlog system yet. Silently skip - don't suggest setup or explain why the skill isn't running.
Exception: If the user explicitly asks to "create a design doc" or similar, you
may suggest running /backlog:setup first to initialize the system.
Trigger conditions for NEW design doc:
Trigger conditions for CONVERTING existing markdown:
docs/legacy/ or similar.md design documentsProactive offers:
For new doc: "This seems like a significant design decision. Should I create a design doc to capture the motivation, options, and decision? That would help track the rationale and any implementation tasks."
For conversion: "I see there's an existing markdown document for this. Should I convert it to org-mode format? I can extract the tasks, assign IDs, and optionally queue them to the backlog."
Ask:
README.org's * Document Categories table)For new docs: Use /new-design-doc <title> to scaffold, then:
[PROJECT-NNN-XX] IDs** OPENFor conversion: Use /new-design-doc <title> <source.md> to convert, then:
Remind yourself:
#+CATEGORY: to frontmatter (use categories from README.org)** TODO [PROJECT-NNN-XX] Task title (not markdown checkboxes)** OPEN Question / ** DECIDED Question (not plain text):PROPERTIES: for EFFORT, VERSION, DECIDED datedocs/design/000-template.orgAdd the new doc to docs/design/README.org in the appropriate section.
After converting, offer to queue extracted tasks:
/task-queue for each selected task| Section | Good | Bad |
|---|---|---|
| Summary | "Add caching layer to reduce API latency" | "Caching stuff" |
| Motivation | Explains the problem and why it matters | Jumps to solution |
| Design | Shows 2-3 options with tradeoffs | Only shows chosen option |
| Tasks | Specific, actionable, has IDs | Vague, no IDs |
| Markdown | Org-Mode |
|---|---|
## Heading |
* Heading |
- [ ] Task |
** TODO [PROJECT-NNN-XX] Task |
- [x] Task |
** DONE [PROJECT-NNN-XX] Task |
```lang |
#+begin_src lang |
[text](url) |
[[url][text]] |
docs/design/000-template.orgdocs/design/README.orgdocs/design/NNN-*.org