planmode 0.2.0 → 0.2.1
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 +43 -0
- package/dist/index.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/mcp.ts +1 -1
package/README.md
CHANGED
|
@@ -30,6 +30,22 @@ planmode run rest-api-generator --resource users --framework express
|
|
|
30
30
|
planmode list
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
## Use with Claude Code (MCP)
|
|
34
|
+
|
|
35
|
+
Planmode includes an MCP server that lets Claude Code search, install, preview, and manage packages directly from your conversations.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# One-time setup
|
|
39
|
+
planmode mcp setup
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Once registered, Claude has access to 17 tools including `planmode_search`, `planmode_install`, `planmode_preview`, `planmode_read`, `planmode_doctor`, and more. Installed packages are also exposed as MCP resources that Claude can browse automatically.
|
|
43
|
+
|
|
44
|
+
Ask Claude things like:
|
|
45
|
+
- "Search planmode for a Next.js starter plan"
|
|
46
|
+
- "Preview the typescript-strict rule before installing"
|
|
47
|
+
- "Run a health check on my planmode packages"
|
|
48
|
+
|
|
33
49
|
## Package types
|
|
34
50
|
|
|
35
51
|
| Type | What it is | Where it lives | Lifecycle |
|
|
@@ -52,6 +68,33 @@ planmode list
|
|
|
52
68
|
| `planmode init` | Create a new package |
|
|
53
69
|
| `planmode publish` | Publish to the registry |
|
|
54
70
|
| `planmode login` | Configure GitHub auth |
|
|
71
|
+
| `planmode mcp setup\|remove` | Register/remove MCP server with Claude Code |
|
|
72
|
+
| `planmode doctor` | Check project health and file integrity |
|
|
73
|
+
| `planmode test` | Validate a package before publishing |
|
|
74
|
+
| `planmode record start\|stop` | Generate a plan from git commits |
|
|
75
|
+
| `planmode snapshot` | Generate a plan from existing project setup |
|
|
76
|
+
|
|
77
|
+
## Create plans from your work
|
|
78
|
+
|
|
79
|
+
### Record mode
|
|
80
|
+
|
|
81
|
+
Start a recording, work normally, then generate a plan from your commits:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
planmode record start
|
|
85
|
+
# ... do your work, make commits ...
|
|
86
|
+
planmode record stop --name my-setup-plan --author myusername
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Snapshot mode
|
|
90
|
+
|
|
91
|
+
Analyze an existing project and generate a plan that recreates the setup:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
planmode snapshot --name nextjs-prisma-setup --author myusername
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
This reads `package.json`, detects config files (TypeScript, ESLint, Tailwind, Prisma, Docker, etc.), captures the directory structure, and creates a step-by-step plan.
|
|
55
98
|
|
|
56
99
|
## How it works
|
|
57
100
|
|
package/dist/index.js
CHANGED
|
@@ -2289,7 +2289,7 @@ var snapshotCommand = new Command15("snapshot").description("Analyze the current
|
|
|
2289
2289
|
|
|
2290
2290
|
// src/index.ts
|
|
2291
2291
|
var program = new Command16();
|
|
2292
|
-
program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.2.
|
|
2292
|
+
program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.2.1");
|
|
2293
2293
|
program.addCommand(installCommand);
|
|
2294
2294
|
program.addCommand(uninstallCommand);
|
|
2295
2295
|
program.addCommand(searchCommand);
|
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -20,7 +20,7 @@ const program = new Command();
|
|
|
20
20
|
program
|
|
21
21
|
.name("planmode")
|
|
22
22
|
.description("The open source package manager for AI plans, rules, and prompts.")
|
|
23
|
-
.version("0.2.
|
|
23
|
+
.version("0.2.1");
|
|
24
24
|
|
|
25
25
|
program.addCommand(installCommand);
|
|
26
26
|
program.addCommand(uninstallCommand);
|