@v11g/agents-rock 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,40 +5,102 @@ A Claude Code plugin marketplace.
5
5
  ## Install
6
6
 
7
7
  ```
8
- /plugin marketplace add git@github.com:vukhanhtruong/agents-rock.git
8
+ /plugin marketplace add git@github.com:v11g/agents-rock.git
9
9
  ```
10
10
 
11
- (HTTPS equivalent: `https://github.com/vukhanhtruong/agents-rock.git`)
11
+ (HTTPS equivalent: `https://github.com/v11g/agents-rock.git`)
12
12
 
13
13
  ```
14
- /plugin install solution-architect@agents-rock
14
+ /plugin install <plugin>@agents-rock
15
15
  ```
16
16
 
17
+ Replace `<plugin>` with any plugin from the table below, e.g.
18
+ `/plugin install lmk@agents-rock`.
19
+
17
20
  ### Install via npx (Claude Code + Codex)
18
21
 
19
22
  ```
20
- npx @v11g/agents-rock # interactive picker
21
- npx @v11g/agents-rock -p solution-architect -a codex # install solution-architect for Codex
22
- npx @v11g/agents-rock -p solution-architect -a claude -a codex # both agents
23
- npx @v11g/agents-rock uninstall -p solution-architect # remove for all agents
23
+ npx @v11g/agents-rock # interactive: pick plugins, agents, scope
24
+ npx @v11g/agents-rock -p <plugin> -a claude --project # this project, Claude Code
25
+ npx @v11g/agents-rock -p <plugin> -a codex --global # your home dir, Codex
26
+ npx @v11g/agents-rock -p <plugin> -a claude -a codex -g # both agents, home dir
27
+ npx @v11g/agents-rock uninstall -p <plugin> --project # remove from this project, all agents
28
+ ```
29
+
30
+ `-p <plugin>` installs every skill that plugin ships.
31
+
32
+ Run with no options and you get prompts for plugins, agents, and scope, then a
33
+ summary to confirm before anything is written. Nothing is written until you
34
+ confirm.
35
+
36
+ #### Scope
37
+
38
+ | Flag | Where skills land | Good for |
39
+ | --- | --- | --- |
40
+ | `--project` | the detected project root | skills committed alongside one repo |
41
+ | `--global` / `-g` | your home directory | skills you want in every project |
42
+
43
+ `--project` walks up from the current directory looking for `.git`, then for
44
+ `package.json`, `pyproject.toml`, `go.mod`, or `Cargo.toml`. When the root it
45
+ finds is not the directory you are standing in, it shows you both and asks which
46
+ to use — so running the installer from `packages/web/src` does not quietly
47
+ create a skills directory there. Use `--dir <path>` to name the directory
48
+ yourself and skip detection.
49
+
50
+ `--global` honors `CLAUDE_CONFIG_DIR` and `CODEX_HOME` if you have relocated
51
+ either agent's config.
52
+
53
+ #### Layout
54
+
55
+ Both scopes use the same shape — one canonical copy, symlinked per agent:
56
+
57
+ ```
58
+ project scope user scope
59
+ <root>/.agents/skills/<skill> ~/.agents/skills/<skill> canonical copy
60
+ <root>/.claude/skills/<skill> -> ~/.claude/skills/<skill> symlink
61
+ <root>/.codex/skills/<skill> -> ~/.codex/skills/<skill> symlink
24
62
  ```
25
63
 
26
- Skills are copied to `.agents/skills/<skill>` in your project and symlinked
27
- from `.claude/skills/` (Claude Code) and/or `.codex/skills/` (Codex).
28
- Use `--force` to overwrite collisions.
64
+ Editing the canonical copy updates every agent. On systems that refuse symlinks
65
+ the installer falls back to a junction, then to a plain copy, and warns that
66
+ updates will no longer propagate.
67
+
68
+ #### Other flags
69
+
70
+ | Flag | Effect |
71
+ | --- | --- |
72
+ | `-y`, `--yes` | Skip confirmations; assumes `--project` |
73
+ | `-f`, `--force` | Overwrite or remove collisions |
74
+ | `-h`, `--help` | Full flag list |
75
+
76
+ Flags let the installer run unattended. Without a terminal it never guesses:
77
+ missing `--plugin`, `--agent`, or a scope flag is an error naming the flag,
78
+ rather than a hang.
29
79
 
