@infinitedusky/indusk-mcp 1.5.2 → 1.5.3

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.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "excalidraw",
3
+ "description": "Hand-drawn diagrams via Excalidraw MCP — conceptual sketches, architecture visuals, debug illustrations",
4
+ "provides": {
5
+ "skill": true
6
+ },
7
+ "mcp_server": {
8
+ "type": "http",
9
+ "url": "https://mcp.excalidraw.com",
10
+ "setup_instructions": [
11
+ "claude mcp add -t http -- excalidraw https://mcp.excalidraw.com"
12
+ ]
13
+ }
14
+ }
@@ -0,0 +1,55 @@
1
+ # Excalidraw — Hand-Drawn Diagrams
2
+
3
+ Excalidraw creates hand-drawn style diagrams directly in chat. Use it for quick visual communication — architecture sketches, debug illustrations, conceptual overviews.
4
+
5
+ ## When to Use Excalidraw vs Mermaid
6
+
7
+ | Need | Tool | Why |
8
+ |------|------|-----|
9
+ | Architecture overview for a brief or ADR | **Excalidraw** | Conceptual, hand-drawn feel |
10
+ | Sequence diagram in VitePress docs | **Mermaid** | Text-based, diffs in git, renders natively |
11
+ | Quick sketch during debugging | **Excalidraw** | Fast, visual, natural language |
12
+ | Flowchart in a docs page | **Mermaid** | Version-controlled, embedded in markdown |
13
+ | Conceptual diagram during teach mode | **Excalidraw** | Approachable, not overly formal |
14
+ | Class/entity relationship for reference docs | **Mermaid** | Precise, structured, text-diffable |
15
+
16
+ **Rule of thumb:** If it goes in the docs site, use Mermaid. If it's for in-session communication, use Excalidraw.
17
+
18
+ ## How to Describe Diagrams
19
+
20
+ Be specific about components, connections, and layout. The more concrete the description, the better the result.
21
+
22
+ **Good descriptions:**
23
+ - "Draw an architecture diagram showing game-server connected to postgres and redis, with poker-app and dealer-app connecting to game-server via WebSocket, and admin-app connecting via HTTP REST"
24
+ - "Sketch the data flow: user action → WebSocket → game-server → advanceHand → broadcast state → all connected clients"
25
+ - "Draw a box diagram showing the three layers: Next.js apps on top, game-server in the middle, database + redis at the bottom, with arrows showing the communication patterns"
26
+
27
+ **Bad descriptions:**
28
+ - "Draw the architecture" (too vague)
29
+ - "Make a diagram" (no context)
30
+ - "Show how it works" (which part?)
31
+
32
+ ## Setup
33
+
34
+ The Excalidraw MCP server is a **remote hosted service** — no npm package, no install, no auth.
35
+
36
+ ```bash
37
+ claude mcp add -t http -- excalidraw https://mcp.excalidraw.com
38
+ ```
39
+
40
+ That's it. No tokens, no config files, no environment variables.
41
+
42
+ ## When to Create Diagrams
43
+
44
+ - **During `/plan` research or brief**: sketch the proposed architecture to make it concrete
45
+ - **During `/work` teach mode**: visualize what a phase is building before and after
46
+ - **During debugging**: draw the request flow to identify where things break
47
+ - **During retrospective**: before/after architecture comparison
48
+ - **When the user asks**: "draw this", "sketch that", "visualize the flow"
49
+
50
+ ## Limitations
51
+
52
+ - Diagrams are in-session only — they don't persist to files automatically
53
+ - No version control (unlike Mermaid text)
54
+ - Depends on remote server availability
55
+ - Quality depends on description specificity
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitedusky/indusk-mcp",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [
@@ -108,10 +108,26 @@ The changelog lives at `changelog.md` in the docs site. It uses [Keep a Changelo
108
108
 
109
109
  The `decisions/` and `lessons/` directories are **not** populated during normal impl work. They are populated during the retrospective/archival process by the retrospective skill. Don't write to them during `/work`.
110
110
 
111
- ## Mermaid Diagrams
111
+ ## Diagrams
112
112
 
113
113
  **Prefer diagrams over long prose for architecture, flows, and relationships.** A well-labeled diagram communicates structure faster than paragraphs of text.
114
114
 
115
+ ### Mermaid vs Excalidraw
116
+
117
+ Two diagram tools are available. Use the right one for the context:
118
+
119
+ | Need | Tool | Why |
120
+ |------|------|-----|
121
+ | Formal diagram in the docs site | **Mermaid** | Text-based, diffs in git, renders natively in VitePress |
122
+ | Conceptual sketch during a session | **Excalidraw** | Hand-drawn style, natural language input, fast |
123
+ | Sequence/flowchart for reference docs | **Mermaid** | Structured, precise, version-controlled |
124
+ | Architecture overview for a brief or ADR | **Excalidraw** | Approachable, whiteboard feel |
125
+ | Debug illustration | **Excalidraw** | Quick visual communication |
126
+
127
+ **Rule of thumb:** If it goes in the docs site, use Mermaid. If it's for in-session communication, use Excalidraw. If the Excalidraw extension isn't enabled, use Mermaid for everything.
128
+
129
+ ## Mermaid Diagrams
130
+
115
131
  ### When to Use Which Diagram Type
116
132
 
117
133
  | Scenario | Diagram Type | Example |
package/skills/plan.md CHANGED
@@ -72,7 +72,7 @@ Workflow templates are in `templates/workflows/` in the package. They describe w
72
72
  For feature/spike workflows that need new research: Explore the problem space — read code, search the web, check Context7 for library docs. **Query the code graph before scoping** (see toolbelt "Before Modifying Code") — include structural findings in research.md with concrete numbers.
73
73
  Document what you find. The research doc records findings and analysis, but saves the recommendation for the brief.
74
74
 
75
- 4. **If research is done**, write the brief. This is where a direction emerges from the research. The brief proposes what we're building and why, informed by what the research uncovered. **Present the brief and have a conversation about it.** Don't just ask "does this look good?" — walk the user through it: "Here's what I'm proposing we build. Does this match what you had in mind? Is there anything missing, or anything here you don't want?" Iterate until the user is genuinely happy with the direction, then mark it as `accepted`.
75
+ 4. **If research is done**, write the brief. This is where a direction emerges from the research. The brief proposes what we're building and why, informed by what the research uncovered. **Consider creating a visual sketch** of the proposed architecture with Excalidraw (if the extension is enabled) — a hand-drawn diagram makes the proposal concrete and easier to discuss. **Present the brief and have a conversation about it.** Don't just ask "does this look good?" — walk the user through it: "Here's what I'm proposing we build. Does this match what you had in mind? Is there anything missing, or anything here you don't want?" Iterate until the user is genuinely happy with the direction, then mark it as `accepted`.
76
76
 
77
77
  5. **If brief is accepted** and the workflow includes an ADR (feature only), write the ADR. The ADR formalizes the decisions that were discussed during research and led to the brief. It records what was chosen, what was rejected, and why. **After the ADR is accepted**, add a one-liner to CLAUDE.md's Key Decisions section per the context skill: `- {decision summary} — see planning/{plan}/adr.md`
78
78