@1tool/js-boost 1.0.0 → 1.1.0
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 +21 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Laravel Boost for JavaScript — generate agent files for Claude Code, Cursor, Junie, Codex, Copilot, Kiro, and more from a single `.ai/` source of truth.
|
|
4
4
|
|
|
5
|
-
Instead of manually maintaining separate instruction files for each AI agent, you write your guidelines and skills once in `.ai/` and
|
|
5
|
+
Instead of manually maintaining separate instruction files for each AI agent, you write your guidelines and skills once in `.ai/` and `@1tool/js-boost` generates all the agent-specific files automatically.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ Instead of manually maintaining separate instruction files for each AI agent, yo
|
|
|
18
18
|
└── SKILL.md ← on-demand skill (loaded when relevant)
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Run `npx js-boost generate` and get the right file for each configured agent:
|
|
21
|
+
Run `npx @1tool/js-boost generate` and get the right file for each configured agent:
|
|
22
22
|
|
|
23
23
|
| File | Agent |
|
|
24
24
|
|---|---|
|
|
@@ -35,45 +35,45 @@ Run `npx js-boost generate` and get the right file for each configured agent:
|
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
# 1. Scaffold .ai/ and select your agents
|
|
38
|
-
npx js-boost init
|
|
38
|
+
npx @1tool/js-boost init
|
|
39
39
|
|
|
40
40
|
# 2. Edit guidelines and skills in .ai/
|
|
41
41
|
|
|
42
42
|
# 3. Generate agent files
|
|
43
|
-
npx js-boost generate
|
|
43
|
+
npx @1tool/js-boost generate
|
|
44
44
|
|
|
45
45
|
# 4. (Optional) Watch mode — auto-regenerate on save
|
|
46
|
-
npx js-boost watch
|
|
46
|
+
npx @1tool/js-boost watch
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
51
|
## Commands
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### `@1tool/js-boost init`
|
|
54
54
|
|
|
55
55
|
Scaffolds the `.ai/` folder with placeholder guidelines and a starter skill. Prompts you to select which AI agents to configure and saves the selection to `js-boost.config.json`.
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
npx js-boost init
|
|
59
|
-
npx js-boost init --force # overwrite existing files
|
|
60
|
-
npx js-boost init --dir ./my-project
|
|
58
|
+
npx @1tool/js-boost init
|
|
59
|
+
npx @1tool/js-boost init --force # overwrite existing files
|
|
60
|
+
npx @1tool/js-boost init --dir ./my-project
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
###
|
|
63
|
+
### `@1tool/js-boost agents`
|
|
64
64
|
|
|
65
65
|
Re-run the agent selection prompt without re-scaffolding `.ai/`. Use this to add or remove agents after the initial setup.
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
npx js-boost agents
|
|
68
|
+
npx @1tool/js-boost agents
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
###
|
|
71
|
+
### `@1tool/js-boost mcp`
|
|
72
72
|
|
|
73
73
|
Interactive wizard to add, remove, or toggle MCP servers. Changes are saved to `js-boost.config.json` — run `generate` afterwards to apply them to agent files.
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
|
-
npx js-boost mcp
|
|
76
|
+
npx @1tool/js-boost mcp
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
**Add a remote server:**
|
|
@@ -93,30 +93,30 @@ npx js-boost mcp
|
|
|
93
93
|
✔ Environment variables: API_KEY=secret,NODE_ENV=production
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
###
|
|
96
|
+
### `@1tool/js-boost generate`
|
|
97
97
|
|
|
98
98
|
Reads `.ai/guidelines/*.md` and `.ai/skills/*/SKILL.md`, then generates files for all selected agents. Falls back to generating all supported formats if no agents are configured.
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
npx js-boost generate
|
|
102
|
-
npx js-boost gen # alias
|
|
103
|
-
npx js-boost generate --verbose
|
|
101
|
+
npx @1tool/js-boost generate
|
|
102
|
+
npx @1tool/js-boost gen # alias
|
|
103
|
+
npx @1tool/js-boost generate --verbose
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
###
|
|
106
|
+
### `@1tool/js-boost watch`
|
|
107
107
|
|
|
108
108
|
Watches `.ai/` for changes and regenerates automatically (debounced 300ms).
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
npx js-boost watch
|
|
111
|
+
npx @1tool/js-boost watch
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
###
|
|
114
|
+
### `@1tool/js-boost status`
|
|
115
115
|
|
|
116
116
|
Shows configured agents, guidelines, skills, MCP servers, and which files will be generated.
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
npx js-boost status
|
|
119
|
+
npx @1tool/js-boost status
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
---
|