roadmapsmith 0.1.0 → 0.2.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 +48 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,36 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
Production-grade roadmap generator and sync tool for agent-driven projects.
|
|
4
4
|
|
|
5
|
-
## Install
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### CLI
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g roadmapsmith
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Agent Skill
|
|
10
14
|
|
|
11
15
|
```bash
|
|
12
16
|
npx skills add PapiScholz/roadmapsmith --skill roadmap-sync
|
|
13
17
|
```
|
|
14
18
|
|
|
15
|
-
This
|
|
19
|
+
This adds the `roadmap-sync` agent skill. It does not install the CLI package.
|
|
20
|
+
|
|
21
|
+
## Operating Modes
|
|
22
|
+
|
|
23
|
+
### Zero Mode
|
|
16
24
|
|
|
17
|
-
|
|
25
|
+
Agent-guided discovery for empty or low-context repositories. The developer has a product idea but no implementation files, no stack decision, and no ROADMAP.md yet.
|
|
26
|
+
|
|
27
|
+
The CLI creates governance files. The AI agent (using the `roadmap-sync` skill) performs the discovery interview before generating the roadmap.
|
|
18
28
|
|
|
19
29
|
```bash
|
|
20
|
-
|
|
30
|
+
roadmapsmith init
|
|
31
|
+
roadmapsmith generate --project-root .
|
|
21
32
|
```
|
|
22
33
|
|
|
23
|
-
###
|
|
34
|
+
### Sync/Audit Mode
|
|
35
|
+
|
|
36
|
+
Repository-backed roadmap generation, validation, and synchronization. Use when the repository already has code, tests, docs, TODOs, or an existing ROADMAP.md.
|
|
24
37
|
|
|
25
38
|
```bash
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
node bin/cli.js generate --project-root . --dry-run --audit
|
|
39
|
+
roadmapsmith generate --project-root .
|
|
40
|
+
roadmapsmith validate --json
|
|
41
|
+
roadmapsmith sync --audit
|
|
30
42
|
```
|
|
31
43
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
The `roadmap-skill` CLI alias remains for backward compatibility and internal use, but public examples use `roadmapsmith`.
|
|
44
|
+
---
|
|
35
45
|
|
|
36
46
|
## Commands
|
|
37
47
|
|
|
@@ -76,6 +86,27 @@ Create `roadmap-skill.config.json`:
|
|
|
76
86
|
{
|
|
77
87
|
"roadmapFile": "./ROADMAP.md",
|
|
78
88
|
"agentsFile": "./AGENTS.md",
|
|
89
|
+
|
|
90
|
+
// Forward-compatible fields — recognized by the skill/agent for Zero Mode discovery context,
|
|
91
|
+
// but not yet read by the generator or validator. Safe to add now; they will be wired in a future release.
|
|
92
|
+
"northStar": "Ship a self-hosted CLI tool for website capture and AI-readable design analysis.",
|
|
93
|
+
"targetUser": "Frontend developers, full-stack developers, and AI coding agents.",
|
|
94
|
+
"problemStatement": "Developers lack a unified tool to capture screenshots, crawl pages, extract assets, and export structured context.",
|
|
95
|
+
"v1Outcome": "A stable CLI that captures full-page screenshots, crawls internal links, exports metadata, and produces an AI-readable report.",
|
|
96
|
+
"antiGoals": [
|
|
97
|
+
"Do not bypass authentication",
|
|
98
|
+
"Do not target private systems without authorization"
|
|
99
|
+
],
|
|
100
|
+
"risks": [
|
|
101
|
+
"Browser automation instability",
|
|
102
|
+
"Scope creep into generic scraping"
|
|
103
|
+
],
|
|
104
|
+
"exitCriteria": [
|
|
105
|
+
"CLI works against a public test site",
|
|
106
|
+
"Screenshots and metadata are exported deterministically",
|
|
107
|
+
"README documents safe and authorized usage"
|
|
108
|
+
],
|
|
109
|
+
|
|
79
110
|
"taskMatchers": [
|
|
80
111
|
{
|
|
81
112
|
"pattern": "src/payments/",
|
|
@@ -171,49 +202,17 @@ roadmapsmith sync --dry-run
|
|
|
171
202
|
npm test
|
|
172
203
|
```
|
|
173
204
|
|
|
174
|
-
## Publishing
|
|
175
|
-
|
|
176
|
-
### npm (public package, future)
|
|
177
|
-
|
|
178
|
-
1. Run tests.
|
|
205
|
+
## Publishing
|
|
179
206
|
|
|
180
207
|
```bash
|
|
181
208
|
npm test
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
2. Bump version using semver.
|
|
185
|
-
|
|
186
|
-
```bash
|
|
187
|
-
npm version patch
|
|
188
|
-
# or: npm version minor
|
|
189
|
-
# or: npm version major
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
3. Publish package.
|
|
193
|
-
|
|
194
|
-
```bash
|
|
209
|
+
npm version patch # or minor / major
|
|
195
210
|
npm publish --access public
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
4. Push tags.
|
|
199
|
-
|
|
200
|
-
```bash
|
|
201
211
|
git push origin main --follow-tags
|
|
202
212
|
```
|
|
203
213
|
|
|
204
|
-
### skills.sh / `npx skills add` discoverability (future)
|
|
205
|
-
|
|
206
|
-
1. After internal release-readiness is complete, make the repository public with `skills/roadmap-sync/SKILL.md` and `skills.json`.
|
|
207
|
-
2. Verify install flow from a clean project:
|
|
208
|
-
|
|
209
|
-
```bash
|
|
210
|
-
npx skills add PapiScholz/roadmapsmith --skill roadmap-sync
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
3. Confirm the installed skill appears in your agent skill list. This install command adds the agent skill, not the CLI package.
|
|
214
|
-
|
|
215
214
|
## Versioning Strategy
|
|
216
215
|
|
|
217
216
|
- `patch`: bug fixes and non-breaking validation/generation improvements.
|
|
218
217
|
- `minor`: backward-compatible features (new flags, new plugin hooks, additive config fields).
|
|
219
|
-
- `major`: breaking CLI/config behavior or marker/format changes.
|
|
218
|
+
- `major`: breaking CLI/config behavior or marker/format changes.
|