@skill-map/cli 0.52.0 → 0.53.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/dist/cli/tutorial/sm-tutorial/SKILL.md +239 -1659
- package/dist/cli/tutorial/sm-tutorial/references/_core.md +332 -0
- package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +175 -0
- package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +251 -0
- package/dist/cli/tutorial/{sm-master/references/tour-authoring.md → sm-tutorial/references/part-authoring.md} +14 -15
- package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +267 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +180 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +424 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-live-site.md +156 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-maintain.md +286 -0
- package/dist/cli/tutorial/sm-tutorial/references/part-mcp.md +78 -0
- package/dist/cli/tutorial/{sm-master/references/tour-plugins.md → sm-tutorial/references/part-plugins.md} +11 -11
- package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +186 -0
- package/dist/cli/tutorial/{sm-master/references/tour-settings.md → sm-tutorial/references/part-settings.md} +22 -24
- package/dist/cli.js +1213 -550
- package/dist/index.d.ts +1 -1
- package/dist/index.js +334 -207
- package/dist/kernel/index.d.ts +320 -15
- package/dist/kernel/index.js +334 -207
- package/dist/migrations/001_initial.sql +36 -0
- package/dist/ui/chunk-EQ72PEHT.js +1 -0
- package/dist/ui/chunk-GBKHMJ4B.js +1110 -0
- package/dist/ui/chunk-GEI6INVH.js +515 -0
- package/dist/ui/chunk-JXRIGHET.js +552 -0
- package/dist/ui/{chunk-WQMZOINB.js → chunk-K2MAVAHG.js} +1 -1
- package/dist/ui/{chunk-BV323KTK.js → chunk-KHARMPTZ.js} +1 -1
- package/dist/ui/chunk-L4NIF75A.js +2 -0
- package/dist/ui/chunk-LCOYSPKE.js +1 -0
- package/dist/ui/chunk-OFDQMBSJ.js +1 -0
- package/dist/ui/chunk-P2DAPRK7.js +2 -0
- package/dist/ui/chunk-Q2A6FWC7.js +4 -0
- package/dist/ui/{chunk-ZNDMBION.js → chunk-TXTY24G4.js} +28 -30
- package/dist/ui/chunk-UBQUCSQ4.js +1 -0
- package/dist/ui/chunk-WFLPMCK4.js +392 -0
- package/dist/ui/chunk-YQFIXHKM.js +123 -0
- package/dist/ui/index.html +2 -2
- package/dist/ui/{main-2DWVSRRX.js → main-OYITFJ7B.js} +3 -3
- package/dist/ui/{styles-QBTVKEVX.css → styles-Q4NCOJQY.css} +1 -1
- package/migrations/001_initial.sql +36 -0
- package/package.json +10 -8
- package/dist/cli/tutorial/sm-master/SKILL.md +0 -688
- package/dist/cli/tutorial/sm-master/references/fixture-templates.md +0 -212
- package/dist/ui/chunk-5MCXQKRN.js +0 -1066
- package/dist/ui/chunk-6B5EAHIM.js +0 -1110
- package/dist/ui/chunk-AEA5GIA7.js +0 -1
- package/dist/ui/chunk-AQN27TN2.js +0 -123
- package/dist/ui/chunk-CAJ7ZI44.js +0 -1
- package/dist/ui/chunk-E2XO4JVD.js +0 -1
- package/dist/ui/chunk-VJ57LHDR.js +0 -4
- package/dist/ui/chunk-WMGW2UAL.js +0 -2
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
# Fixture templates
|
|
2
|
-
|
|
3
|
-
Read this file during pre-flight steps 3 and 4 of `SKILL.md`. It
|
|
4
|
-
holds the verbatim content of every file the skill writes to the
|
|
5
|
-
cwd at boot, plus the initial `master-state.yml` template.
|
|
6
|
-
|
|
7
|
-
## Fixture layout (per provider)
|
|
8
|
-
|
|
9
|
-
Per §Provider detection in `SKILL.md`, the `<provider_dir>`
|
|
10
|
-
placeholder resolves to `.claude/` or `.agents/skills/` depending
|
|
11
|
-
on the detected runtime (Google's Antigravity CLI, which replaced
|
|
12
|
-
Gemini CLI on 2026-05-19, adopted the same open standard as
|
|
13
|
-
`agent-skills`, so both share the `.agents/skills/` layout). Drop
|
|
14
|
-
any file whose kind is not in the provider's supported set: on
|
|
15
|
-
`agent-skills` / Antigravity only the skill + note are valid;
|
|
16
|
-
on `claude` (default) all three apply.
|
|
17
|
-
|
|
18
|
-
Canonical layout (substitute `<provider_dir>` per detection):
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
<cwd>/
|
|
22
|
-
├── <provider_dir>/
|
|
23
|
-
│ ├── agents/ (claude only)
|
|
24
|
-
│ │ └── master-agent.md
|
|
25
|
-
│ └── skills/ (both providers)
|
|
26
|
-
│ └── master-skill/
|
|
27
|
-
│ └── SKILL.md
|
|
28
|
-
├── notes/
|
|
29
|
-
│ └── ideas.md
|
|
30
|
-
├── master-state.yml
|
|
31
|
-
└── findings.md
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
On `agent-skills` the `agents/` subtree is omitted (the provider
|
|
35
|
-
does not claim that kind); the skill lives at
|
|
36
|
-
`.agents/skills/master-skill/SKILL.md`.
|
|
37
|
-
|
|
38
|
-
Translate the natural-language prose (descriptions, body text,
|
|
39
|
-
list items) to the tester's language. Keep paths, frontmatter
|
|
40
|
-
keys, identifiers, and link targets in English.
|
|
41
|
-
|
|
42
|
-
## File: `.claude/agents/master-agent.md` (kind: agent)
|
|
43
|
-
|
|
44
|
-
```markdown
|
|
45
|
-
---
|
|
46
|
-
name: master-agent
|
|
47
|
-
description: |
|
|
48
|
-
Example agent used by the advanced tutorial. Has a couple of
|
|
49
|
-
tools so the `core/tools-counter` extractor emits a count.
|
|
50
|
-
tools: [Read, Bash, Edit]
|
|
51
|
-
model: sonnet
|
|
52
|
-
metadata:
|
|
53
|
-
version: "1.0.0"
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
# master-agent
|
|
57
|
-
|
|
58
|
-
Walks the master-skill outputs and reports findings. Used as the
|
|
59
|
-
target node when we exercise extractors, analyzers, and the
|
|
60
|
-
plugin-authoring flow.
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## File: `.claude/skills/master-skill/SKILL.md` (kind: skill)
|
|
64
|
-
|
|
65
|
-
```markdown
|
|
66
|
-
---
|
|
67
|
-
name: master-skill
|
|
68
|
-
description: |
|
|
69
|
-
Example skill paired with the master-agent for the advanced
|
|
70
|
-
tutorial. Links to the agent so extractors and analyzers have
|
|
71
|
-
something to chew on.
|
|
72
|
-
inputs:
|
|
73
|
-
- name: target
|
|
74
|
-
type: path
|
|
75
|
-
description: File to process.
|
|
76
|
-
required: true
|
|
77
|
-
outputs:
|
|
78
|
-
- name: report
|
|
79
|
-
type: string
|
|
80
|
-
description: Markdown summary.
|
|
81
|
-
metadata:
|
|
82
|
-
version: "1.0.0"
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
# master-skill
|
|
86
|
-
|
|
87
|
-
Hands heavy work over to the
|
|
88
|
-
[master-agent](../../agents/master-agent.md) and emits a Markdown
|
|
89
|
-
report.
|
|
90
|
-
|
|
91
|
-
## Steps
|
|
92
|
-
1. Read the `target`.
|
|
93
|
-
2. Validate the frontmatter.
|
|
94
|
-
3. Delegate to the agent.
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## File: `notes/ideas.md` (kind: markdown)
|
|
98
|
-
|
|
99
|
-
```markdown
|
|
100
|
-
---
|
|
101
|
-
name: Ideas backlog
|
|
102
|
-
description: |
|
|
103
|
-
Free-form notes for the advanced tutorial. Demonstrates the
|
|
104
|
-
catch-all markdown kind alongside the agent and skill.
|
|
105
|
-
tags: [notes, master]
|
|
106
|
-
metadata:
|
|
107
|
-
version: "1.0.0"
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
# Ideas
|
|
111
|
-
|
|
112
|
-
- [ ] Compare extractor outputs side by side.
|
|
113
|
-
- [ ] Sketch a tiny plugin that surfaces a counter on the agent.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
## File: `findings.md`
|
|
117
|
-
|
|
118
|
-
```markdown
|
|
119
|
-
# Findings, sm-master
|
|
120
|
-
|
|
121
|
-
If you spot anything weird during the tutorial, log it here.
|
|
122
|
-
|
|
123
|
-
Per finding:
|
|
124
|
-
- **Tour**: <id>
|
|
125
|
-
- **Command**: `sm ...`
|
|
126
|
-
- **Expected**: ...
|
|
127
|
-
- **Got**: ...
|
|
128
|
-
- **Notes**: ...
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
## State YAML
|
|
132
|
-
|
|
133
|
-
Write to `<cwd>/master-state.yml`. Substitute the timestamps and
|
|
134
|
-
the captured `sm version` output.
|
|
135
|
-
|
|
136
|
-
```yaml
|
|
137
|
-
master:
|
|
138
|
-
version: 1
|
|
139
|
-
started_at: "<ISO-8601 now>"
|
|
140
|
-
cwd: "<output of pwd>"
|
|
141
|
-
sm_version: "<output of sm version>"
|
|
142
|
-
provider: "<claude | agent-skills | antigravity>" # filled from §Provider detection
|
|
143
|
-
tours:
|
|
144
|
-
# Add a new tour by appending another entry here, mirroring the
|
|
145
|
-
# shape below: status, estimated_min, and a steps[] array whose
|
|
146
|
-
# ids match the prefix of the reference file that owns the body
|
|
147
|
-
# (e.g. tour-foo.md → steps prefixed `foo-*`). The orchestrator
|
|
148
|
-
# in SKILL.md walks this list and dispatches each step id to its
|
|
149
|
-
# reference file.
|
|
150
|
-
settings:
|
|
151
|
-
status: "not_started" # not_started | in_progress | done | declined
|
|
152
|
-
estimated_min: 10
|
|
153
|
-
# Config layers + the `sm config` verbs + the active provider
|
|
154
|
-
# lens. The `.sm` consent gate is covered in the basic
|
|
155
|
-
# sm-tutorial, not repeated here. Step bodies live in
|
|
156
|
-
# tour-settings.md (settings-* ids).
|
|
157
|
-
steps:
|
|
158
|
-
- id: "settings-1-layers"
|
|
159
|
-
title: "The config layers and `sm config list`"
|
|
160
|
-
status: "pending"
|
|
161
|
-
- id: "settings-2-resolve"
|
|
162
|
-
title: "Read, resolve, and set a value with `sm config`"
|
|
163
|
-
status: "pending"
|
|
164
|
-
- id: "settings-3-lens"
|
|
165
|
-
title: "The active provider lens (`activeProvider`)"
|
|
166
|
-
status: "pending"
|
|
167
|
-
plugins-tour:
|
|
168
|
-
status: "not_started"
|
|
169
|
-
estimated_min: 13
|
|
170
|
-
# All step bodies live in tour-plugins.md (tour-* ids).
|
|
171
|
-
steps:
|
|
172
|
-
- id: "tour-1-intro"
|
|
173
|
-
title: "How plugins work"
|
|
174
|
-
status: "pending"
|
|
175
|
-
- id: "tour-2-kinds"
|
|
176
|
-
title: "The six extension kinds"
|
|
177
|
-
status: "pending"
|
|
178
|
-
- id: "tour-3-explore"
|
|
179
|
-
title: "Explore one extension up close"
|
|
180
|
-
status: "pending"
|
|
181
|
-
build-and-configure:
|
|
182
|
-
status: "not_started"
|
|
183
|
-
estimated_min: 17
|
|
184
|
-
# Author a plugin end-to-end, then watch its contribution land
|
|
185
|
-
# and validate the manifest. Step bodies live in the two
|
|
186
|
-
# existing reference files (settings-* → tour-settings.md,
|
|
187
|
-
# authoring-* → tour-authoring.md); this list is the
|
|
188
|
-
# authoritative order.
|
|
189
|
-
steps:
|
|
190
|
-
- id: "authoring-1-scaffold"
|
|
191
|
-
title: "`sm plugins create demo-highlight`"
|
|
192
|
-
status: "pending"
|
|
193
|
-
- id: "authoring-2-anatomy"
|
|
194
|
-
title: "Tour the scaffold (plugin.json + stubs + README)"
|
|
195
|
-
status: "pending"
|
|
196
|
-
- id: "authoring-3-edit-setting"
|
|
197
|
-
title: "Edit a setting (string-list) and observe it in the UI"
|
|
198
|
-
status: "pending"
|
|
199
|
-
- id: "authoring-4-edit-slot"
|
|
200
|
-
title: "Change the view-slot the contribution targets"
|
|
201
|
-
status: "pending"
|
|
202
|
-
- id: "settings-6-contributions"
|
|
203
|
-
title: "Watch contributions land in the inspector"
|
|
204
|
-
status: "pending"
|
|
205
|
-
- id: "authoring-5-doctor-author"
|
|
206
|
-
title: "Catch a manifest mistake with `sm plugins doctor`"
|
|
207
|
-
status: "pending"
|
|
208
|
-
- id: "authoring-6-upgrade"
|
|
209
|
-
title: "Try `sm plugins upgrade` (no-op today, structure tour)"
|
|
210
|
-
status: "pending"
|
|
211
|
-
findings_file: "./findings.md"
|
|
212
|
-
```
|