@skill-map/cli 0.53.2 → 0.53.3
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/dist/cli/tutorial/sm-tutorial/SKILL.md +19 -10
- package/dist/cli/tutorial/sm-tutorial/references/_core.md +53 -5
- package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +22 -9
- package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +10 -13
- package/dist/cli/tutorial/sm-tutorial/references/part-authoring.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +12 -9
- package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +16 -22
- package/dist/cli/tutorial/sm-tutorial/references/part-live-site.md +111 -112
- package/dist/cli/tutorial/sm-tutorial/references/part-maintain.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/references/part-mcp.md +4 -4
- package/dist/cli/tutorial/sm-tutorial/references/part-plugins.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +11 -13
- package/dist/cli/tutorial/sm-tutorial/references/part-run-harness.md +155 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-settings.md +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +3 -3
- package/dist/kernel/index.js +3 -3
- package/dist/ui/{chunk-UHNBYD6J.js → chunk-22XUPND3.js} +3 -3
- package/dist/ui/{chunk-OFDQMBSJ.js → chunk-4CXAL43H.js} +1 -1
- package/dist/ui/{chunk-IUZM6XLN.js → chunk-HWQTV6ZL.js} +1 -1
- package/dist/ui/{chunk-UV5Q423S.js → chunk-ISIHN6HU.js} +2 -2
- package/dist/ui/{chunk-EQ72PEHT.js → chunk-NBXEOYS4.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/ui/{main-TXPLL7VU.js → main-Z4RJNI4X.js} +3 -3
- package/dist/ui/{styles-Q4NCOJQY.css → styles-L6FZYH7X.css} +1 -1
- package/package.json +1 -1
|
@@ -132,18 +132,27 @@ Apply §Provider detection from `_core.md`. Persist the result into
|
|
|
132
132
|
|
|
133
133
|
### 4. Two-terminals heads-up (one time)
|
|
134
134
|
|
|
135
|
+
Agent-only: in the `cd` block below, substitute `<cwd>` with the
|
|
136
|
+
tester's actual cwd (the absolute path of the folder the tutorial is
|
|
137
|
+
running in) so the command is copy-pasteable, same substitution as
|
|
138
|
+
every other `<cwd>` mention.
|
|
139
|
+
|
|
135
140
|
> ⚠️ Heads up: throughout the tutorial you'll be using **two
|
|
136
141
|
> terminals**.
|
|
137
142
|
>
|
|
138
143
|
> 1. **This terminal**: the one you're using right now to talk to
|
|
139
144
|
> me (Claude Code). I show you the commands, you paste me the
|
|
140
145
|
> output, and I verify.
|
|
141
|
-
> 2. **A second terminal**: open it now (new window or tab)
|
|
142
|
-
>
|
|
146
|
+
> 2. **A second terminal**: open it now (new window or tab), then run
|
|
147
|
+
> the command below so it's anchored **exactly to this folder**.
|
|
143
148
|
> That's where you copy and paste every `sm` command.
|
|
144
|
-
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
cd <cwd>
|
|
152
|
+
```
|
|
153
|
+
|
|
145
154
|
> Keep both terminals open until the end. If you accidentally close
|
|
146
|
-
> the second one, reopen it and `cd
|
|
155
|
+
> the second one, reopen it and run that `cd` again.
|
|
147
156
|
>
|
|
148
157
|
> Got the second terminal open and anchored to the folder? Confirm
|
|
149
158
|
> before we move on.
|
|
@@ -298,7 +307,7 @@ When a part begins, honour its `preflight` from the manifest:
|
|
|
298
307
|
`preflight: seed` to fast-forward into them directly, see the `seed`
|
|
299
308
|
case below; `portfolio-init` is just Part 1's flavour of that,
|
|
300
309
|
handling the Part 0 to Part 1 transition.)
|
|
301
|
-
- **`backstage-init`** (Part
|
|
310
|
+
- **`backstage-init`** (Part 7 `extend`): silently, with no
|
|
302
311
|
narration: run `sm init --no-scan` from the cwd, then `Edit` the
|
|
303
312
|
freshly created `.skillmapignore` to append the tutorial's
|
|
304
313
|
internal entries (the `sm-tutorial.md` / `findings.md` /
|
|
@@ -309,13 +318,13 @@ When a part begins, honour its `preflight` from the manifest:
|
|
|
309
318
|
the dir was already initialised by an earlier part, that is fine:
|
|
310
319
|
the DB already exists, skip the init and just ensure the fixture
|
|
311
320
|
files are present.
|
|
312
|
-
- **`reuse`** (Part
|
|
313
|
-
`.skill-map/` already exist; nothing to lay. The menu offers Part
|
|
321
|
+
- **`reuse`** (Part 8 `cli`): assumes the prologue fixture and
|
|
322
|
+
`.skill-map/` already exist; nothing to lay. The menu offers Part 8
|
|
314
323
|
only once its `prereq` (`fundamentals`) is done, so the state is
|
|
315
324
|
there. If `.skill-map/` is somehow missing, point the tester back to
|
|
316
325
|
the prologue rather than re-initialising mid-part.
|
|
317
|
-
- **`seed`** (the campaign parts `connect-harness` / `
|
|
318
|
-
`mcp` / `live-site`): the part builds on the accumulating portfolio
|
|
326
|
+
- **`seed`** (the campaign parts `connect-harness` / `run-harness` /
|
|
327
|
+
`maintain` / `mcp` / `live-site`): the part builds on the accumulating portfolio
|
|
319
328
|
harness, but the tester may have jumped straight here from the menu.
|
|
320
329
|
On entry, read the state file:
|
|
321
330
|
- If every predecessor campaign part up the `prereq` chain is `done`
|
|
@@ -361,7 +370,7 @@ All three are specified in `_core.md`:
|
|
|
361
370
|
`<provider_dir>/skills/demo-skill/`,
|
|
362
371
|
`<provider_dir>/commands/demo-command.md`, `notes/todo.md`,
|
|
363
372
|
`notes/demo-guideline.md`, `notes/private-credentials.md`), the
|
|
364
|
-
Part
|
|
373
|
+
Part 7 fixture if `extend` ran
|
|
365
374
|
(`<provider_dir>/agents/master-agent.md`,
|
|
366
375
|
`<provider_dir>/skills/master-skill/`, `notes/ideas.md`,
|
|
367
376
|
`.skill-map/plugins/`), `link-validation/` if the CLI part ran,
|
|
@@ -287,20 +287,52 @@ For every chapter:
|
|
|
287
287
|
the book ToC, numbered, and let the tester pick a part by number.
|
|
288
288
|
Part 0 (the prologue) is option 1, the recommended starting point,
|
|
289
289
|
so a brand-new tester just types `1`. Do NOT auto-enter a part; the
|
|
290
|
-
menu is the entry point every time. On later renders,
|
|
291
|
-
|
|
290
|
+
menu is the entry point every time. On later renders, mark completed
|
|
291
|
+
parts with a `✓` in their description line, not on the title (see
|
|
292
|
+
§Menu format).
|
|
292
293
|
- **Which parts to list**: parts in `order`, `status: active` only
|
|
293
294
|
(`planned` parts are hidden). A part with a `seed` (the campaign
|
|
294
295
|
parts) is always shown, even out of order, its `preflight: seed`
|
|
295
296
|
fast-forwards the project into it (SKILL.md §Entering a part). A
|
|
296
|
-
part with a `prereq` but NO `seed` (Part
|
|
297
|
+
part with a `prereq` but NO `seed` (Part 8 `cli`) is shown only once
|
|
297
298
|
its `prereq` is `done`.
|
|
298
|
-
- **After the tester picks**: walk that part; when it ends,
|
|
299
|
-
this menu.
|
|
299
|
+
- **After the tester picks**: walk that part; when it ends, run
|
|
300
|
+
§Closing a part (a tester-facing close, then this menu).
|
|
300
301
|
- **Adding content** is data-only: a new chapter in a part (or a new
|
|
301
302
|
`part-<id>.md` + a manifest row). Keep chapter-id prefixes matching
|
|
302
303
|
the file name so dispatch stays mechanical.
|
|
303
304
|
|
|
305
|
+
### Closing a part
|
|
306
|
+
|
|
307
|
+
A part must FEEL finished before the menu comes back: the tester
|
|
308
|
+
should never slide into the next part as if it auto-continued. When a
|
|
309
|
+
part's last chapter (the last in `_manifest.yml` order) is confirmed,
|
|
310
|
+
before re-rendering the menu emit a short tester-facing close:
|
|
311
|
+
|
|
312
|
+
- A `✓` line naming the part just finished BY ITS TITLE (from
|
|
313
|
+
`_manifest.yml`), not the internal "Part N" index, which is off by
|
|
314
|
+
one from the menu numbering the tester sees.
|
|
315
|
+
- One line recapping what they built or learned (same source as the
|
|
316
|
+
menu description).
|
|
317
|
+
- A hand-off line: back to the menu, pick the next part.
|
|
318
|
+
|
|
319
|
+
Then render the menu (§Menu format) with this part now marked done (a
|
|
320
|
+
`✓` in its description line, not on the title); its intro may lean to
|
|
321
|
+
"what's next" on a post-part render. The last
|
|
322
|
+
chapter's own confirmation stays scoped to that chapter, it does NOT
|
|
323
|
+
promise or pre-announce the next part, the close and the menu own the
|
|
324
|
+
transition. Sample (Claude variant, mirror the tester's language,
|
|
325
|
+
apply the host rendering rule):
|
|
326
|
+
|
|
327
|
+
> ✓ Listo, terminaste **El proyecto desde cero**. Levantaste un
|
|
328
|
+
> proyecto real, su handbook y el harness `.claude/` con sus primeros
|
|
329
|
+
> nodos.
|
|
330
|
+
>
|
|
331
|
+
> Volvés al menú, elegí con qué seguir.
|
|
332
|
+
|
|
333
|
+
If every active part is now `✓` (nothing left to pick), skip the menu
|
|
334
|
+
and go straight to §Final wrap-up.
|
|
335
|
+
|
|
304
336
|
### Menu format
|
|
305
337
|
|
|
306
338
|
Render the menu numbered and formatted (NOT a bare list), translated
|
|
@@ -308,6 +340,11 @@ to the tester's language. A one-line intro, then per part a **bold
|
|
|
308
340
|
numbered title line** (number + title + `(~M min)`) as plain prose,
|
|
309
341
|
immediately followed by a single-level `> ` blockquote one-line
|
|
310
342
|
description (what the part covers, derived from its title + chapters).
|
|
343
|
+
A **completed part** keeps its plain title (NO `✓` on the title line)
|
|
344
|
+
and swaps its description for the done marker: `> ✓ ` plus a short
|
|
345
|
+
"already done" note (e.g. `✓ Ya la hiciste.`). The green check lives
|
|
346
|
+
inside the content, mirroring the `✓` confirmations used elsewhere,
|
|
347
|
+
never as a title prefix.
|
|
311
348
|
NO blank line between a title and its description; ONE blank line
|
|
312
349
|
between parts; NO outer blockquote around the whole menu. Close with a
|
|
313
350
|
short "¿Cuál?" / "Which one?" on its own line. Sample (Claude variant,
|
|
@@ -331,6 +368,17 @@ single blockquote" rule: the intro, the bold titles and the trailing
|
|
|
331
368
|
non-Claude hosts the `> ` collapses to plain prose, indent each
|
|
332
369
|
description two spaces so it stays subordinate to its title.
|
|
333
370
|
|
|
371
|
+
Same menu after Part 1 is done (the `✓` sits in the description line,
|
|
372
|
+
the title stays plain):
|
|
373
|
+
|
|
374
|
+
```
|
|
375
|
+
**1. El mapa en vivo** (~12 min)
|
|
376
|
+
> ✓ Ya la hiciste.
|
|
377
|
+
|
|
378
|
+
**2. El proyecto desde cero** (~8 min)
|
|
379
|
+
> Arrancás un proyecto real (un portfolio) y su harness `.claude/`.
|
|
380
|
+
```
|
|
381
|
+
|
|
334
382
|
## Resume / restart
|
|
335
383
|
|
|
336
384
|
When re-invoked and the state file already exists, do NOT repeat
|
|
@@ -44,13 +44,13 @@ parts:
|
|
|
44
44
|
- id: kinds ; title: "The other kinds appear" ; est_min: 1
|
|
45
45
|
- id: first-edit ; title: "Your first edit (the watcher reacts)" ; est_min: 1
|
|
46
46
|
- id: connectors ; title: "The connectors light up" ; est_min: 2
|
|
47
|
-
- id: inspector ; title: "The inspector and
|
|
47
|
+
- id: inspector ; title: "The inspector and connections" ; est_min: 1
|
|
48
48
|
- id: edit-link ; title: "Edit a link, the topology changes" ; est_min: 3
|
|
49
49
|
- id: workspace ; title: "Navigate the workspace (files, search, isolate)" ; est_min: 2
|
|
50
50
|
- id: ignore ; title: "Silence a file via .skillmapignore" ; est_min: 2
|
|
51
51
|
|
|
52
52
|
- id: extend
|
|
53
|
-
order:
|
|
53
|
+
order: 7
|
|
54
54
|
title: "Extend skill-map for the site"
|
|
55
55
|
# Spans three chapter libraries; dispatch by chapter-id prefix:
|
|
56
56
|
# settings-* -> part-settings.md
|
|
@@ -80,7 +80,7 @@ parts:
|
|
|
80
80
|
- id: authoring-6-upgrade ; title: "Try `sm plugins upgrade`" ; est_min: 2
|
|
81
81
|
|
|
82
82
|
- id: cli
|
|
83
|
-
order:
|
|
83
|
+
order: 8
|
|
84
84
|
title: "The CLI in depth"
|
|
85
85
|
step_file: part-cli.md
|
|
86
86
|
pace: auto-advance
|
|
@@ -130,8 +130,21 @@ parts:
|
|
|
130
130
|
- id: links ; title: "Mentions (@) and references between assets" ; est_min: 3
|
|
131
131
|
- id: confidence ; title: "Connector confidence (opacity = certainty)" ; est_min: 2
|
|
132
132
|
|
|
133
|
-
- id:
|
|
133
|
+
- id: run-harness
|
|
134
134
|
order: 3
|
|
135
|
+
title: "Run the harness (your site, live)"
|
|
136
|
+
step_file: part-run-harness.md
|
|
137
|
+
pace: auto-advance
|
|
138
|
+
preflight: seed
|
|
139
|
+
seed: harness-connected # fast-forward to here if the earlier parts are not done
|
|
140
|
+
prereq: connect-harness
|
|
141
|
+
status: active
|
|
142
|
+
chapters:
|
|
143
|
+
- id: generate ; title: "The agent generates the HTML in public/" ; est_min: 3
|
|
144
|
+
- id: serve ; title: "node server.js: your portfolio, live next to the graph" ; est_min: 3
|
|
145
|
+
|
|
146
|
+
- id: maintain
|
|
147
|
+
order: 4
|
|
135
148
|
title: "Maintain the site"
|
|
136
149
|
step_file: part-maintain.md
|
|
137
150
|
pace: auto-advance
|
|
@@ -148,7 +161,7 @@ parts:
|
|
|
148
161
|
- id: versions ; title: "Versions: sm bump and history" ; est_min: 2
|
|
149
162
|
|
|
150
163
|
- id: mcp
|
|
151
|
-
order:
|
|
164
|
+
order: 5
|
|
152
165
|
title: "MCP" # a chapter apart, just before the finale
|
|
153
166
|
step_file: part-mcp.md
|
|
154
167
|
pace: auto-advance
|
|
@@ -160,8 +173,8 @@ parts:
|
|
|
160
173
|
- id: mcp-node ; title: "content-editor declares an MCP tool; the mcp:// node appears" ; est_min: 3
|
|
161
174
|
|
|
162
175
|
- id: live-site
|
|
163
|
-
order:
|
|
164
|
-
title: "
|
|
176
|
+
order: 6
|
|
177
|
+
title: "Ship the site (the full publish pipeline)" # the finale / climax
|
|
165
178
|
step_file: part-live-site.md
|
|
166
179
|
pace: auto-advance
|
|
167
180
|
preflight: seed
|
|
@@ -169,7 +182,7 @@ parts:
|
|
|
169
182
|
prereq: connect-harness
|
|
170
183
|
status: active
|
|
171
184
|
chapters:
|
|
172
|
-
- id:
|
|
173
|
-
- id:
|
|
185
|
+
- id: pipeline ; title: "Run /publish end to end (check-links, brief, deploy runbook)" ; est_min: 4
|
|
186
|
+
- id: golive ; title: "Ship it: the richer site live next to the full graph" ; est_min: 3
|
|
174
187
|
|
|
175
188
|
findings_file: "./findings.md"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Fixture templates
|
|
2
2
|
|
|
3
3
|
Fixtures the orchestrator lays for the auto-fixtured parts. Two sets
|
|
4
|
-
today: the **master fixture** (Part
|
|
4
|
+
today: the **master fixture** (Part 7, "Extend skill-map",
|
|
5
5
|
`backstage-init`) right below, and the **portfolio fixture** (Part 1,
|
|
6
6
|
"The project from zero", `portfolio-init`) at the end of this file.
|
|
7
7
|
Read the set for the part being entered.
|
|
8
8
|
|
|
9
|
-
## Master fixture (Part
|
|
9
|
+
## Master fixture (Part 7): layout (per provider)
|
|
10
10
|
|
|
11
11
|
Per §Provider detection in `SKILL.md`, the `<provider_dir>`
|
|
12
12
|
placeholder resolves to `.claude/` or `.agents/skills/` depending
|
|
@@ -134,7 +134,7 @@ Per finding:
|
|
|
134
134
|
Laid backstage before the tester's `sm init` in Part 1. The Express
|
|
135
135
|
skeleton (`server.js`, `package.json`, `public/index.html`) is plain
|
|
136
136
|
scaffolding, not `.md`, so the scan ignores it; it makes the project
|
|
137
|
-
real and runnable (Part
|
|
137
|
+
real and runnable (Part 3 runs it, Part 6 ships it). The one boot node is the
|
|
138
138
|
handbook `AGENTS.md`. On `agent-skills` / Antigravity (no `agent`
|
|
139
139
|
kind) the harness still works: the agent member is created as a skill
|
|
140
140
|
in a later chapter.
|
|
@@ -154,15 +154,12 @@ Layout:
|
|
|
154
154
|
|
|
155
155
|
### File: `AGENTS.md` (kind: markdown, the boot node)
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
name
|
|
160
|
-
|
|
161
|
-
Operating manual for this portfolio site: how its pages get
|
|
162
|
-
written, checked, and published by the .claude/ harness.
|
|
163
|
-
tags: [docs, portfolio]
|
|
164
|
-
---
|
|
157
|
+
No frontmatter: a real handbook is plain prose (this repo's own
|
|
158
|
+
`AGENTS.md` and the tutorial's `CLAUDE.md` carry none either), and a
|
|
159
|
+
`name:` that differs from the filename only confuses the tester. The
|
|
160
|
+
node displays by its path, `AGENTS.md`.
|
|
165
161
|
|
|
162
|
+
```markdown
|
|
166
163
|
# Portfolio handbook
|
|
167
164
|
|
|
168
165
|
A small static portfolio site, served by Express (`server.js`). The
|
|
@@ -196,7 +193,7 @@ app.listen(port, () => console.log(`Portfolio live at http://localhost:${port}`)
|
|
|
196
193
|
}
|
|
197
194
|
```
|
|
198
195
|
|
|
199
|
-
### File: `public/index.html` (not scanned; placeholder until Part
|
|
196
|
+
### File: `public/index.html` (not scanned; placeholder until Part 3)
|
|
200
197
|
|
|
201
198
|
```html
|
|
202
199
|
<!doctype html>
|
|
@@ -237,7 +234,7 @@ any cross-links:
|
|
|
237
234
|
3. `<provider_dir>/agents/content-editor.md` <- part-project-kickoff.md, chapter `first-agent`.
|
|
238
235
|
4. `docs/STYLE.md` and `docs/DEPLOY.md` <- part-project-kickoff.md, chapter `real-kinds`.
|
|
239
236
|
|
|
240
|
-
### Seed snapshot: `harness-connected` (start of Parts 3
|
|
237
|
+
### Seed snapshot: `harness-connected` (start of Parts 3-6)
|
|
241
238
|
|
|
242
239
|
Everything in `harness-built`, PLUS the Part 2 wiring:
|
|
243
240
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Part
|
|
1
|
+
# Part 7 (c): Extend skill-map - build plugins (step library, `authoring-*` ids)
|
|
2
2
|
|
|
3
|
-
Step bodies for the plugin-authoring chapters of Part
|
|
3
|
+
Step bodies for the plugin-authoring chapters of Part 7.
|
|
4
4
|
The SKILL.md orchestrator dispatches each `authoring-*` chapter id
|
|
5
5
|
here; `settings-*` ids it dispatches to `part-settings.md`.
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Part
|
|
1
|
+
# Part 8: The CLI in depth - step library
|
|
2
2
|
|
|
3
3
|
The deep-dive into the rest of the CLI: browsing verbs, ASCII graph + export, broken-ref issues, the `.sm` annotation consent prompt, and validating links to folders outside the scan scope. `pace: auto-advance` (walk straight into the next chapter's Announcement once one is marked done) and it reuses the fundamentals fixture and DB built in Part 0 (no fresh fixture of its own). Shared conventions (tone, provider detection / substitution, the `> ` rendering rule, the per-step cycle) live in `_core.md`; do not restate them here.
|
|
4
4
|
|
|
@@ -53,7 +53,11 @@ Wait for confirmation. Mark `check-links`: done.
|
|
|
53
53
|
|
|
54
54
|
**Context**: this is the chapter where the graph comes alive. The `/publish` command ties three pieces together in one body: it invokes the link checker, mentions the content editor, and references the deploy runbook. Three connectors light up from a single new node, one per link syntax.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
On `agent-skills` / Antigravity there is no `command` kind, so skip this whole chapter and fold its purpose into the prose of the next one.
|
|
57
|
+
|
|
58
|
+
Tell the tester to create the file themselves (it is their project's file, Inviolable rule #2). Substitute `<provider_dir>` per `_core.md` in the path you give them:
|
|
59
|
+
|
|
60
|
+
> Create `.claude/commands/publish.md` with exactly this content:
|
|
57
61
|
|
|
58
62
|
```markdown
|
|
59
63
|
---
|
|
@@ -79,12 +83,11 @@ The one command you run when the site is ready to go out.
|
|
|
79
83
|
3. Follow the [deploy runbook](../../docs/DEPLOY.md) to ship.
|
|
80
84
|
```
|
|
81
85
|
|
|
82
|
-
|
|
86
|
+
Continue the tester message:
|
|
83
87
|
|
|
84
|
-
>
|
|
85
|
-
> the
|
|
86
|
-
>
|
|
87
|
-
> a different colour because each one is a different kind of link:
|
|
88
|
+
> Save it. Watch the **Map**: **three** new arrows light up at once
|
|
89
|
+
> from the new `publish` node, and each one is a different colour
|
|
90
|
+
> because each one is a different kind of link:
|
|
88
91
|
>
|
|
89
92
|
> - `publish -> check-links` (kind: `invokes`), from the `/check-links`
|
|
90
93
|
> token in the body.
|
|
@@ -98,7 +101,7 @@ Tell the tester:
|
|
|
98
101
|
>
|
|
99
102
|
> Did the three arrows appear?
|
|
100
103
|
|
|
101
|
-
Wait for confirmation. Mark `publish`: done.
|
|
104
|
+
Wait for confirmation. You MAY use `Read` on the file afterwards to verify it landed. Mark `publish`: done.
|
|
102
105
|
|
|
103
106
|
## Chapter `links` - The handbook becomes the hub (~4 min)
|
|
104
107
|
|
|
@@ -159,7 +162,7 @@ Tell the tester:
|
|
|
159
162
|
> the more solid the arrow; the less sure, the more translucent.
|
|
160
163
|
>
|
|
161
164
|
> Open the Inspector for the `publish` node (click it on the **Map**).
|
|
162
|
-
> Scroll down to the **
|
|
165
|
+
> Scroll down to the **Connections** panel and read the **Outgoing**
|
|
163
166
|
> rows. Each row shows the link kind and a confidence badge:
|
|
164
167
|
>
|
|
165
168
|
> - `publish -> docs/DEPLOY.md` (`references`) reads **1.00** and looks
|
|
@@ -177,4 +180,4 @@ Tell the tester:
|
|
|
177
180
|
>
|
|
178
181
|
> Do you see the confidence badges in the Inspector?
|
|
179
182
|
|
|
180
|
-
Wait for confirmation. Mark `confidence`: done.
|
|
183
|
+
Wait for confirmation. Mark `confidence`: done. Last chapter of the part: apply §Closing a part (the close names the part by its title and routes back to the menu; do NOT lead into the next part from here).
|
|
@@ -229,7 +229,7 @@ Tell the tester:
|
|
|
229
229
|
|
|
230
230
|
If a connector is missing, do not advance, the next chapter inspects the same hub edit. Mark `connectors`: done.
|
|
231
231
|
|
|
232
|
-
## Chapter `inspector` - The inspector and
|
|
232
|
+
## Chapter `inspector` - The inspector and connections (~1 min)
|
|
233
233
|
|
|
234
234
|
The connector opacity tells the confidence story at a glance; the exact per-link breakdown lives in the Inspector. Open it on the hub so the tester registers the surface before the `edit-link` chapter changes topology.
|
|
235
235
|
|
|
@@ -324,9 +324,9 @@ Leave the server running, the next chapter (`.skillmapignore`) is the last one t
|
|
|
324
324
|
|
|
325
325
|
Earlier chapters showed the watcher picking up new files and edits (yours and theirs). This chapter flips the direction: a file the tester DOES NOT want in the map (a draft, a scratch file, a secret) gets hidden by a single line in `.skillmapignore`. Same live mechanism, no restart.
|
|
326
326
|
|
|
327
|
-
`sm init` already wrote a starter `.skillmapignore` at the scope root. The
|
|
327
|
+
`sm init` already wrote a starter `.skillmapignore` at the scope root. The chapter is one step with a single confirmation (the node vanishing): the agent seeds a file the tester would never want public, shows where it lives, and the tester hides it with one glob.
|
|
328
328
|
|
|
329
|
-
**
|
|
329
|
+
**The agent seeds the file (no tester action, no separate pause).**
|
|
330
330
|
|
|
331
331
|
`Write` `notes/private-credentials.md`, kind `markdown`, simulates a file the tester would never want surfacing publicly:
|
|
332
332
|
|
|
@@ -344,13 +344,15 @@ description: |
|
|
|
344
344
|
API_TOKEN: example-not-real
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
|
|
347
|
+
It lands in the map as a sixth node (`notes/private-credentials`); the watcher sees it like any other `.md`. Do NOT pause to confirm the appearance, it folds into the single vanish confirmation at the end of this step.
|
|
348
348
|
|
|
349
|
-
**
|
|
349
|
+
**The tester hides it (single tester-facing message, one confirmation).**
|
|
350
350
|
|
|
351
|
-
|
|
351
|
+
Give the tester a mental map of the folder so they know where the file lives, then the glob that hides it, all in ONE message. Use `Bash` (`ls -la`, plus `ls -la notes/` if a deeper view helps) for the real listing and apply the host-dependent rendering rule. Per Inviolable rule #2, the agent does NOT touch `.skillmapignore` with its `Edit` tool, the tester edits it from their own editor:
|
|
352
352
|
|
|
353
|
-
> One last step.
|
|
353
|
+
> One last step. Your `private-credentials` note just popped into
|
|
354
|
+
> the map as a sixth node, that's the watcher again. Now let's hide
|
|
355
|
+
> it. Here's what your directory looks like right now:
|
|
354
356
|
|
|
355
357
|
```
|
|
356
358
|
. ← your cwd
|
|
@@ -368,19 +370,10 @@ Before asking the tester to touch `.skillmapignore`, give them a mental map of t
|
|
|
368
370
|
└── private-credentials.md ← what we want to hide
|
|
369
371
|
```
|
|
370
372
|
|
|
371
|
-
> The `.skillmapignore` at the root
|
|
372
|
-
>
|
|
373
|
-
>
|
|
374
|
-
|
|
375
|
-
Adjust the actual tree shown to whatever `ls -la` returns, the goal is "tester recognises their own filesystem", not a copy of the snippet above.
|
|
376
|
-
|
|
377
|
-
**Beat 3, the tester edits `.skillmapignore` (NOT the agent).**
|
|
378
|
-
|
|
379
|
-
Per Inviolable rule #2, the agent does NOT touch `.skillmapignore` with your `Edit` tool. Tell the tester to do it from their editor:
|
|
380
|
-
|
|
381
|
-
> Last step. Open `.skillmapignore` (it's at the cwd root) in your
|
|
382
|
-
> editor of choice. At the end of the file, on a new line, append
|
|
383
|
-
> this pattern:
|
|
373
|
+
> The `.skillmapignore` at the root uses the same syntax as
|
|
374
|
+
> `.gitignore`: anything matching a pattern there is invisible to
|
|
375
|
+
> skill-map's scan. Open it in your editor (it's at the cwd root)
|
|
376
|
+
> and append this pattern on a new line at the end:
|
|
384
377
|
|
|
385
378
|
```
|
|
386
379
|
notes/private-*.md
|
|
@@ -399,6 +392,7 @@ notes/private-*.md
|
|
|
399
392
|
>
|
|
400
393
|
> Did the node vanish?
|
|
401
394
|
|
|
402
|
-
After they confirm, you MAY use `Read` on `.skillmapignore` to verify the appended pattern landed correctly (in case `sm check` later reports something odd), that is read-only and allowed. Once confirmed, ask them to stop the server with **Ctrl+C** in the terminal before continuing.
|
|
395
|
+
Adjust the actual tree shown to whatever `ls -la` returns, the goal is "tester recognises their own filesystem", not a copy of the snippet above. After they confirm, you MAY use `Read` on `.skillmapignore` to verify the appended pattern landed correctly (in case `sm check` later reports something odd), that is read-only and allowed. Once confirmed, ask them to stop the server with **Ctrl+C** in the terminal before continuing.
|
|
403
396
|
|
|
404
|
-
Mark `ignore`: done.
|
|
397
|
+
Mark `ignore`: done. Last chapter of the part: apply §Closing a part
|
|
398
|
+
(the close names the part by its title and routes back to the menu).
|