planmode 0.1.4 → 0.1.5
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 +72 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# planmode
|
|
2
|
+
|
|
3
|
+
The open source package manager for AI plans, rules, and prompts.
|
|
4
|
+
|
|
5
|
+
**Website:** [planmode.org](https://planmode.org)
|
|
6
|
+
**Repository:** [github.com/kaihannonen/planmode.org](https://github.com/kaihannonen/planmode.org)
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g planmode
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Quick start
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Search for packages
|
|
18
|
+
planmode search nextjs
|
|
19
|
+
|
|
20
|
+
# Install a plan (adds to plans/ and updates CLAUDE.md)
|
|
21
|
+
planmode install nextjs-tailwind-starter
|
|
22
|
+
|
|
23
|
+
# Install a rule (goes to .claude/rules/)
|
|
24
|
+
planmode install typescript-strict
|
|
25
|
+
|
|
26
|
+
# Run a templated prompt
|
|
27
|
+
planmode run rest-api-generator --resource users --framework express
|
|
28
|
+
|
|
29
|
+
# See what's installed
|
|
30
|
+
planmode list
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Package types
|
|
34
|
+
|
|
35
|
+
| Type | What it is | Where it lives | Lifecycle |
|
|
36
|
+
|------|-----------|---------------|-----------|
|
|
37
|
+
| **Plan** | Multi-step implementation guide | `plans/*.md` | Active during task |
|
|
38
|
+
| **Rule** | Always-on constraint | `.claude/rules/*.md` | Permanent |
|
|
39
|
+
| **Prompt** | Fire-once instruction | `prompts/*.md` | Single use |
|
|
40
|
+
|
|
41
|
+
## Commands
|
|
42
|
+
|
|
43
|
+
| Command | Description |
|
|
44
|
+
|---------|-------------|
|
|
45
|
+
| `planmode install <pkg>` | Install a package |
|
|
46
|
+
| `planmode uninstall <pkg>` | Remove a package |
|
|
47
|
+
| `planmode search <query>` | Search the registry |
|
|
48
|
+
| `planmode run <prompt>` | Run a templated prompt |
|
|
49
|
+
| `planmode list` | List installed packages |
|
|
50
|
+
| `planmode info <pkg>` | Show package details |
|
|
51
|
+
| `planmode update [pkg]` | Update packages |
|
|
52
|
+
| `planmode init` | Create a new package |
|
|
53
|
+
| `planmode publish` | Publish to the registry |
|
|
54
|
+
| `planmode login` | Configure GitHub auth |
|
|
55
|
+
|
|
56
|
+
## How it works
|
|
57
|
+
|
|
58
|
+
Planmode leverages Claude Code's native `@import` system. When you install a plan:
|
|
59
|
+
|
|
60
|
+
1. The CLI fetches `.md` files from the registry
|
|
61
|
+
2. Drops them into the correct directory (`plans/`, `.claude/rules/`, or `prompts/`)
|
|
62
|
+
3. Adds `@plans/<name>.md` to your `CLAUDE.md`
|
|
63
|
+
|
|
64
|
+
Claude Code is already the runtime. Planmode handles discovery, versioning, and distribution.
|
|
65
|
+
|
|
66
|
+
## Browse packages
|
|
67
|
+
|
|
68
|
+
Visit [planmode.org/packages](https://planmode.org/packages) to discover plans, rules, and prompts.
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
MIT
|
package/dist/index.js
CHANGED
|
@@ -1304,7 +1304,7 @@ var loginCommand = new Command10("login").description("Configure GitHub authenti
|
|
|
1304
1304
|
|
|
1305
1305
|
// src/index.ts
|
|
1306
1306
|
var program = new Command11();
|
|
1307
|
-
program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.1.
|
|
1307
|
+
program.name("planmode").description("The open source package manager for AI plans, rules, and prompts.").version("0.1.5");
|
|
1308
1308
|
program.addCommand(installCommand);
|
|
1309
1309
|
program.addCommand(uninstallCommand);
|
|
1310
1310
|
program.addCommand(searchCommand);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -15,7 +15,7 @@ const program = new Command();
|
|
|
15
15
|
program
|
|
16
16
|
.name("planmode")
|
|
17
17
|
.description("The open source package manager for AI plans, rules, and prompts.")
|
|
18
|
-
.version("0.1.
|
|
18
|
+
.version("0.1.5");
|
|
19
19
|
|
|
20
20
|
program.addCommand(installCommand);
|
|
21
21
|
program.addCommand(uninstallCommand);
|