planmode 0.1.5 → 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 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