@hippo-digital/hippocampus 1.0.0 → 2.0.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/CHANGELOG.md +53 -0
- package/agents/README.md +6 -6
- package/agents/accessibility-tester.md +2 -2
- package/agents/ingestion-curator.md +9 -9
- package/agents/knowledge-builder.md +9 -9
- package/agents/prototype-builder.md +3 -3
- package/agents/screenshot-runner.md +2 -2
- package/agents/workflow-orchestrator.md +16 -16
- package/docs/agent-roadmap.md +2 -2
- package/docs/custom-agents-usage.md +1 -1
- package/docs/repeatable-research-round-ingestion.md +3 -3
- package/docs/research-knowledge-graph.md +5 -5
- package/package.json +1 -1
- package/scripts/install-skills.js +93 -3
- package/scripts/validate-skills.js +64 -5
- package/skills/README.md +18 -18
- package/skills/SKILL-FORMAT.md +24 -5
- package/skills/{add-prototype-screen.skill.md → add-prototype-screen/SKILL.md} +2 -0
- package/skills/{add-scenario.skill.md → add-scenario/SKILL.md} +2 -0
- package/skills/{add-user-needs.skill.md → add-user-needs/SKILL.md} +2 -0
- package/skills/{audit-knowledge-source.skill.md → audit-knowledge-source/SKILL.md} +2 -0
- package/skills/{capture-route-review-pack.skill.md → capture-route-review-pack/SKILL.md} +2 -0
- package/skills/{create-journey-from-scenario.skill.md → create-journey-from-scenario/SKILL.md} +2 -0
- package/skills/{deliver-service-slice.skill.md → deliver-service-slice/SKILL.md} +2 -0
- package/skills/examples/README.md +1 -1
- package/skills/examples/non-copilot-research-ingestion.md +1 -1
- package/skills/examples/non-copilot-service-slice.md +1 -1
- package/skills/{generate-service-slice.skill.md → generate-service-slice/SKILL.md} +2 -0
- package/skills/{ingest-project-context.skill.md → ingest-project-context/SKILL.md} +2 -0
- package/skills/{ingest-research-round.skill.md → ingest-research-round/SKILL.md} +2 -0
- package/skills/{ingest-user-personas.skill.md → ingest-user-personas/SKILL.md} +2 -0
- package/skills/{map-research-to-graph.skill.md → map-research-to-graph/SKILL.md} +2 -0
- package/skills/{onboard-team-member.skill.md → onboard-team-member/SKILL.md} +2 -0
- package/skills/{record-accessibility-review.skill.md → record-accessibility-review/SKILL.md} +2 -0
- package/skills/{record-design-decision.skill.md → record-design-decision/SKILL.md} +2 -0
- package/skills/{review-research-import-draft.skill.md → review-research-import-draft/SKILL.md} +2 -0
- package/skills/skills.json +21 -21
- package/skills/skills.schema.json +1 -1
- package/skills/{structure-project-context-draft.skill.md → structure-project-context-draft/SKILL.md} +2 -0
- package/skills/{structure-research-draft.skill.md → structure-research-draft/SKILL.md} +2 -0
- package/skills/{triage-research-corpus.skill.md → triage-research-corpus/SKILL.md} +2 -0
- package/skills/{write-delivery-summary.skill.md → write-delivery-summary/SKILL.md} +2 -0
- package/skills/{write-route-review-summary.skill.md → write-route-review-summary/SKILL.md} +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
Skills install in the layout agent runtimes actually read.
|
|
6
|
+
|
|
7
|
+
### Why this is a major version
|
|
8
|
+
|
|
9
|
+
`skills install` writes to different paths. A host that upgrades gets
|
|
10
|
+
`.github/skills/<name>/SKILL.md` where it had `.github/skills/<name>.skill.md`,
|
|
11
|
+
and anything of its own that referred to the old paths - a custom agent's
|
|
12
|
+
Preferred Skills list, a runbook, a script - needs repointing. Nothing about
|
|
13
|
+
the knowledge base changes, and `schemaVersion` stays at 1.
|
|
14
|
+
|
|
15
|
+
### The layout
|
|
16
|
+
|
|
17
|
+
Skills were flat `<name>.skill.md` files. That is not a shape any agent runtime
|
|
18
|
+
discovers: GitHub Copilot, Claude and the rest implement the
|
|
19
|
+
[Agent Skills](https://agentskills.io) standard, which defines a skill as a
|
|
20
|
+
**directory containing `SKILL.md`**. A flat file is read only when an agent has
|
|
21
|
+
been told its exact path - so 21 installed skills were, in practice, loadable
|
|
22
|
+
only by naming them one at a time, and invisible to anything else.
|
|
23
|
+
|
|
24
|
+
Every skill is now a directory, and every `SKILL.md` front matter opens with the
|
|
25
|
+
two fields the standard requires:
|
|
26
|
+
|
|
27
|
+
- `name`, which must equal the directory name. `id` stays for the catalog, and
|
|
28
|
+
the validator asserts the two match so they cannot drift.
|
|
29
|
+
- `description`, which is the **only** thing an agent sees before deciding
|
|
30
|
+
whether to load a skill at all. All 21 were written fresh rather than derived
|
|
31
|
+
from `purpose`: a purpose says what the skill produces, and a description has
|
|
32
|
+
to say when somebody would want it, in the words they would use. The validator
|
|
33
|
+
rejects one with no trigger clause, because a description that only restates
|
|
34
|
+
the title is a skill that never fires.
|
|
35
|
+
|
|
36
|
+
The remaining keys stay at the top level. The standard offers `metadata` for
|
|
37
|
+
extra data but permits only string values, and these are arrays; unknown keys
|
|
38
|
+
are not rejected, and splitting one skill across two files would cost more than
|
|
39
|
+
it buys.
|
|
40
|
+
|
|
41
|
+
### Upgrading
|
|
42
|
+
|
|
43
|
+
`skills install` removes the flat copies it wrote. It removes only those: a
|
|
44
|
+
flat file whose hash no longer matches what was installed is left in place and
|
|
45
|
+
named, because that is somebody's edit and nothing else holds a copy. Two copies
|
|
46
|
+
of every skill - one of them invisible to every runtime - is a worse failure
|
|
47
|
+
than a file left behind, so the removal is deliberate rather than a tidy-up.
|
|
48
|
+
|
|
49
|
+
`skills validate` reports a leftover flat file as an error rather than ignoring
|
|
50
|
+
it. It looks installed and is not, which is the hardest kind of thing to notice.
|
|
51
|
+
|
|
52
|
+
The release gate counts installed skills by directory. Counting flat files would
|
|
53
|
+
have passed an install that produced nothing any agent could see - which it did,
|
|
54
|
+
on the first run of this change.
|
|
55
|
+
|
|
3
56
|
## 1.0.0
|
|
4
57
|
|
|
5
58
|
First published release.
|
package/agents/README.md
CHANGED
|
@@ -23,10 +23,10 @@ Use the source model as the handoff contract between agents.
|
|
|
23
23
|
|
|
24
24
|
## Common entrypoints
|
|
25
25
|
|
|
26
|
-
- End-to-end research ingestion: `.github/skills/ingest-research-round.
|
|
27
|
-
- End-to-end project context ingestion: `.github/skills/ingest-project-context.
|
|
28
|
-
- End-to-end service slice delivery: `.github/skills/deliver-service-slice.
|
|
29
|
-
- Route review pack: `.github/skills/capture-route-review-pack.
|
|
30
|
-
- Accessibility review note: `.github/skills/record-accessibility-review.
|
|
31
|
-
- Route review handover: `.github/skills/write-route-review-summary.
|
|
26
|
+
- End-to-end research ingestion: `.github/skills/ingest-research-round/SKILL.md`
|
|
27
|
+
- End-to-end project context ingestion: `.github/skills/ingest-project-context/SKILL.md`
|
|
28
|
+
- End-to-end service slice delivery: `.github/skills/deliver-service-slice/SKILL.md`
|
|
29
|
+
- Route review pack: `.github/skills/capture-route-review-pack/SKILL.md`
|
|
30
|
+
- Accessibility review note: `.github/skills/record-accessibility-review/SKILL.md`
|
|
31
|
+
- Route review handover: `.github/skills/write-route-review-summary/SKILL.md`
|
|
32
32
|
|
|
@@ -11,8 +11,8 @@ Reviews accessibility of changed prototype and Hippocampus pages.
|
|
|
11
11
|
|
|
12
12
|
## Preferred Skills
|
|
13
13
|
|
|
14
|
-
- `.github/skills/record-accessibility-review.
|
|
15
|
-
- `.github/skills/write-route-review-summary.
|
|
14
|
+
- `.github/skills/record-accessibility-review/SKILL.md`
|
|
15
|
+
- `.github/skills/write-route-review-summary/SKILL.md`
|
|
16
16
|
|
|
17
17
|
## Read First
|
|
18
18
|
|
|
@@ -12,15 +12,15 @@ Improves script-generated research and project-context drafts before human revie
|
|
|
12
12
|
|
|
13
13
|
## Preferred Skills
|
|
14
14
|
|
|
15
|
-
- `.github/skills/ingest-project-context.
|
|
16
|
-
- `.github/skills/ingest-research-round.
|
|
17
|
-
- `.github/skills/structure-project-context-draft.
|
|
18
|
-
- `.github/skills/structure-research-draft.
|
|
19
|
-
- `.github/skills/review-research-import-draft.
|
|
20
|
-
- `.github/skills/map-research-to-graph.
|
|
21
|
-
- `.github/skills/ingest-user-personas.
|
|
22
|
-
- `.github/skills/record-design-decision.
|
|
23
|
-
- `.github/skills/triage-research-corpus.
|
|
15
|
+
- `.github/skills/ingest-project-context/SKILL.md`
|
|
16
|
+
- `.github/skills/ingest-research-round/SKILL.md`
|
|
17
|
+
- `.github/skills/structure-project-context-draft/SKILL.md`
|
|
18
|
+
- `.github/skills/structure-research-draft/SKILL.md`
|
|
19
|
+
- `.github/skills/review-research-import-draft/SKILL.md`
|
|
20
|
+
- `.github/skills/map-research-to-graph/SKILL.md`
|
|
21
|
+
- `.github/skills/ingest-user-personas/SKILL.md`
|
|
22
|
+
- `.github/skills/record-design-decision/SKILL.md`
|
|
23
|
+
- `.github/skills/triage-research-corpus/SKILL.md`
|
|
24
24
|
|
|
25
25
|
## Read First
|
|
26
26
|
|
|
@@ -12,15 +12,15 @@ Maintains the Hippocampus source model.
|
|
|
12
12
|
|
|
13
13
|
## Preferred Skills
|
|
14
14
|
|
|
15
|
-
- `.github/skills/deliver-service-slice.
|
|
16
|
-
- `.github/skills/generate-service-slice.
|
|
17
|
-
- `.github/skills/add-user-needs.
|
|
18
|
-
- `.github/skills/add-scenario.
|
|
19
|
-
- `.github/skills/create-journey-from-scenario.
|
|
20
|
-
- `.github/skills/audit-knowledge-source.
|
|
21
|
-
- `.github/skills/ingest-user-personas.
|
|
22
|
-
- `.github/skills/record-design-decision.
|
|
23
|
-
- `.github/skills/onboard-team-member.
|
|
15
|
+
- `.github/skills/deliver-service-slice/SKILL.md`
|
|
16
|
+
- `.github/skills/generate-service-slice/SKILL.md`
|
|
17
|
+
- `.github/skills/add-user-needs/SKILL.md`
|
|
18
|
+
- `.github/skills/add-scenario/SKILL.md`
|
|
19
|
+
- `.github/skills/create-journey-from-scenario/SKILL.md`
|
|
20
|
+
- `.github/skills/audit-knowledge-source/SKILL.md`
|
|
21
|
+
- `.github/skills/ingest-user-personas/SKILL.md`
|
|
22
|
+
- `.github/skills/record-design-decision/SKILL.md`
|
|
23
|
+
- `.github/skills/onboard-team-member/SKILL.md`
|
|
24
24
|
|
|
25
25
|
## Read First
|
|
26
26
|
|
|
@@ -12,9 +12,9 @@ Builds NHS Prototype Kit routes and views from the source model.
|
|
|
12
12
|
|
|
13
13
|
## Preferred Skills
|
|
14
14
|
|
|
15
|
-
- `.github/skills/deliver-service-slice.
|
|
16
|
-
- `.github/skills/add-prototype-screen.
|
|
17
|
-
- `.github/skills/audit-knowledge-source.
|
|
15
|
+
- `.github/skills/deliver-service-slice/SKILL.md`
|
|
16
|
+
- `.github/skills/add-prototype-screen/SKILL.md`
|
|
17
|
+
- `.github/skills/audit-knowledge-source/SKILL.md`
|
|
18
18
|
|
|
19
19
|
## Read First
|
|
20
20
|
|
|
@@ -12,8 +12,8 @@ Captures review evidence for prototype and Hippocampus routes.
|
|
|
12
12
|
|
|
13
13
|
## Preferred Skills
|
|
14
14
|
|
|
15
|
-
- `.github/skills/capture-route-review-pack.
|
|
16
|
-
- `.github/skills/write-route-review-summary.
|
|
15
|
+
- `.github/skills/capture-route-review-pack/SKILL.md`
|
|
16
|
+
- `.github/skills/write-route-review-summary/SKILL.md`
|
|
17
17
|
|
|
18
18
|
## Read First
|
|
19
19
|
|
|
@@ -12,22 +12,22 @@ Coordinates larger Hippocampus delivery work.
|
|
|
12
12
|
|
|
13
13
|
## Preferred Skills
|
|
14
14
|
|
|
15
|
-
- `.github/skills/deliver-service-slice.
|
|
16
|
-
- `.github/skills/ingest-project-context.
|
|
17
|
-
- `.github/skills/ingest-research-round.
|
|
18
|
-
- `.github/skills/write-delivery-summary.
|
|
19
|
-
- `.github/skills/capture-route-review-pack.
|
|
20
|
-
- `.github/skills/record-accessibility-review.
|
|
21
|
-
- `.github/skills/write-route-review-summary.
|
|
22
|
-
- `.github/skills/generate-service-slice.
|
|
23
|
-
- `.github/skills/add-prototype-screen.
|
|
24
|
-
- `.github/skills/structure-project-context-draft.
|
|
25
|
-
- `.github/skills/structure-research-draft.
|
|
26
|
-
- `.github/skills/review-research-import-draft.
|
|
27
|
-
- `.github/skills/map-research-to-graph.
|
|
28
|
-
- `.github/skills/audit-knowledge-source.
|
|
29
|
-
- `.github/skills/triage-research-corpus.
|
|
30
|
-
- `.github/skills/onboard-team-member.
|
|
15
|
+
- `.github/skills/deliver-service-slice/SKILL.md`
|
|
16
|
+
- `.github/skills/ingest-project-context/SKILL.md`
|
|
17
|
+
- `.github/skills/ingest-research-round/SKILL.md`
|
|
18
|
+
- `.github/skills/write-delivery-summary/SKILL.md`
|
|
19
|
+
- `.github/skills/capture-route-review-pack/SKILL.md`
|
|
20
|
+
- `.github/skills/record-accessibility-review/SKILL.md`
|
|
21
|
+
- `.github/skills/write-route-review-summary/SKILL.md`
|
|
22
|
+
- `.github/skills/generate-service-slice/SKILL.md`
|
|
23
|
+
- `.github/skills/add-prototype-screen/SKILL.md`
|
|
24
|
+
- `.github/skills/structure-project-context-draft/SKILL.md`
|
|
25
|
+
- `.github/skills/structure-research-draft/SKILL.md`
|
|
26
|
+
- `.github/skills/review-research-import-draft/SKILL.md`
|
|
27
|
+
- `.github/skills/map-research-to-graph/SKILL.md`
|
|
28
|
+
- `.github/skills/audit-knowledge-source/SKILL.md`
|
|
29
|
+
- `.github/skills/triage-research-corpus/SKILL.md`
|
|
30
|
+
- `.github/skills/onboard-team-member/SKILL.md`
|
|
31
31
|
|
|
32
32
|
## Required Finish
|
|
33
33
|
|
package/docs/agent-roadmap.md
CHANGED
|
@@ -18,7 +18,7 @@ Use these as the baseline before changing the agent model:
|
|
|
18
18
|
## Intended End State
|
|
19
19
|
|
|
20
20
|
- Copilot-first discovery through `.github/copilot-instructions.md`, `.github/instructions/` and `.github/agents/`.
|
|
21
|
-
- Portable task recipes through `.github/skills/skills.json` and
|
|
21
|
+
- Portable task recipes through `.github/skills/skills.json` and `<name>/SKILL.md` files.
|
|
22
22
|
- Review-first ingestion: script extracts -> skill structures -> human reviews -> promotion validates.
|
|
23
23
|
- Source-first editing: `hippocampus/source/` stays canonical and `artefacts/` stays generated only.
|
|
24
24
|
- Traceability stays visible from research and project context through needs, journeys, screens and decisions.
|
|
@@ -55,7 +55,7 @@ The original prompt guardrails describe staged workflows that are still slightly
|
|
|
55
55
|
**Likely files**
|
|
56
56
|
|
|
57
57
|
- `.github/skills/skills.json`
|
|
58
|
-
- new
|
|
58
|
+
- new `<name>/SKILL.md` files in `.github/skills/`
|
|
59
59
|
- `.github/skills/README.md`
|
|
60
60
|
- `docs/custom-agents-usage.md`
|
|
61
61
|
|
|
@@ -6,7 +6,7 @@ Task recipes now live in `.github/skills/`. Use role agents for delegation, then
|
|
|
6
6
|
|
|
7
7
|
For old prompt lookups, use `.github/skills/COVERAGE-MATRIX.md` to map archived prompt names to the current skill and role-agent entrypoints.
|
|
8
8
|
|
|
9
|
-
After changing the skill catalog or any
|
|
9
|
+
After changing the skill catalog or any `<name>/SKILL.md`, run `npx hippocampus skills validate`.
|
|
10
10
|
|
|
11
11
|
For cross-runtime examples, see `.github/skills/examples/`.
|
|
12
12
|
|
|
@@ -93,7 +93,7 @@ the records it could become, and writes a review pack to
|
|
|
93
93
|
to `hippocampus/source/`.
|
|
94
94
|
|
|
95
95
|
Work down the tiers, take Tier 1 into the inbox first, and follow the round workflow
|
|
96
|
-
below one round at a time. `.github/skills/triage-research-corpus.
|
|
96
|
+
below one round at a time. `.github/skills/triage-research-corpus/SKILL.md` is the
|
|
97
97
|
skill entry point.
|
|
98
98
|
|
|
99
99
|
## Research Round Workflow
|
|
@@ -113,7 +113,7 @@ skill entry point.
|
|
|
113
113
|
hippocampus/imports/research/<draft-id>.json
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
4. Ask an AI coding agent to use `.github/agents/ingestion-curator.md` and follow `.github/skills/structure-research-draft.
|
|
116
|
+
4. Ask an AI coding agent to use `.github/agents/ingestion-curator.md` and follow `.github/skills/structure-research-draft/SKILL.md` against the draft.
|
|
117
117
|
5. Review the changed JSON and the review Markdown together.
|
|
118
118
|
6. Run a dry-run promotion:
|
|
119
119
|
|
|
@@ -152,7 +152,7 @@ Use project context for overview material such as project purpose, pilot scope,
|
|
|
152
152
|
hippocampus/imports/project/<draft-id>.json
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
4. Ask an AI coding agent to use `.github/agents/ingestion-curator.md` and follow `.github/skills/structure-project-context-draft.
|
|
155
|
+
4. Ask an AI coding agent to use `.github/agents/ingestion-curator.md` and follow `.github/skills/structure-project-context-draft/SKILL.md` against the draft.
|
|
156
156
|
5. Review the changed JSON and the review Markdown together.
|
|
157
157
|
6. Run a dry-run promotion:
|
|
158
158
|
|
|
@@ -213,11 +213,11 @@ For the step-by-step team workflow, use `docs/repeatable-research-round-ingestio
|
|
|
213
213
|
|
|
214
214
|
The active skill entry points are:
|
|
215
215
|
|
|
216
|
-
- `.github/skills/ingest-research-round.
|
|
217
|
-
- `.github/skills/ingest-project-context.
|
|
218
|
-
- `.github/skills/structure-research-draft.
|
|
219
|
-
- `.github/skills/review-research-import-draft.
|
|
220
|
-
- `.github/skills/map-research-to-graph.
|
|
216
|
+
- `.github/skills/ingest-research-round/SKILL.md`
|
|
217
|
+
- `.github/skills/ingest-project-context/SKILL.md`
|
|
218
|
+
- `.github/skills/structure-research-draft/SKILL.md`
|
|
219
|
+
- `.github/skills/review-research-import-draft/SKILL.md`
|
|
220
|
+
- `.github/skills/map-research-to-graph/SKILL.md`
|
|
221
221
|
|
|
222
222
|
The skills should not promote drafts. Promotion remains a deliberate command so source changes stay reviewable and auditable.
|
|
223
223
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hippo-digital/hippocampus",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "A design-knowledge base for NHS Prototype Kit projects: research, insights, needs, journeys and screens, traceable end to end.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,6 +47,77 @@ function hash (text) {
|
|
|
47
47
|
return crypto.createHash('sha256').update(text).digest('hex').slice(0, 16)
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Files to install, as paths relative to the tree root.
|
|
52
|
+
*
|
|
53
|
+
* Skills are `<name>/SKILL.md` rather than `<name>.skill.md` because that is
|
|
54
|
+
* what the Agent Skills standard specifies and what Copilot, Claude and the
|
|
55
|
+
* rest actually discover. A flat file in `.github/skills/` is read by nobody
|
|
56
|
+
* unless an agent has been told its exact path - which is how 21 skills sat in
|
|
57
|
+
* a host being loaded only when somebody named them.
|
|
58
|
+
*
|
|
59
|
+
* One level of nesting is enough for the standard, and going deeper would mean
|
|
60
|
+
* a skill could hide another skill.
|
|
61
|
+
*/
|
|
62
|
+
function listSourceFiles (dir) {
|
|
63
|
+
const out = []
|
|
64
|
+
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
65
|
+
if (entry.isDirectory()) {
|
|
66
|
+
for (const child of fs.readdirSync(path.join(dir, entry.name))) {
|
|
67
|
+
if (/\.(md|json)$/.test(child)) out.push(path.join(entry.name, child))
|
|
68
|
+
}
|
|
69
|
+
continue
|
|
70
|
+
}
|
|
71
|
+
if (/\.(md|json)$/.test(entry.name)) out.push(entry.name)
|
|
72
|
+
}
|
|
73
|
+
return out
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Remove the flat `<name>.skill.md` files a previous version of this command
|
|
78
|
+
* installed, now that the same skills live at `<name>/SKILL.md`.
|
|
79
|
+
*
|
|
80
|
+
* Only files this command wrote and the host has not edited are removed - the
|
|
81
|
+
* manifest records a hash of each, so an edited one is left behind and named
|
|
82
|
+
* instead. Leaving them all would be worse than a tidiness problem: two copies
|
|
83
|
+
* of every skill, one of which no agent can see, and a catalog that points at
|
|
84
|
+
* whichever the host happens to validate.
|
|
85
|
+
*/
|
|
86
|
+
function migrateFlatSkills (targetDir, manifestFiles) {
|
|
87
|
+
const removed = []
|
|
88
|
+
const keptEdited = []
|
|
89
|
+
const stuck = []
|
|
90
|
+
|
|
91
|
+
for (const name of Object.keys(manifestFiles)) {
|
|
92
|
+
if (!name.endsWith('.skill.md')) continue
|
|
93
|
+
const flat = path.join(targetDir, name)
|
|
94
|
+
if (!fs.existsSync(flat)) { delete manifestFiles[name]; continue }
|
|
95
|
+
|
|
96
|
+
if (hash(fs.readFileSync(flat, 'utf8')) !== manifestFiles[name]) {
|
|
97
|
+
keptEdited.push(name)
|
|
98
|
+
continue
|
|
99
|
+
}
|
|
100
|
+
if (!dryRun) {
|
|
101
|
+
// A removal that fails must not abort the upgrade. The files are already
|
|
102
|
+
// installed in their new home by this point, so throwing here would leave
|
|
103
|
+
// the host migrated but with its catalog unmerged and its manifest
|
|
104
|
+
// unwritten - a worse state than a leftover file, and one the next run
|
|
105
|
+
// cannot reason about. Read-only files, a lock on Windows and a mount
|
|
106
|
+
// that refuses unlink all reach this line.
|
|
107
|
+
try {
|
|
108
|
+
fs.rmSync(flat)
|
|
109
|
+
delete manifestFiles[name]
|
|
110
|
+
} catch (error) {
|
|
111
|
+
stuck.push(`${name} (${error.code || error.message})`)
|
|
112
|
+
continue
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
removed.push(name)
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return { removed, keptEdited, stuck }
|
|
119
|
+
}
|
|
120
|
+
|
|
50
121
|
function main () {
|
|
51
122
|
const { root } = resolveRoot({ argv })
|
|
52
123
|
const skillsTarget = path.join(root, '.github/skills')
|
|
@@ -87,6 +158,23 @@ function main () {
|
|
|
87
158
|
}
|
|
88
159
|
|
|
89
160
|
if (tree.key === 'files') {
|
|
161
|
+
const migrated = migrateFlatSkills(path.join(root, tree.target), manifest[tree.key])
|
|
162
|
+
if (migrated.removed.length) {
|
|
163
|
+
console.log(` ${dryRun ? 'would remove' : 'removed'} the old flat copies: ${migrated.removed.length}`)
|
|
164
|
+
}
|
|
165
|
+
if (migrated.stuck.length) {
|
|
166
|
+
anySkipped = true
|
|
167
|
+
console.log(' old flat copies that could not be removed:')
|
|
168
|
+
for (const name of migrated.stuck) console.log(` ${name}`)
|
|
169
|
+
console.log(' nothing reads these any more - delete them by hand.')
|
|
170
|
+
}
|
|
171
|
+
if (migrated.keptEdited.length) {
|
|
172
|
+
anySkipped = true
|
|
173
|
+
console.log(' old flat copies left because they have been edited here:')
|
|
174
|
+
for (const name of migrated.keptEdited) console.log(` ${name}`)
|
|
175
|
+
console.log(' nothing reads these any more - keep what you changed, then delete them.')
|
|
176
|
+
}
|
|
177
|
+
|
|
90
178
|
const merged = mergeCatalog(skillsTarget, manifest)
|
|
91
179
|
wroteAnything = wroteAnything || merged.added.length > 0
|
|
92
180
|
console.log(` ${dryRun ? 'would add' : 'added'} to the catalog: ${merged.added.length} skills` +
|
|
@@ -132,8 +220,8 @@ function installTree (sourceDir, targetDir, manifestFiles) {
|
|
|
132
220
|
const kept = []
|
|
133
221
|
const foreign = []
|
|
134
222
|
|
|
135
|
-
for (const name of
|
|
136
|
-
if (name === 'skills.json'
|
|
223
|
+
for (const name of listSourceFiles(sourceDir)) {
|
|
224
|
+
if (name === 'skills.json') continue
|
|
137
225
|
|
|
138
226
|
const to = path.join(targetDir, name)
|
|
139
227
|
const content = fs.readFileSync(path.join(sourceDir, name), 'utf8')
|
|
@@ -157,7 +245,9 @@ function installTree (sourceDir, targetDir, manifestFiles) {
|
|
|
157
245
|
|
|
158
246
|
written.push(name)
|
|
159
247
|
if (!dryRun) {
|
|
160
|
-
|
|
248
|
+
// `to` is <tree>/<skill>/SKILL.md, so make the file's own parent, not
|
|
249
|
+
// just the tree root.
|
|
250
|
+
fs.mkdirSync(path.dirname(to), { recursive: true })
|
|
161
251
|
fs.writeFileSync(to, content)
|
|
162
252
|
}
|
|
163
253
|
manifestFiles[name] = incoming
|
|
@@ -49,7 +49,7 @@ const catalogEntrySchema = z.object({
|
|
|
49
49
|
id: z.string().regex(kebabCasePattern),
|
|
50
50
|
title: z.string().min(1),
|
|
51
51
|
purpose: z.string().min(1),
|
|
52
|
-
file: z.string().regex(/^[
|
|
52
|
+
file: z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*\/SKILL\.md$/),
|
|
53
53
|
owners: z.array(z.string().regex(kebabCasePattern)).min(1),
|
|
54
54
|
composes: z.array(z.string().regex(kebabCasePattern)).min(1).optional(),
|
|
55
55
|
legacyPrompt: z.string().regex(/^[^\0]+\.prompt\.md$/).optional(),
|
|
@@ -71,6 +71,11 @@ const catalogSchema = z.object({
|
|
|
71
71
|
}).strict()
|
|
72
72
|
|
|
73
73
|
const frontMatterSchema = z.object({
|
|
74
|
+
// Required by the Agent Skills standard. `name` must equal the directory
|
|
75
|
+
// name and `id`; `description` is the only thing an agent reads before
|
|
76
|
+
// choosing a skill, so a missing or empty one means the skill never fires.
|
|
77
|
+
name: z.string().regex(kebabCasePattern).max(64),
|
|
78
|
+
description: z.string().min(1).max(1024),
|
|
74
79
|
id: z.string().regex(kebabCasePattern),
|
|
75
80
|
title: z.string().min(1),
|
|
76
81
|
purpose: z.string().min(1),
|
|
@@ -85,12 +90,41 @@ const frontMatterSchema = z.object({
|
|
|
85
90
|
acceptance: z.array(z.string().min(1)).min(1)
|
|
86
91
|
}).strict()
|
|
87
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Every `<name>/SKILL.md` under the skills directory.
|
|
95
|
+
*
|
|
96
|
+
* Also reports a leftover flat `<name>.skill.md`, because that is a file no
|
|
97
|
+
* agent runtime will ever read - it looks installed and is not. An upgrade
|
|
98
|
+
* removes the ones it wrote; one the host edited survives, and this is where
|
|
99
|
+
* they hear about it.
|
|
100
|
+
*/
|
|
101
|
+
function listSkillFiles (dir) {
|
|
102
|
+
const found = []
|
|
103
|
+
const stale = []
|
|
104
|
+
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
105
|
+
if (entry.isDirectory()) {
|
|
106
|
+
if (fs.existsSync(path.join(dir, entry.name, 'SKILL.md'))) {
|
|
107
|
+
found.push(path.join(entry.name, 'SKILL.md'))
|
|
108
|
+
}
|
|
109
|
+
continue
|
|
110
|
+
}
|
|
111
|
+
if (entry.name.endsWith('.skill.md')) stale.push(entry.name)
|
|
112
|
+
}
|
|
113
|
+
found.sort()
|
|
114
|
+
found.stale = stale
|
|
115
|
+
return found
|
|
116
|
+
}
|
|
117
|
+
|
|
88
118
|
function main () {
|
|
89
119
|
const catalog = catalogSchema.parse(readJson(catalogPath))
|
|
90
120
|
const errors = []
|
|
91
|
-
const skillFiles =
|
|
92
|
-
|
|
93
|
-
.
|
|
121
|
+
const skillFiles = listSkillFiles(skillsDir)
|
|
122
|
+
for (const name of skillFiles.stale || []) {
|
|
123
|
+
errors.push(`Skill file is in the old flat layout and no agent runtime will read it: ` +
|
|
124
|
+
`${path.join('.github/skills', name)} - it belongs at ` +
|
|
125
|
+
`${path.join('.github/skills', name.replace(/\.skill\.md$/, ''), 'SKILL.md')}`)
|
|
126
|
+
}
|
|
127
|
+
|
|
94
128
|
const catalogFiles = new Set(catalog.skills.map((skill) => skill.file))
|
|
95
129
|
const catalogIds = new Set(catalog.skills.map((skill) => skill.id))
|
|
96
130
|
|
|
@@ -156,7 +190,7 @@ function validateAgents (catalog, errors) {
|
|
|
156
190
|
const referenced = new Set()
|
|
157
191
|
for (const name of agentFiles) {
|
|
158
192
|
const text = fs.readFileSync(path.join(agentsDir, name), 'utf8')
|
|
159
|
-
for (const match of text.matchAll(/\.github\/skills\/([a-z0-9-]
|
|
193
|
+
for (const match of text.matchAll(/\.github\/skills\/([a-z0-9-]+\/SKILL\.md)/g)) {
|
|
160
194
|
referenced.add(match[1])
|
|
161
195
|
if (!catalog.skills.some((skill) => skill.file === match[1])) {
|
|
162
196
|
errors.push(`agents/${name} names a skill that is not in the catalog: ${match[1]}`)
|
|
@@ -199,6 +233,31 @@ function validateSkillFile (skillPath, catalogEntry, catalogIds, errors) {
|
|
|
199
233
|
|
|
200
234
|
const metadata = result.data
|
|
201
235
|
|
|
236
|
+
// The standard requires `name` to match the directory, and this catalog keys
|
|
237
|
+
// on `id`. Three spellings of one identifier is two chances to drift, so they
|
|
238
|
+
// are asserted equal rather than trusted.
|
|
239
|
+
const dirName = path.basename(path.dirname(skillPath))
|
|
240
|
+
if (metadata.name !== dirName) {
|
|
241
|
+
errors.push(`${path.relative(rootDir, skillPath)} front matter: name "${metadata.name}" ` +
|
|
242
|
+
`does not match its directory "${dirName}" - the Agent Skills standard requires them to match`)
|
|
243
|
+
}
|
|
244
|
+
if (metadata.name !== metadata.id) {
|
|
245
|
+
errors.push(`${path.relative(rootDir, skillPath)} front matter: name "${metadata.name}" ` +
|
|
246
|
+
`and id "${metadata.id}" differ`)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// A description that only restates the title never fires: an agent picks a
|
|
250
|
+
// skill by matching this string against what somebody typed, so it has to
|
|
251
|
+
// carry the trigger, not just the label.
|
|
252
|
+
// "Use when a scenario exists", "Use after the import", "Use before promoting"
|
|
253
|
+
// are all triggers. The rule is that SOME trigger clause is present, not that
|
|
254
|
+
// it is phrased one way - the first cut demanded "use when" and rejected six
|
|
255
|
+
// descriptions that named their trigger perfectly well.
|
|
256
|
+
if (!/\buse (when|after|before|if|for|to|this|it)\b/i.test(metadata.description)) {
|
|
257
|
+
errors.push(`${path.relative(rootDir, skillPath)} front matter: description does not say when to ` +
|
|
258
|
+
`use the skill - an agent chooses on this field alone, so it needs a "Use when ..." clause`)
|
|
259
|
+
}
|
|
260
|
+
|
|
202
261
|
if (metadata.legacy_prompt && !fs.existsSync(path.join(hostRoot, metadata.legacy_prompt))) {
|
|
203
262
|
errors.push(`${path.relative(rootDir, skillPath)} points to missing legacy prompt: ${metadata.legacy_prompt}`)
|
|
204
263
|
}
|
package/skills/README.md
CHANGED
|
@@ -30,33 +30,33 @@ Run:
|
|
|
30
30
|
npx hippocampus skills validate
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
after changing any
|
|
33
|
+
after changing any `<name>/SKILL.md`, `skills.json`, `skills.schema.json`, or example files.
|
|
34
34
|
|
|
35
35
|
## Skill map
|
|
36
36
|
|
|
37
|
-
- `generate-service-slice.
|
|
38
|
-
- `add-user-needs.
|
|
39
|
-
- `add-scenario.
|
|
40
|
-
- `create-journey-from-scenario.
|
|
41
|
-
- `add-prototype-screen.
|
|
42
|
-
- `audit-knowledge-source.
|
|
43
|
-
- `structure-project-context-draft.
|
|
44
|
-
- `structure-research-draft.
|
|
45
|
-
- `review-research-import-draft.
|
|
46
|
-
- `map-research-to-graph.
|
|
37
|
+
- `generate-service-slice/SKILL.md` ← `generate-service-slice.prompt.md`
|
|
38
|
+
- `add-user-needs/SKILL.md` ← `add-user-needs.prompt.md`
|
|
39
|
+
- `add-scenario/SKILL.md` ← `add-scenario.prompt.md`
|
|
40
|
+
- `create-journey-from-scenario/SKILL.md` ← `create-journey-from-scenario.prompt.md`
|
|
41
|
+
- `add-prototype-screen/SKILL.md` ← `add-prototype-screen.prompt.md`
|
|
42
|
+
- `audit-knowledge-source/SKILL.md` ← `audit-knowledge-source.prompt.md`
|
|
43
|
+
- `structure-project-context-draft/SKILL.md` ← `hippocampus-structure-project-context.prompt.md`
|
|
44
|
+
- `structure-research-draft/SKILL.md` ← `hippocampus-structure-research.prompt.md`
|
|
45
|
+
- `review-research-import-draft/SKILL.md` ← `hippocampus-review-import-draft.prompt.md`
|
|
46
|
+
- `map-research-to-graph/SKILL.md` ← `hippocampus-map-research-to-graph.prompt.md`
|
|
47
47
|
|
|
48
48
|
## Orchestration skills
|
|
49
49
|
|
|
50
|
-
- `ingest-research-round.
|
|
51
|
-
- `ingest-project-context.
|
|
52
|
-
- `deliver-service-slice.
|
|
53
|
-
- `write-delivery-summary.
|
|
50
|
+
- `ingest-research-round/SKILL.md` - chains research import draft structuring, review, and graph-linking without promotion
|
|
51
|
+
- `ingest-project-context/SKILL.md` - chains project-context draft structuring and dry-run validation without promotion
|
|
52
|
+
- `deliver-service-slice/SKILL.md` - chains source-model authoring, optional prototype work, audit, and delivery-summary handoff
|
|
53
|
+
- `write-delivery-summary/SKILL.md` - records what changed, what was run, and what still needs follow-up
|
|
54
54
|
|
|
55
55
|
## Review workflow skills
|
|
56
56
|
|
|
57
|
-
- `capture-route-review-pack.
|
|
58
|
-
- `record-accessibility-review.
|
|
59
|
-
- `write-route-review-summary.
|
|
57
|
+
- `capture-route-review-pack/SKILL.md` - creates a dated screenshot or route-notes review pack after smoke testing
|
|
58
|
+
- `record-accessibility-review/SKILL.md` - writes dated accessibility notes with blockers and improvements
|
|
59
|
+
- `write-route-review-summary/SKILL.md` - links smoke-test, screenshot, and accessibility artefacts into one handover note
|
|
60
60
|
|
|
61
61
|
## Coverage matrix
|
|
62
62
|
|
package/skills/SKILL-FORMAT.md
CHANGED
|
@@ -6,10 +6,27 @@ This repo keeps skills in a simple, tool-agnostic format so they can work well i
|
|
|
6
6
|
|
|
7
7
|
Each skill has:
|
|
8
8
|
|
|
9
|
-
- a
|
|
10
|
-
- YAML front matter
|
|
9
|
+
- a directory named for the skill, holding a `SKILL.md`
|
|
10
|
+
- YAML front matter opening with `name` and `description`
|
|
11
11
|
- a short task recipe in Markdown for humans and agents
|
|
12
12
|
|
|
13
|
+
The directory-plus-`SKILL.md` shape is the [Agent Skills](https://agentskills.io)
|
|
14
|
+
open standard, which GitHub Copilot, Claude and others discover directly. A flat
|
|
15
|
+
`<skill-id>.skill.md` is invisible to all of them: a skill is found only when it
|
|
16
|
+
is a directory with that file inside.
|
|
17
|
+
|
|
18
|
+
`name` must match the directory name, and `description` is the one field an
|
|
19
|
+
agent sees before deciding whether to load the skill at all - so it states
|
|
20
|
+
**when to use this**, not only what it does.
|
|
21
|
+
|
|
22
|
+
The remaining keys - `id`, `title`, `purpose`, `owners`, `reads` and the rest -
|
|
23
|
+
are this catalog's own contract rather than the spec's. The spec offers
|
|
24
|
+
`metadata` for extra data but allows only string values, and these are arrays,
|
|
25
|
+
so they stay as top-level keys; unknown keys are not rejected, and splitting one
|
|
26
|
+
skill's definition across two files would cost more than it buys. `id`
|
|
27
|
+
duplicates `name` deliberately: the catalog keys on `id`, and the validator
|
|
28
|
+
asserts the two match so they cannot drift.
|
|
29
|
+
|
|
13
30
|
The catalog also includes:
|
|
14
31
|
|
|
15
32
|
- `skills.json` as a machine-readable index
|
|
@@ -18,9 +35,11 @@ The catalog also includes:
|
|
|
18
35
|
|
|
19
36
|
## Front matter fields
|
|
20
37
|
|
|
21
|
-
Use these keys on every
|
|
38
|
+
Use these keys on every `<name>/SKILL.md` file:
|
|
22
39
|
|
|
23
|
-
- `
|
|
40
|
+
- `name` - required by the spec; matches the directory name, lowercase kebab-case
|
|
41
|
+
- `description` - required by the spec; what the skill does **and when to use it**, in words somebody would actually type. Max 1024 characters. This is the only thing an agent reads before choosing the skill, so a vague one means the skill never fires.
|
|
42
|
+
- `id` - stable lowercase kebab-case skill ID; must equal `name`
|
|
24
43
|
- `title` - short human-readable name
|
|
25
44
|
- `purpose` - one-sentence statement of the task outcome
|
|
26
45
|
- `owners` - preferred role agents from `.github/agents/`
|
|
@@ -81,7 +100,7 @@ npx hippocampus skills validate
|
|
|
81
100
|
This checks:
|
|
82
101
|
|
|
83
102
|
- `skills.json` syntax and catalog shape
|
|
84
|
-
- required front matter on every
|
|
103
|
+
- required front matter on every `<name>/SKILL.md`
|
|
85
104
|
- consistency between catalog entries and skill front matter
|
|
86
105
|
- required body headings
|
|
87
106
|
- legacy prompt references and composed skill IDs
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: add-prototype-screen
|
|
3
|
+
description: "Adds a prototype screen to the knowledge base as a source record plus a matching Express route and Nunjucks view. Use when a new screen must exist both as data and as a working page, or when someone asks to add a screen, page or route to the prototype."
|
|
2
4
|
id: add-prototype-screen
|
|
3
5
|
title: Add prototype screen
|
|
4
6
|
purpose: Add a source-backed prototype screen with matching route and view.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: add-scenario
|
|
3
|
+
description: "Adds a scenario record linking existing users and needs to a concrete trigger and context. Use when existing users and needs need a situation that can drive a journey, or when someone asks to add or write a scenario."
|
|
2
4
|
id: add-scenario
|
|
3
5
|
title: Add scenario
|
|
4
6
|
purpose: Add a concrete scenario that links existing users and needs to journey work.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: add-user-needs
|
|
3
|
+
description: "Adds or sharpens traceable user need records for an existing user group, linked to the evidence behind them. Use when a user group exists but its needs are missing, vague or unevidenced, or when someone asks to add, capture or tighten user needs."
|
|
2
4
|
id: add-user-needs
|
|
3
5
|
title: Add user needs
|
|
4
6
|
purpose: Add or sharpen traceable need records for an existing user group.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: audit-knowledge-source
|
|
3
|
+
description: "Reviews the knowledge base for traceability, route coverage and evidence quality, and reports the gaps. Use before a handover or design review, or when someone asks how complete, healthy or well-evidenced the knowledge base is."
|
|
2
4
|
id: audit-knowledge-source
|
|
3
5
|
title: Audit knowledge source
|
|
4
6
|
purpose: Review traceability, route coverage, and evidence quality before handover.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: capture-route-review-pack
|
|
3
|
+
description: "Creates a dated pack of screenshots and route notes after smoke testing changed routes. Use when a visible route change needs review evidence for handover or design review, or when someone asks for screenshots of what changed."
|
|
2
4
|
id: capture-route-review-pack
|
|
3
5
|
title: Capture route review pack
|
|
4
6
|
purpose: Create a dated screenshot or notes pack for changed routes after smoke testing.
|
package/skills/{create-journey-from-scenario.skill.md → create-journey-from-scenario/SKILL.md}
RENAMED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: create-journey-from-scenario
|
|
3
|
+
description: "Turns an existing scenario into a blueprint-ready journey with ordered steps and screens. Use when a scenario exists and needs a journey, or when someone asks to build, draft or map a user journey."
|
|
2
4
|
id: create-journey-from-scenario
|
|
3
5
|
title: Create journey from scenario
|
|
4
6
|
purpose: Turn an existing scenario into a blueprint-ready journey.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: deliver-service-slice
|
|
3
|
+
description: "Orchestrates an end-to-end service slice: source data, prototype routes and views, audit and handover notes. Use when a new or revised service area needs the whole chain in one pass rather than skill by skill."
|
|
2
4
|
id: deliver-service-slice
|
|
3
5
|
title: Deliver service slice
|
|
4
6
|
purpose: Deliver an end-to-end fictional service slice across source data, optional prototype routes/views, audit, and handover.
|
|
@@ -11,5 +11,5 @@ Use them alongside:
|
|
|
11
11
|
|
|
12
12
|
- `.github/skills/skills.json` for discovery
|
|
13
13
|
- `.github/skills/SKILL-FORMAT.md` for the metadata contract
|
|
14
|
-
- the referenced
|
|
14
|
+
- the referenced `<name>/SKILL.md` files for the exact workflow
|
|
15
15
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: generate-service-slice
|
|
3
|
+
description: "Creates the first coherent set of linked source records for a new service area - users, needs, scenario, journey, screens and evidence, lined up in one pass. Use when a service area has no knowledge base records yet."
|
|
2
4
|
id: generate-service-slice
|
|
3
5
|
title: Generate service slice
|
|
4
6
|
purpose: Create a coherent fictional Hippocampus slice across linked source records.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ingest-project-context
|
|
3
|
+
description: "Turns a project overview deck, PDF or filled-in project-context workbook into a review-ready draft, without promoting anything. Use when importing project context, vision, policy, constraints, risks or milestones."
|
|
2
4
|
id: ingest-project-context
|
|
3
5
|
title: Ingest project context
|
|
4
6
|
purpose: Run the no-promote project-context ingestion workflow from inbox artefact to review-ready draft.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ingest-research-round
|
|
3
|
+
description: "Turns a research deck or report into a review-ready draft, chaining structuring, review and graph-linking without promoting to canonical source. Use when importing a round of user research."
|
|
2
4
|
id: ingest-research-round
|
|
3
5
|
title: Ingest research round
|
|
4
6
|
purpose: Run the no-promote research ingestion workflow from inbox artefact to review-ready draft.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: ingest-user-personas
|
|
3
|
+
description: "Turns persona documents into user records, the needs they state and the evidence behind both. Use when a project has personas but no user records - this is the first ingestion step, because needs, scenarios, journeys and screens all reference users."
|
|
2
4
|
id: ingest-user-personas
|
|
3
5
|
title: Ingest user personas
|
|
4
6
|
purpose: Turn persona documents into user records, the needs they state, and the evidence that backs both.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: map-research-to-graph
|
|
3
|
+
description: "Adds only the links a reviewed research draft actually supports, between insights, needs, users and screens. Use after reviewing a research draft, when insights need connecting to the rest of the knowledge base."
|
|
2
4
|
id: map-research-to-graph
|
|
3
5
|
title: Map research to graph
|
|
4
6
|
purpose: Add only supported links between a reviewed research draft and existing Hippocampus entities.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: onboard-team-member
|
|
3
|
+
description: "Orients someone new from what the knowledge base already holds, and leaves them a dated briefing they can read without an agent. Use when someone joins the project or picks up work after a handover."
|
|
2
4
|
id: onboard-team-member
|
|
3
5
|
title: Onboard a team member
|
|
4
6
|
purpose: Orient someone new to the project from what the knowledge base already knows, and leave them a dated briefing they can read without an agent.
|
package/skills/{record-accessibility-review.skill.md → record-accessibility-review/SKILL.md}
RENAMED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: record-accessibility-review
|
|
3
|
+
description: "Records a dated accessibility review for changed routes or templates, separating blockers from follow-up improvements. Use after an accessibility pass, or when someone asks to write up accessibility findings."
|
|
2
4
|
id: record-accessibility-review
|
|
3
5
|
title: Record accessibility review
|
|
4
6
|
purpose: Record a dated accessibility review for changed routes or templates.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: record-design-decision
|
|
3
|
+
description: "Turns agreed design actions, and the options weighed against them, into decision records. Use when the team has settled on an action from research insights, or when someone asks to record a design decision."
|
|
2
4
|
id: record-design-decision
|
|
3
5
|
title: Record design decision
|
|
4
6
|
purpose: Turn agreed design actions and the options weighed against them into source records.
|
package/skills/{review-research-import-draft.skill.md → review-research-import-draft/SKILL.md}
RENAMED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: review-research-import-draft
|
|
3
|
+
description: "Assesses whether a research draft is ready for a human to promote into canonical source. Use before promoting a research import, to find what is unsupported, thin or mislinked."
|
|
2
4
|
id: review-research-import-draft
|
|
3
5
|
title: Review research import draft
|
|
4
6
|
purpose: Assess whether a research draft is ready for human promotion.
|
package/skills/skills.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"id": "add-prototype-screen",
|
|
9
9
|
"title": "Add prototype screen",
|
|
10
10
|
"purpose": "Add a source-backed prototype screen with matching route and view.",
|
|
11
|
-
"file": "add-prototype-screen.
|
|
11
|
+
"file": "add-prototype-screen/SKILL.md",
|
|
12
12
|
"owners": [
|
|
13
13
|
"prototype-builder",
|
|
14
14
|
"workflow-orchestrator"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"id": "add-scenario",
|
|
32
32
|
"title": "Add scenario",
|
|
33
33
|
"purpose": "Add a concrete scenario that links existing users and needs to journey work.",
|
|
34
|
-
"file": "add-scenario.
|
|
34
|
+
"file": "add-scenario/SKILL.md",
|
|
35
35
|
"owners": [
|
|
36
36
|
"knowledge-builder",
|
|
37
37
|
"workflow-orchestrator"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"id": "add-user-needs",
|
|
54
54
|
"title": "Add user needs",
|
|
55
55
|
"purpose": "Add or sharpen traceable need records for an existing user group.",
|
|
56
|
-
"file": "add-user-needs.
|
|
56
|
+
"file": "add-user-needs/SKILL.md",
|
|
57
57
|
"owners": [
|
|
58
58
|
"knowledge-builder",
|
|
59
59
|
"workflow-orchestrator"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"id": "audit-knowledge-source",
|
|
76
76
|
"title": "Audit knowledge source",
|
|
77
77
|
"purpose": "Review traceability, route coverage, and evidence quality before handover.",
|
|
78
|
-
"file": "audit-knowledge-source.
|
|
78
|
+
"file": "audit-knowledge-source/SKILL.md",
|
|
79
79
|
"owners": [
|
|
80
80
|
"knowledge-builder",
|
|
81
81
|
"workflow-orchestrator"
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"id": "capture-route-review-pack",
|
|
99
99
|
"title": "Capture route review pack",
|
|
100
100
|
"purpose": "Create a dated screenshot or notes pack for changed routes after smoke testing.",
|
|
101
|
-
"file": "capture-route-review-pack.
|
|
101
|
+
"file": "capture-route-review-pack/SKILL.md",
|
|
102
102
|
"owners": [
|
|
103
103
|
"screenshot-runner",
|
|
104
104
|
"workflow-orchestrator"
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"id": "create-journey-from-scenario",
|
|
121
121
|
"title": "Create journey from scenario",
|
|
122
122
|
"purpose": "Turn an existing scenario into a blueprint-ready journey.",
|
|
123
|
-
"file": "create-journey-from-scenario.
|
|
123
|
+
"file": "create-journey-from-scenario/SKILL.md",
|
|
124
124
|
"owners": [
|
|
125
125
|
"knowledge-builder",
|
|
126
126
|
"workflow-orchestrator"
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"id": "deliver-service-slice",
|
|
143
143
|
"title": "Deliver service slice",
|
|
144
144
|
"purpose": "Deliver an end-to-end fictional service slice across source data, optional prototype routes/views, audit, and handover.",
|
|
145
|
-
"file": "deliver-service-slice.
|
|
145
|
+
"file": "deliver-service-slice/SKILL.md",
|
|
146
146
|
"owners": [
|
|
147
147
|
"workflow-orchestrator",
|
|
148
148
|
"knowledge-builder",
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"id": "generate-service-slice",
|
|
175
175
|
"title": "Generate service slice",
|
|
176
176
|
"purpose": "Create a coherent fictional Hippocampus slice across linked source records.",
|
|
177
|
-
"file": "generate-service-slice.
|
|
177
|
+
"file": "generate-service-slice/SKILL.md",
|
|
178
178
|
"owners": [
|
|
179
179
|
"knowledge-builder",
|
|
180
180
|
"workflow-orchestrator"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"id": "ingest-project-context",
|
|
197
197
|
"title": "Ingest project context",
|
|
198
198
|
"purpose": "Run the no-promote project-context ingestion workflow from inbox artefact to review-ready draft.",
|
|
199
|
-
"file": "ingest-project-context.
|
|
199
|
+
"file": "ingest-project-context/SKILL.md",
|
|
200
200
|
"owners": [
|
|
201
201
|
"ingestion-curator",
|
|
202
202
|
"workflow-orchestrator"
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"id": "ingest-user-personas",
|
|
223
223
|
"title": "Ingest user personas",
|
|
224
224
|
"purpose": "Turn persona documents into user records, the needs they state, and the evidence that backs both.",
|
|
225
|
-
"file": "ingest-user-personas.
|
|
225
|
+
"file": "ingest-user-personas/SKILL.md",
|
|
226
226
|
"owners": [
|
|
227
227
|
"ingestion-curator",
|
|
228
228
|
"knowledge-builder"
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"id": "ingest-research-round",
|
|
249
249
|
"title": "Ingest research round",
|
|
250
250
|
"purpose": "Run the no-promote research ingestion workflow from inbox artefact to review-ready draft.",
|
|
251
|
-
"file": "ingest-research-round.
|
|
251
|
+
"file": "ingest-research-round/SKILL.md",
|
|
252
252
|
"owners": [
|
|
253
253
|
"ingestion-curator",
|
|
254
254
|
"workflow-orchestrator"
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
"id": "map-research-to-graph",
|
|
277
277
|
"title": "Map research to graph",
|
|
278
278
|
"purpose": "Add only supported links between a reviewed research draft and existing Hippocampus entities.",
|
|
279
|
-
"file": "map-research-to-graph.
|
|
279
|
+
"file": "map-research-to-graph/SKILL.md",
|
|
280
280
|
"owners": [
|
|
281
281
|
"ingestion-curator",
|
|
282
282
|
"knowledge-builder",
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"id": "record-accessibility-review",
|
|
300
300
|
"title": "Record accessibility review",
|
|
301
301
|
"purpose": "Record a dated accessibility review for changed routes or templates.",
|
|
302
|
-
"file": "record-accessibility-review.
|
|
302
|
+
"file": "record-accessibility-review/SKILL.md",
|
|
303
303
|
"owners": [
|
|
304
304
|
"accessibility-tester",
|
|
305
305
|
"workflow-orchestrator"
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"id": "record-design-decision",
|
|
322
322
|
"title": "Record design decision",
|
|
323
323
|
"purpose": "Turn agreed design actions and the options weighed against them into source records.",
|
|
324
|
-
"file": "record-design-decision.
|
|
324
|
+
"file": "record-design-decision/SKILL.md",
|
|
325
325
|
"owners": [
|
|
326
326
|
"ingestion-curator",
|
|
327
327
|
"knowledge-builder"
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"id": "review-research-import-draft",
|
|
346
346
|
"title": "Review research import draft",
|
|
347
347
|
"purpose": "Assess whether a research draft is ready for human promotion.",
|
|
348
|
-
"file": "review-research-import-draft.
|
|
348
|
+
"file": "review-research-import-draft/SKILL.md",
|
|
349
349
|
"owners": [
|
|
350
350
|
"ingestion-curator",
|
|
351
351
|
"workflow-orchestrator"
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
"id": "structure-project-context-draft",
|
|
368
368
|
"title": "Structure project context draft",
|
|
369
369
|
"purpose": "Improve a deterministic project-context import draft using extracted source text only.",
|
|
370
|
-
"file": "structure-project-context-draft.
|
|
370
|
+
"file": "structure-project-context-draft/SKILL.md",
|
|
371
371
|
"owners": [
|
|
372
372
|
"ingestion-curator",
|
|
373
373
|
"workflow-orchestrator"
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"id": "structure-research-draft",
|
|
391
391
|
"title": "Structure research draft",
|
|
392
392
|
"purpose": "Improve a deterministic research import draft using extracted text only.",
|
|
393
|
-
"file": "structure-research-draft.
|
|
393
|
+
"file": "structure-research-draft/SKILL.md",
|
|
394
394
|
"owners": [
|
|
395
395
|
"ingestion-curator",
|
|
396
396
|
"workflow-orchestrator"
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"id": "triage-research-corpus",
|
|
414
414
|
"title": "Triage research corpus",
|
|
415
415
|
"purpose": "Rank a large research folder into ingestion contenders before any artefact is imported.",
|
|
416
|
-
"file": "triage-research-corpus.
|
|
416
|
+
"file": "triage-research-corpus/SKILL.md",
|
|
417
417
|
"owners": [
|
|
418
418
|
"ingestion-curator",
|
|
419
419
|
"workflow-orchestrator"
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"id": "write-delivery-summary",
|
|
439
439
|
"title": "Write delivery summary",
|
|
440
440
|
"purpose": "Capture a durable handover note for multi-step Hippocampus work.",
|
|
441
|
-
"file": "write-delivery-summary.
|
|
441
|
+
"file": "write-delivery-summary/SKILL.md",
|
|
442
442
|
"owners": [
|
|
443
443
|
"workflow-orchestrator"
|
|
444
444
|
],
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
"id": "write-route-review-summary",
|
|
463
463
|
"title": "Write route review summary",
|
|
464
464
|
"purpose": "Combine smoke, screenshot, and accessibility evidence into one route-review handover note.",
|
|
465
|
-
"file": "write-route-review-summary.
|
|
465
|
+
"file": "write-route-review-summary/SKILL.md",
|
|
466
466
|
"owners": [
|
|
467
467
|
"workflow-orchestrator",
|
|
468
468
|
"screenshot-runner",
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"id": "onboard-team-member",
|
|
491
491
|
"title": "Onboard a team member",
|
|
492
492
|
"purpose": "Orient someone new to the project from what the knowledge base already knows, and leave them a dated briefing they can read without an agent.",
|
|
493
|
-
"file": "onboard-team-member.
|
|
493
|
+
"file": "onboard-team-member/SKILL.md",
|
|
494
494
|
"owners": [
|
|
495
495
|
"knowledge-builder",
|
|
496
496
|
"workflow-orchestrator"
|
package/skills/{structure-project-context-draft.skill.md → structure-project-context-draft/SKILL.md}
RENAMED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: structure-project-context-draft
|
|
3
|
+
description: "Improves a deterministic project-context import draft using only the extracted source text. Use after `hippocampus import project-context`, before human review."
|
|
2
4
|
id: structure-project-context-draft
|
|
3
5
|
title: Structure project context draft
|
|
4
6
|
purpose: Improve a deterministic project-context import draft using extracted source text only.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: structure-research-draft
|
|
3
|
+
description: "Improves a script-generated research draft - participants, insights, actions and supported links - using only the extracted text. Use after `hippocampus import research-deck`, before review."
|
|
2
4
|
id: structure-research-draft
|
|
3
5
|
title: Structure research draft
|
|
4
6
|
purpose: Improve a deterministic research import draft using extracted text only.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: triage-research-corpus
|
|
3
|
+
description: "Ranks a large folder of research material into ingestion contenders before anything is imported. Use when a shared drive or SharePoint export holds far more than one round's worth and you need to choose what is worth the review effort."
|
|
2
4
|
id: triage-research-corpus
|
|
3
5
|
title: Triage research corpus
|
|
4
6
|
purpose: Rank a large research folder into ingestion contenders before any artefact is imported.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: write-delivery-summary
|
|
3
|
+
description: "Captures a durable, dated handover note for multi-step work across source data, views, drafts and artefacts. Use when finishing orchestrated work that someone else will pick up."
|
|
2
4
|
id: write-delivery-summary
|
|
3
5
|
title: Write delivery summary
|
|
4
6
|
purpose: Capture a durable handover note for multi-step Hippocampus work.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
name: write-route-review-summary
|
|
3
|
+
description: "Combines smoke-test, screenshot and accessibility evidence into one route-review handover note. Use when a route or view change has scattered findings that need a single summary."
|
|
2
4
|
id: write-route-review-summary
|
|
3
5
|
title: Write route review summary
|
|
4
6
|
purpose: Combine smoke, screenshot, and accessibility evidence into one route-review handover note.
|