@se-studio/skills 1.3.0 → 1.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @se-studio/skills
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Move CMS guidelines prompt pack from `skills/` to `references/` so skills-npm no longer reports `file_error` for `contentful-cms-cms-guidelines`. Update pipeline doc links in CMS guideline skills.
8
+
3
9
  ## 1.3.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -21,6 +21,15 @@ npx skills add @se-studio/skills
21
21
 
22
22
  Auto-sync on `pnpm install` (see [`packages/project-build/README.md`](../project-build/README.md) for the full `package.json` snippet). Use `pnpm skills:sync` manually to add or refresh third-party skill packs.
23
23
 
24
+ ## Package layout
25
+
26
+ | Path | Purpose |
27
+ |------|---------|
28
+ | `skills/<name>/SKILL.md` | Agent skills — the only directories scanned by `skills-npm` and the skills CLI |
29
+ | `references/<name>/` | Support docs, prompt packs, and pipeline references (no `SKILL.md`) |
30
+
31
+ Do **not** place non-skill material under `skills/` — directories there without `SKILL.md` cause `file_error` warnings in consumer repos on `pnpm install`.
32
+
24
33
  ## Authoring skills
25
34
 
26
35
  Canonical sources live in `packages/skills/skills/<skill-dir>/SKILL.md`. Do **not** edit `.agents/skills/` by hand.
@@ -56,7 +65,7 @@ Claude Code uses a naive frontmatter parser; violations cause descriptions to si
56
65
 
57
66
  1. Edit `packages/skills/skills/<skill-dir>/SKILL.md`
58
67
  2. Validate: `pnpm skills:validate`
59
- 3. Sync: `pnpm skills:sync`
68
+ 3. Sync: `pnpm skills:sync` (copies `skills/` → `.agents/skills/` and `references/` → `.agents/references/`)
60
69
  4. Add a changeset if publishing `@se-studio/skills`
61
70
 
62
71
  ### cms-edit bundled skills (`@se-studio/contentful-cms`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/skills",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,6 +10,7 @@
10
10
  "license": "MIT",
11
11
  "files": [
12
12
  "skills",
13
+ "references",
13
14
  "*.md"
14
15
  ],
