一键导入
discovery-tree
Visualizes tasks as a Discovery Tree using Mermaid diagrams. Use when planning or tracking multi-step work with parent and child task relationships.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Visualizes tasks as a Discovery Tree using Mermaid diagrams. Use when planning or tracking multi-step work with parent and child task relationships.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | discovery-tree |
| description | Visualizes tasks as a Discovery Tree using Mermaid diagrams. Use when planning or tracking multi-step work with parent and child task relationships. |
| license | MIT |
| metadata | {"author":"Jon Reid","version":"1.2"} |
STARTER_CHARACTER = 🌲
Visualize tasks as a Discovery Tree, where subtasks are child nodes.
Open discovery-tree.md.
If it doesn't exist, create it:
references/template-discovery-tree.md, replacing parent-node and Parent Task with parent taskRoot parent-task node is never modified.
Tree is a Mermaid graph. Display to user as ASCII using box-drawing characters. Represent state using emoji.
Show project title in bold. Then show legend line above the tree:
Legend: 🟡 To do 🔶 In progress ✅ Completed 🔴 Blocked 🟣 Punt 🔵 Notes
Then show tree, with no emoji for parent task.
Ask user to review current tree. Any new stories to add?
Find next todo story to work on. Ask user to confirm.
Keep stories ordered left-to-right in diagram.
Keep node names and user story labels in sync.
Mark chosen story as in-progress. Change all parent nodes to in-progress as well, except root parent-task.
When task is done:
completeA side note is a free-floating box not connected to tree. Use it for reminders, open questions, or context that isn't a task. Only add when user requests one.
Trigger phrases (examples):
To list existing side notes (read-only), trigger phrases:
Read each notes-classed node and report its id and label. Do not modify the file.
If trigger phrase does not include note text (e.g. user just says "add a side note" with no content), prompt user: "What should the side note say?" Do not invent content or use a placeholder. Wait for user's response before adding node.
To add a side note:
note-1["Check API rate limits"]notes class: class note-1 notesparent-node ~~~ note-1 (no visible edge is drawn)classDef blockparent-node ~~~ note-1. No subgraph.Do not mix loose anchored notes with row subgraphs — the competing invisible links fight Mermaid's layout. Once a second note is added, move the first into a row subgraph.
Limit each row of side notes to 5; stack additional notes in new rows below.
direction LR and a blank label, e.g. subgraph note-row-1[" "]note-1 ~~~ note-2 ~~~ note-3 ~~~ note-4 ~~~ note-5note-row-1 ~~~ note-row-2style note-row-1 fill:none,stroke:noneendExample (6 notes → row of 5, then row of 1):
subgraph note-row-1[" "]
direction LR
note-1 ~~~ note-2 ~~~ note-3 ~~~ note-4 ~~~ note-5
end
subgraph note-row-2[" "]
direction LR
note-6
end
note-row-1 ~~~ note-row-2
style note-row-1 fill:none,stroke:none
style note-row-2 fill:none,stroke:none
To edit a note, change only the label text in its node declaration (e.g. note-1["New text"]). Leave id and class line unchanged.
To remove a note:
class note-N notes line.~~~ chain so remaining notes stay linked (e.g. removing note-3 from note-2 ~~~ note-3 ~~~ note-4 leaves note-2 ~~~ note-4).style/chaining lines.Test-driven development (TDD) process used when writing code. Use whenever you are adding any new code, unless the programmmer explicitly asks to skip TDD or the code is exploratory/spike.
Standardized process for creating meaningful git commits using Arlo's notation
Refactoring process. Invoke immediately when programmer or document mentions refactoring, or proactively when code gets too complex or messy.
Writes tests without mocks using Nullables. Use when writing tests, especially testing code with external I/O (HTTP, files, databases, clocks, random numbers), designing infrastructure wrappers or replacing mocking libraries.
Bash script style guide. Always use when writing bash scripts, shell scripts, or CLI bash tools.