一键导入
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 职业分类
Full AppleScript development aid. Use when the user wants to create, edit, run, debug, compile, or test AppleScript scripts, including GUI automation via System Events. Scaffolds files with proper headers, follows AppleScript best practices, compiles and runs scripts, and assists with debugging.
Ensure source files include a consistent metadata header comment using the correct comment syntax for the language. Use when creating new source files or when the user asks to add, fix, or update file headers. Handles Created/Modified timestamps, copyright years, and language-appropriate comment syntax.
Full Bash development aid. Use when the user wants to create, edit, run, debug, or test Bash shell scripts. Scaffolds files with proper headers, follows Bash best practices, executes scripts, and assists with debugging.
Full C++ development aid with emphasis on memory safety and cross-platform programming. Use when the user wants to create, edit, build, run, debug, or test C++ source files, headers, or CMake projects. Scaffolds files with proper headers, enforces modern C++ best practices, memory-safe idioms, cross-platform CMake builds, and assists with debugging and testing.
Generate Git commit messages following project conventions. Use when the user wants to commit changes or asks for a commit message. Analyzes staged/unstaged changes and produces properly formatted commit messages with tags, Title Case summaries, and prose bodies.
Full Perl development aid. Use when the user wants to create, edit, run, debug, or test Perl scripts and modules. Scaffolds files with proper headers, follows Perl best practices, executes scripts, and assists with debugging.
| 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.