30
80
  ## Plugins
31
81
 
32
- | Plugin | Description | Version |
33
- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
34
- | `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. | 1.0.0 |
82
+ | Plugin | Description | Version |
83
+ | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
84
+ | `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. | 1.0.0 |
85
+ | `lmk` | Terminal-native visual explainer: explains the current topic with cheap diagrams (flowcharts, sequences, timelines, tables) rendered directly in the terminal via a bundled Mermaid renderer. | 0.1.0 |
86
+
87
+ ## Skills
88
+
89
+ Skills split on one axis — who invokes them. **User-invoked** skills are
90
+ reachable when you type them (e.g. `/new-lead`); their job is to run a flow
91
+ you asked for. **Model-invoked** skills can be invoked by you _or_ reached
92
+ for automatically by the agent when the task fits.
93
+
94
+ **User-invoked**
95
+
96
+ - **[new-lead](./plugins/solution-architect/skills/new-lead/SKILL.md)** (`solution-architect`) — Orchestrator: sets up a lead workspace and launches analyze-requirements → estimate → proposal in order, stopping between each, plus a leads dashboard.
97
+ - **[lmk](./plugins/lmk/skills/lmk/SKILL.md)** (`lmk`) — `/lmk` explains the current topic visually in the terminal; bare `/lmk` recaps the last substantial thing. Also auto-triggers on keywords like "explain this", "show me", or "I'm lost".
98
+
99
+ **Model-invoked**
35
100
 
36
- `solution-architect` ships four skills: `analyze-requirements` (architecture
37
- documentation), `estimate` (interview-driven, AI-aware project estimation
38
- with an interactive what-if page), `proposal` (pre-sales client proposal
39
- rendered as a print-ready page), and `new-lead` (launches all three in order,
40
- stopping between each, plus a leads dashboard).
41
- `-p solution-architect` installs all four.
101
+ - **[analyze-requirements](./plugins/solution-architect/skills/analyze-requirements/SKILL.md)** (`solution-architect`) — Interview-driven architecture documentation with interactive diagrams and provenance-tagged facts; triggers on asks for architecture docs, C4 diagrams, ADRs, or a threat model.
102
+ - **[estimate](./plugins/solution-architect/skills/estimate/SKILL.md)** (`solution-architect`) — Interview-driven, AI-aware project estimation with an interactive what-if page; triggers on asks for an estimate, quote, timeline, or "how long would this take".
103
+ - **[proposal](./plugins/solution-architect/skills/proposal/SKILL.md)** (`solution-architect`) — Pre-sales client proposal rendered as a print-ready page; triggers on asks for a proposal, client pitch, or "something I can send the client".
42
104
 
43
105
  ## Repo conventions
44
106
 