15
16
  "keywords": [
@@ -18,7 +18,7 @@ Guidelines are short markdown fragments — one per CMS type — that describe h
18
18
  pnpm --filter <appName> generate-showcase
19
19
  ```
20
20
  This writes `src/generated/showcase-examples.json`.
21
- 3. **Curate showcase mocks** — run the [curate-showcase-mocks skill](../se-marketing-sites-curate-showcase-mocks/SKILL.md) to select the best examples into `showcase-mocks.json`. This makes the showcase (and screenshots) show realistic content.
21
+ 3. **Curate showcase mocks** — run the [curate-showcase-mocks skill](../../skills/se-marketing-sites-curate-showcase-mocks/SKILL.md) to select the best examples into `showcase-mocks.json`. This makes the showcase (and screenshots) show realistic content.
22
22
  4. **Generate field list** — parse TypeScript types to produce structured field metadata:
23
23
  ```bash
24
24
  # From the app directory:
@@ -27,7 +27,7 @@ Guidelines are short markdown fragments — one per CMS type — that describe h
27
27
  # Or from repo root:
28
28
  pnpm --filter <appName> exec cms-generate-field-list --app-dir .
29
29
  ```
30
- 5. **Generate guidelines** — run the [Generate CMS guidelines skill](../contentful-cms-generate-cms-guidelines/SKILL.md).
30
+ 5. **Generate guidelines** — run the [Generate CMS guidelines skill](../../skills/contentful-cms-generate-cms-guidelines/SKILL.md).
31
31
 
32
32
  Steps 1–3 only need to be repeated when content or component code changes significantly. Step 4 only needs to be repeated when TypeScript types change. Step 5 can be re-run at any time.
33
33
 
@@ -35,7 +35,7 @@ Steps 1–3 only need to be repeated when content or component code changes sign
35
35
 
36
36
  ## How to run guideline generation
37
37
 
38
- Use the Cursor skill at [`../contentful-cms-generate-cms-guidelines/SKILL.md`](../contentful-cms-generate-cms-guidelines/SKILL.md). It supports three modes:
38
+ Use the Cursor skill at [`../../skills/contentful-cms-generate-cms-guidelines/SKILL.md`](../../skills/contentful-cms-generate-cms-guidelines/SKILL.md). It supports three modes:
39
39
 
40
40
  | Mode | When to use |
41
41
  |---|---|
@@ -197,9 +197,9 @@ IMPORTANT: Screenshots have already been captured. Skip Phase A entirely.
197
197
  Go straight to Phase B.
198
198
 
199
199
  Files to read before starting:
200
- - ../contentful-cms-cms-guidelines/generation-prompt.md (Phase B instructions)
201
- - ../contentful-cms-cms-guidelines/colour-hint-prompt.md (Phase C instructions)
202
- - ../contentful-cms-cms-guidelines/validation-prompt.md (Phase D instructions)
200
+ - ../../references/contentful-cms-cms-guidelines/generation-prompt.md (Phase B instructions)
201
+ - ../../references/contentful-cms-cms-guidelines/colour-hint-prompt.md (Phase C instructions)
202
+ - ../../references/contentful-cms-cms-guidelines/validation-prompt.md (Phase D instructions)
203
203
  - <APP_DIR>/src/project/components/<TypeName>.tsx (component source)
204
204
  - <APP_DIR>/generated/cms-discovery/field-list.json
205
205
  - <APP_DIR>/src/generated/cms-discovery/accepted-variants/{components|collections|externals}/<type-slug>.json
@@ -112,7 +112,7 @@ Example of a completed `## Fields & Schema` section:
112
112
  ### Step 3 — Generate component guidelines
113
113
 
114
114
  For each component in discovery order, run the full per-component pipeline defined in
115
- [`generate-component-guidelines.md`](../contentful-cms-cms-guidelines/generate-component-guidelines.md).
115
+ [`generate-component-guidelines.md`](../../references/contentful-cms-cms-guidelines/generate-component-guidelines.md).
116
116
 
117
117
  To find unfinished components:
118
118
  1. Fetch `<discoveryUrl>` and collect all `components[].name` values.
@@ -128,12 +128,12 @@ Run a Cursor subagent with this prompt, substituting `<COMPONENT_TYPE>` and `<AP
128
128
  Run the full guideline generation pipeline for <COMPONENT_TYPE>.
129
129
  Target app: <APP_DIR> (all paths relative to repo root / that directory).
130
130
 
131
- Read these pipeline docs first (sibling directory contentful-cms-cms-guidelines/):
132
- - ../contentful-cms-cms-guidelines/generate-component-guidelines.md (overall pipeline)
133
- - ../contentful-cms-cms-guidelines/variant-loop.md (Phase A: variant loop)
134
- - ../contentful-cms-cms-guidelines/generation-prompt.md (Phase B: generation)
135
- - ../contentful-cms-cms-guidelines/colour-hint-prompt.md (Phase C: colour hint)
136
- - ../contentful-cms-cms-guidelines/validation-prompt.md (Phase D: validation)
131
+ Read these pipeline docs first (references/contentful-cms-cms-guidelines/):
132
+ - ../../references/contentful-cms-cms-guidelines/generate-component-guidelines.md (overall pipeline)
133
+ - ../../references/contentful-cms-cms-guidelines/variant-loop.md (Phase A: variant loop)
134
+ - ../../references/contentful-cms-cms-guidelines/generation-prompt.md (Phase B: generation)
135
+ - ../../references/contentful-cms-cms-guidelines/colour-hint-prompt.md (Phase C: colour hint)
136
+ - ../../references/contentful-cms-cms-guidelines/validation-prompt.md (Phase D: validation)
137
137
 
138
138
  === Phase A: Variant loop ===
139
139
  Follow variant-loop.md.
@@ -282,7 +282,7 @@ These links:
282
282
 
283
283
  ## Pipeline reference
284
284
 
285
- All per-component pipeline docs live in the sibling directory [`contentful-cms-cms-guidelines/`](../contentful-cms-cms-guidelines/):
285
+ All per-component pipeline docs live in [`references/contentful-cms-cms-guidelines/`](../../references/contentful-cms-cms-guidelines/):
286
286
 
287
287
  | File | Purpose |
288
288
  |---|---|
@@ -338,4 +338,4 @@ Follow [`../contentful-cms-regenerate-editor-pack/SKILL.md`](../contentful-cms-r
338
338
  | Full-site bulk generation (Step 4 of `fresh`: Phases 0–5) | [`../contentful-cms-generate-all-guidelines/SKILL.md`](../contentful-cms-generate-all-guidelines/SKILL.md) |
339
339
  | Single-type regeneration (after code change) | [`../contentful-cms-generate-cms-guidelines/SKILL.md`](../contentful-cms-generate-cms-guidelines/SKILL.md) (mode: single) |
340
340
  | Regenerate hosted editor pack | [`../contentful-cms-regenerate-editor-pack/SKILL.md`](../contentful-cms-regenerate-editor-pack/SKILL.md) |
341
- | Per-component pipeline detail | [`generate-component-guidelines.md`](../contentful-cms-cms-guidelines/generate-component-guidelines.md) |
341
+ | Per-component pipeline detail | [`generate-component-guidelines.md`](../../references/contentful-cms-cms-guidelines/generate-component-guidelines.md) |