package/package.json CHANGED
@@ -1,13 +1,32 @@
1
1
  {
2
2
  "name": "@v11g/agents-rock",
3
- "version": "1.0.0",
4
- "publishConfig": { "access": "public" },
3
+ "version": "1.0.2",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
5
7
  "description": "Install agents-rock plugin skills for Claude Code and Codex via npx",
6
8
  "type": "module",
7
- "bin": { "agents-rock": "bin/agents-rock.mjs" },
8
- "files": ["bin", "src", "plugins"],
9
- "engines": { "node": ">=18.3" },
10
- "scripts": { "test": "node --test tests/*.test.mjs plugins/*/skills/*/scripts/test/*.test.mjs" },
11
- "repository": { "type": "git", "url": "https://github.com/vukhanhtruong/agents-rock.git" },
12
- "license": "MIT"
9
+ "bin": {
10
+ "agents-rock": "bin/agents-rock.mjs"
11
+ },
12
+ "files": [
13
+ "bin",
14
+ "src",
15
+ "plugins"
16
+ ],
17
+ "engines": {
18
+ "node": ">=18.3"
19
+ },
20
+ "scripts": {
21
+ "test": "node --test tests/*.test.mjs plugins/*/skills/*/scripts/test/*.test.mjs"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/v11g/agents-rock.git"
26
+ },
27
+ "license": "MIT",
28
+ "dependencies": {
29
+ "@clack/prompts": "^1.7.0",
30
+ "picocolors": "^1.1.1"
31
+ }
13
32
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "lmk",
3
+ "description": "Terminal-native visual explainer: explains the current topic with cheap diagrams (flowcharts, sequences, timelines, tables) rendered directly in the terminal via a bundled Mermaid renderer.",
4
+ "version": "0.1.0",
5
+ "author": {
6
+ "name": "Truong Vu",
7
+ "email": "vukhanhtruong@gmail.com"
8
+ }
9
+ }
@@ -0,0 +1,30 @@
1
+ # lmk
2
+
3
+ "Let me know" — explains the current topic visually, right in the terminal.
4
+
5
+ Ask `/lmk` (or just say "explain this", "show me") and the skill picks the
6
+ smallest visual that makes the point: a diff, tree, table, or pseudocode
7
+ drawn inline, or a flowchart / sequence / state / timeline / gantt / kanban
8
+ diagram rendered as unicode box art by a bundled Mermaid renderer
9
+ ([termaid](https://github.com/fasouto/termaid), MIT, vendored as a wheel in
10
+ `scripts/vendor/`). No browser, no HTML — an explanation costs ~100–300
11
+ output tokens instead of the thousands a generated HTML page would.
12
+
13
+ Bare `/lmk` explains the last substantial thing in the conversation — the
14
+ plan just proposed, the change just made.
15
+
16
+ ## Requirements
17
+
18
+ `python3` on PATH. Nothing else — the renderer ships inside the skill.
19
+
20
+ ## Layout
21
+
22
+ ```
23
+ lmk/
24
+ ├── SKILL.md routing table, explore gate, output rules
25
+ ├── references/forms.md per-form examples + verified Mermaid syntax
26
+ ├── evals/evals.json eval prompts + assertions
27
+ └── scripts/
28
+ ├── render.sh stdin Mermaid → terminal diagram
29
+ └── vendor/ termaid wheel + MIT license
30
+ ```
@@ -0,0 +1,87 @@
1
+ ---
2
+ name: lmk
3
+ description: Explain the current topic visually, right in the terminal — cheap diagrams instead of walls of text. Use this whenever the user says "lmk", "explain this", "show me", "visualize", "how does X work", "what's the plan", "I'm confused", asks for a recap of a plan or change, or would clearly understand something faster as a picture than as prose — even if they never say the word "diagram". Covers code, plans, architectures, decisions, and concepts.
4
+ ---
5
+
6
+ # lmk — let me know, visually
7
+
8
+ Explain the current topic with the smallest visual that makes the point
9
+ clear, printed directly in the terminal. No preamble, no HTML, at most ~3
10
+ sentences of prose around the visual. The reader just asked to *see* the
11
+ thing — every extra paragraph defeats the purpose.
12
+
13
+ ## 1. Resolve the topic
14
+
15
+ - An argument or explicit subject was given → that is the topic.
16
+ - Bare invocation mid-conversation → the last substantial thing discussed:
17
+ a plan just proposed, a change just made, a concept being untangled.
18
+ This is the most common case — someone read a wall of text and wants to
19
+ see it.
20
+ - Bare invocation with nothing to point at → ask in one line what to explain.
21
+
22
+ ## 2. Gate: do you actually know the facts?
23
+
24
+ - The facts are already in the conversation (you just planned it, wrote it,
25
+ or discussed it) → draw now. Zero extra reads.
26
+ - Cold topic ("explain the auth flow" with nothing in context) → gather the
27
+ minimum facts first. A direction the user named wins; otherwise start from
28
+ entry points and recent-change hot spots (`git log --oneline`). Collect
29
+ only what the visual needs: node names, edges, order. This is not an
30
+ audit.
31
+ - Never draw a box you haven't verified exists. A confident diagram of
32
+ made-up components is worse than no diagram, because the reader trusts it.
33
+
34
+ ## 3. Route by topic shape
35
+
36
+ Pick the row that matches the *shape* of the topic, not its domain — code,
37
+ plans, and concepts all use the same table.
38
+
39
+ | Topic shape | Form | How |
40
+ |---|---|---|
41
+ | change, refactor, before/after | diff block | markdown |
42
+ | hierarchy, file layout | tree | markdown |
43
+ | comparison, decision, options | table | markdown |
44
+ | logic, algorithm | pseudocode | markdown |
45
+ | plan steps ("what I'll do") | numbered steps + verify per step | markdown |
46
+ | scope breakdown (epic → tasks) | tree; mindmap only if deep | markdown / render.sh |
47
+ | linear/shallow call chain | indented call tree | markdown |
48
+ | UI/component structure | indented component tree | markdown |
49
+ | branching flow, pipeline | flowchart | render.sh |
50
+ | interaction between parts | sequence diagram | render.sh |
51
+ | states, lifecycle | state diagram | render.sh |
52
+ | dependencies, ordering | flowchart | render.sh |
53
+ | phases, timeline, milestones | timeline (or gantt if dated) | render.sh |
54
+ | work status | kanban | render.sh |
55
+
56
+ Choose the smallest form that lands the point. One form is the norm, two is
57
+ the ceiling (e.g. a flowchart plus a tradeoff table). More than that
58
+ overwhelms instead of explaining.
59
+
60
+ Before writing any form, read its section in `references/forms.md` — it has
61
+ a good/bad example per form and the Mermaid syntax verified to work with the
62
+ renderer.
63
+
64
+ ## 4. Render
65
+
66
+ Markdown forms: write them inline, fenced.
67
+
68
+ Mermaid forms: write compact Mermaid source (keep labels short — the
69
+ renderer draws the boxes, you only name them), then pipe it through the
70
+ bundled renderer and paste the output as a fenced block:
71
+
72
+ ```bash
73
+ echo '<mermaid source>' | <skill-path>/scripts/render.sh
74
+ ```
75
+
76
+ `render.sh` needs only `python3`; the renderer itself ships inside this
77
+ skill. Pass `--width N` if the diagram should fit a narrower terminal.
78
+
79
+ If render.sh exits non-zero (no python3, unsupported syntax), simplify the
80
+ source and retry once; if it still fails, hand-draw a *small* ASCII sketch
81
+ instead — never a sprawling one.
82
+
83
+ ## 5. Out of scope
84
+
85
+ If the user explicitly asks for an HTML file, a browser page, or a slide
86
+ deck, this skill does not apply — that request wants a different (more
87
+ expensive) medium. Say so in one line and proceed without this skill.
@@ -0,0 +1,60 @@
1
+ {
2
+ "skill_name": "lmk",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "name": "cold-code-topic",
7
+ "prompt": "lmk how the npx installer in this repo decides where to copy skills and what gets symlinked",
8
+ "expected_output": "A terminal flowchart (or sequence diagram) of the installer flow whose nodes name real files/paths from src/, with at most ~3 sentences of prose. No HTML file created.",
9
+ "files": [],
10
+ "assertions": [
11
+ "contains-terminal-visual: output includes a rendered diagram (unicode box-drawing characters) or a fenced tree/diff block",
12
+ "no-html-file: no .html file exists in the outputs directory and none was created in the repo",
13
+ "real-nodes-only: every file or component named in the visual exists in the repo (src/ installer code) - no invented components",
14
+ "concise-prose: prose outside fenced/visual blocks is at most 4 sentences"
15
+ ]
16
+ },
17
+ {
18
+ "id": 1,
19
+ "name": "confusing-plan",
20
+ "prompt": "Here's the migration plan our team wrote:\n\n1. Add new `orders_v2` table\n2. Add dual-write to orders_v2 behind flag `DUAL_WRITE`\n3. Enable DUAL_WRITE in staging\n4. Backfill historical rows into orders_v2 (script `backfill.py`)\n5. Verify row counts match\n6. Enable DUAL_WRITE in prod\n7. Re-run backfill for the gap window\n8. Verify again\n9. Switch reads to orders_v2 behind flag `READ_V2`\n10. Enable READ_V2 for 5% of traffic\n11. Watch error rates for 48h\n12. Ramp READ_V2 to 100%\n13. Stop dual-write\n14. Archive old orders table\n15. Delete DUAL_WRITE and READ_V2 flags\n\nthis is confusing, show me what's happening visually - the phases and what depends on what",
21
+ "expected_output": "A phase-structured visual (timeline, flowchart, or gantt) grouping the 15 steps into phases and showing dependencies, rendered in the terminal. No HTML.",
22
+ "files": [],
23
+ "assertions": [
24
+ "contains-terminal-visual: output includes a rendered diagram (unicode box-drawing characters) or timeline/gantt/flowchart output",
25
+ "phases-grouped: the visual groups the 15 steps into 2+ named phases rather than listing them flat",
26
+ "dependencies-shown: the visual expresses ordering/dependency structure (arrows, sequential phases, or 'after' links)",
27
+ "no-html-file: no .html file exists in the outputs directory",
28
+ "concise-prose: prose outside fenced/visual blocks is at most 4 sentences"
29
+ ]
30
+ },
31
+ {
32
+ "id": 2,
33
+ "name": "decision-tradeoffs",
34
+ "prompt": "we're torn between Redis and Postgres LISTEN/NOTIFY for our job queue - explain the tradeoffs so I can decide fast",
35
+ "expected_output": "A compact comparison table (not a diagram) with a one-line recommendation. No HTML.",
36
+ "files": [],
37
+ "assertions": [
38
+ "comparison-table: output contains a markdown table comparing Redis vs Postgres LISTEN/NOTIFY",
39
+ "routed-to-table-not-diagram: output does NOT contain a box-drawing flowchart/sequence diagram (a table is the right form for a decision)",
40
+ "recommendation-present: output ends with or includes a clear one-line recommendation or decision rule",
41
+ "no-html-file: no .html file exists in the outputs directory",
42
+ "concise-prose: prose outside the table is at most 4 sentences"
43
+ ]
44
+ },
45
+ {
46
+ "id": 3,
47
+ "name": "bare-lmk-after-change",
48
+ "prompt": "Conversation context: assistant just refactored saveDocument() to add content-hash caching (early return on unchanged content, cache invalidation moved after write, new hashContent helper). User replies bare: 'lmk'",
49
+ "expected_output": "A diff block or before/after pseudocode showing the three-part change to saveDocument(), resolved from conversation context without asking what to explain. No HTML.",
50
+ "files": [],
51
+ "assertions": [
52
+ "resolved-bare-topic: the answer explains the just-made change (topic resolved from conversation), not something else and not a question back",
53
+ "diff-or-pseudocode-form: the visual is a diff block or before/after pseudocode - the right form for a change - not a flowchart/table",
54
+ "change-accurate: the visual reflects all three parts of the change (early return, moved invalidation, new helper)",
55
+ "no-html-file: no .html file exists in the outputs directory",
56
+ "concise-prose: prose outside the visual is at most 4 sentences"
57
+ ]
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,229 @@
1
+ # Forms reference
2
+
3
+ Read only the section for the form you chose.
4
+
5
+ Contents: [diff](#diff) · [tree](#tree) · [call tree](#call-tree) ·
6
+ [component tree](#component-tree) · [table](#table) ·
7
+ [pseudocode](#pseudocode) · [plan steps](#plan-steps) ·
8
+ [flowchart](#flowchart) · [sequence](#sequence) · [state](#state) ·
9
+ [timeline](#timeline) · [gantt](#gantt) · [kanban](#kanban) ·
10
+ [mindmap](#mindmap) · [renderer notes](#renderer-notes)
11
+
12
+ ## diff
13
+
14
+ Show *what changes* against a shape the reader already knows. Works for
15
+ call trees, file layouts, and logic — not just code.
16
+
17
+ Good (the point is the two added steps):
18
+
19
+ ```diff
20
+ submitForm
21
+ createSession
22
+ persistPrompt
23
+ + expandSkillMention
24
+ launchAgent
25
+ + subscribeToEvents
26
+ ```
27
+
28
+ Bad: pasting the full new function when only two lines changed — the reader
29
+ has to diff it mentally, which is the job you were supposed to do.
30
+
31
+ ## tree
32
+
33
+ Hierarchies and file responsibility. Annotate nodes with a short purpose
34
+ when names alone don't carry it.
35
+
36
+ ```text
37
+ src/
38
+ ├── commands/ # parses user actions
39
+ ├── sessions/ # owns session state
40
+ └── transport/ # sends API requests
41
+ ```
42
+
43
+ Keep it shallow — two or three levels. Depth past what the reader asked
44
+ about is noise.
45
+
46
+ ## call tree
47
+
48
+ Runtime control flow when the chain is linear or shallow — indentation is
49
+ the whole diagram, no renderer needed:
50
+
51
+ ```text
52
+ submitForm
53
+ createSession
54
+ persistPrompt
55
+ launchAgent
56
+ navigateToSession
57
+ ```
58
+
59
+ Bad: using this for a flow with branches, retries, or cycles — indentation
60
+ can't show a merge or a loop. That shape goes to the flowchart form
61
+ instead.
62
+
63
+ ## component tree
64
+
65
+ UI structure, with the state hooks and module boundaries that matter:
66
+
67
+ ```text
68
+ <SessionPage> (routes/session.tsx)
69
+ useSessionEvents()
70
+ <SessionToolbar>
71
+ <RunSkillButton> (packages/ui)
72
+ ```
73
+
74
+ Include only the components, props, and hooks needed for the current
75
+ question — a full render tree is noise.
76
+
77
+ ## table
78
+
79
+ Comparisons and decisions. Two to four columns; explanation lives in a
80
+ sentence after the table, not crammed into cells.
81
+
82
+ ```text
83
+ | | Redis queue | Postgres LISTEN/NOTIFY |
84
+ |---|---|---|
85
+ | extra infra | yes | no |
86
+ | delivery | at-least-once | best-effort |
87
+ | throughput | high | moderate |
88
+ ```
89
+
90
+ End a decision table with the one-line "so what": which row should drive
91
+ the choice.
92
+
93
+ ## pseudocode
94
+
95
+ Logic and algorithms, stripped to control flow:
96
+
97
+ ```text
98
+ on(save)
99
+ if content unchanged
100
+ return cached result
101
+ write new content
102
+ invalidate cache
103
+ ```
104
+
105
+ ## plan steps
106
+
107
+ What you're about to do, each step with its own check:
108
+
109
+ ```text
110
+ 1. Add failing test for expiry bug → verify: test fails
111
+ 2. Fix comparison in checkToken() → verify: test passes
112
+ 3. Run full suite → verify: all green
113
+ ```
114
+
115
+ ## flowchart
116
+
117
+ Flows, pipelines, call chains, dependencies. `graph TD` for branching,
118
+ `graph LR` for short linear flows (≤5 nodes).
119
+
120
+ ```text
121
+ graph TD
122
+ A[cli.js] --> B{.agents exists?}
123
+ B -->|yes| C[copy skill]
124
+ B -->|no| D[create dir]
125
+ D --> C
126
+ ```
127
+
128
+ Verified: node shapes `[]` `{}` `()` `([])`, edge labels `-->|label|`,
129
+ `subgraph name ... end`. Keep labels 1–4 words — every character widens
130
+ the box.
131
+
132
+ ## sequence
133
+
134
+ Interactions between components over time:
135
+
136
+ ```text
137
+ sequenceDiagram
138
+ participant User
139
+ participant CLI
140
+ participant FS
141
+ User->>CLI: install -p lmk
142
+ CLI->>FS: copy skills
143
+ FS-->>CLI: done
144
+ ```
145
+
146
+ Verified: `->>` solid, `-->>` dashed reply. 3–4 participants max — more
147
+ gets wider than a terminal.
148
+
149
+ ## state
150
+
151
+ Lifecycles and status machines:
152
+
153
+ ```text
154
+ stateDiagram-v2
155
+ [*] --> Pending
156
+ Pending --> Running: start
157
+ Running --> Done: success
158
+ Running --> Failed: error
159
+ Failed --> Pending: retry
160
+ ```
161
+
162
+ Verified: `[*]` initial state, `: label` on transitions.
163
+
164
+ ## timeline
165
+
166
+ Phases without dates:
167
+
168
+ ```text
169
+ timeline
170
+ title Migration
171
+ Phase 1 : Schema copy
172
+ Phase 2 : Backfill
173
+ Phase 3 : Cutover
174
+ ```
175
+
176
+ One event per `:` reads best; multiple events on one line render joined.
177
+
178
+ ## gantt
179
+
180
+ Phases *with* dates or durations:
181
+
182
+ ```text
183
+ gantt
184
+ title Plan
185
+ section Phase 1
186
+ Schema copy :a1, 2026-08-01, 3d
187
+ Dual write :after a1, 2d
188
+ ```
189
+
190
+ Verified: sections, `after` dependencies, day durations.
191
+
192
+ ## kanban
193
+
194
+ Work status at a glance:
195
+
196
+ ```text
197
+ kanban
198
+ todo[Todo]
199
+ t1[Write spec]
200
+ doing[Doing]
201
+ t2[Vendor termaid]
202
+ done[Done]
203
+ t3[Branch created]
204
+ ```
205
+
206
+ ## mindmap
207
+
208
+ Scope breakdowns too deep for a flat tree. Renders compactly:
209
+
210
+ ```text
211
+ mindmap
212
+ root((project))
213
+ Forms
214
+ diff
215
+ tree
216
+ Render
217
+ termaid
218
+ ```
219
+
220
+ Prefer a plain markdown tree unless breadth is the point.
221
+
222
+ ## renderer notes
223
+
224
+ - Renderer: vendored termaid wheel, invoked via `scripts/render.sh`,
225
+ stdin → stdout. Needs only `python3`.
226
+ - `--width N` fits narrower terminals; long labels wrap inside boxes.
227
+ - ER diagrams (`erDiagram`) also render, for schema questions.
228
+ - On parse errors the exit code is non-zero: simplify (shorter labels,
229
+ fewer nodes), retry once, then fall back to a small hand-drawn sketch.
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env bash
2
+ # Render Mermaid source (stdin) as a terminal diagram via the vendored
3
+ # termaid wheel. Wheels are zip-importable, so no install step is needed.
4
+ # Exits non-zero if python3 is missing or the source fails to parse;
5
+ # callers fall back to hand-drawn ASCII in that case.
6
+ set -euo pipefail
7
+
8
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
9
+ WHEEL="$(ls "$SCRIPT_DIR"/vendor/termaid-*.whl | head -1)"
10
+
11
+ command -v python3 >/dev/null || { echo "render.sh: python3 not found" >&2; exit 1; }
12
+
13
+ PYTHONPATH="$WHEEL" exec python3 -m termaid "$@"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Fabio Souto
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -49,7 +49,7 @@ upfront and stops before writing anything if it's missing.
49
49
  ## Install
50
50
 
51
51
  ```
52
- /plugin marketplace add vukhanhtruong/agents-rock
52
+ /plugin marketplace add v11g/agents-rock
53
53
  /plugin install analyze-requirements@agents-rock
54
54
  ```
55
55