geneseed 3.3.0 → 3.5.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 +323 -0
- package/DESIGN.md +11 -14
- package/QUICKSTART.md +3 -1
- package/README.md +53 -44
- package/SETUP.md +25 -27
- package/SHIPPED.md +26 -32
- package/adapters/bob/README.md +12 -9
- package/adapters/copilot/README.md +28 -26
- package/adapters/opencode/GLOBAL-HARNESS-SPEC.md +1 -1
- package/adapters/opencode/README.md +8 -4
- package/adapters/opencode/plugins/geneseed-context.js +5 -3
- package/adapters/opencode/plugins/geneseed-workflow.js +30 -3
- package/adapters/opencode/workflows/_runtime.js +97 -7
- package/bin/build-driver.mjs +5 -1248
- package/bin/geneseed-cli.mjs +11 -6
- package/bin/geneseed-hook.mjs +4 -2
- package/docs/candidate-hosts.md +1 -1
- package/docs/design-history.md +37 -37
- package/docs/extending.md +49 -27
- package/docs/token-footprint.md +52 -26
- package/docs/web/agents.md +1 -1
- package/docs/web/claude-hooks.md +3 -2
- package/docs/web/collaboration.md +2 -2
- package/docs/web/first-session.md +2 -2
- package/docs/web/footprint.md +2 -2
- package/docs/web/harnesses.md +1 -1
- package/docs/web/model.md +1 -1
- package/docs/web/plugin-workflow.md +1 -0
- package/docs/web/rules.md +3 -3
- package/docs/web/setup-choices.md +2 -2
- package/docs/web/skills.md +1 -1
- package/docs/web/themes-author.md +1 -1
- package/docs/web-ui.md +18 -10
- package/harness.config.json +1 -1
- package/js/README.md +6 -5
- package/js/build/driver.mjs +1191 -0
- package/js/build/emit-claude.mjs +17 -10
- package/js/build/emit-common.mjs +4 -4
- package/js/build/generate.mjs +1 -1
- package/js/build/render.mjs +48 -44
- package/js/build/stubs.mjs +1 -1
- package/js/build/themes.mjs +4 -4
- package/js/build/version.mjs +12 -0
- package/js/cli-table.json +21 -6
- package/js/hosts/hooks.mjs +89 -74
- package/js/hosts/hosts.mjs +19 -2
- package/js/hosts/mcp.mjs +14 -20
- package/js/hosts/native.mjs +85 -25
- package/js/hosts/opencode.mjs +14 -0
- package/js/hosts/settings.mjs +52 -104
- package/js/inspect/checks-authoring.mjs +117 -3
- package/js/inspect/diff.mjs +1 -1
- package/js/inspect/doctor.mjs +1 -1
- package/js/inspect/excludes.mjs +1 -1
- package/js/inspect/inventory.mjs +12 -7
- package/js/inspect/scan.mjs +3 -14
- package/js/inspect/status.mjs +2 -2
- package/js/inspect/validate.mjs +1 -1
- package/js/lib/fs.mjs +23 -8
- package/js/lib/json.mjs +7 -1
- package/js/lib/proc.mjs +6 -4
- package/js/maintain/migrate.mjs +1 -1
- package/js/maintain/setup.mjs +1 -1
- package/js/maintain/uninstall.mjs +17 -15
- package/js/ui/cli.mjs +19 -0
- package/js/ui/menu.mjs +1 -1
- package/js/web/actions.mjs +4 -4
- package/js/web/activity.mjs +4 -4
- package/js/web/api.mjs +14 -11
- package/js/web/daemon.mjs +1 -1
- package/js/web/docs.mjs +12 -12
- package/js/web/handler.mjs +12 -5
- package/js/web/jobs.mjs +1 -1
- package/package.json +1 -1
- package/registry.json +86 -79
- package/src/AGENT.md.tmpl +83 -48
- package/src/agents/architect.md +4 -1
- package/src/agents/developer.md +2 -2
- package/src/agents/explorer.md +2 -0
- package/src/agents/operator.md +13 -0
- package/src/agents/pragmatist.md +12 -0
- package/src/agents/researcher.md +72 -0
- package/src/agents/reviewer.md +5 -2
- package/src/agents/security.md +7 -1
- package/src/agents/skeptic.md +2 -1
- package/src/agents/tester.md +5 -1
- package/src/agents/user-advocate.md +13 -0
- package/src/doctrines/README.md +26 -3
- package/src/doctrines/craft.md +78 -5
- package/src/doctrines/ops.md +62 -0
- package/src/doctrines/process.md +91 -4
- package/src/doctrines/rigor.md +41 -1
- package/src/laws/universal.md +27 -21
- package/src/memory/README.md +4 -2
- package/src/modes/foreman.md +5 -5
- package/src/notebook/README.md +2 -1
- package/src/ontology/universal.md +71 -67
- package/src/postures/peer.md +3 -0
- package/src/skills/_self-improvement.md +19 -0
- package/src/skills/_template.md +1 -12
- package/src/skills/brainstorm.md +37 -19
- package/src/skills/bruno-collection-generator.md +2 -13
- package/src/skills/bruno-test-writer.md +3 -14
- package/src/skills/ci-fix.md +49 -0
- package/src/skills/codebase-design.md +1 -12
- package/src/skills/commit.md +1 -12
- package/src/skills/consolidate-memory.md +50 -0
- package/src/skills/council.md +1 -12
- package/src/skills/daydream/LICENSE +21 -0
- package/src/skills/daydream/VENDOR.md +3 -1
- package/src/skills/debug.md +1 -12
- package/src/skills/deps-audit.md +46 -0
- package/src/skills/develop.md +38 -20
- package/src/skills/document-project.md +1 -12
- package/src/skills/domain-modeling.md +1 -12
- package/src/skills/forge-mcp.md +1 -12
- package/src/skills/fresh-eyes.md +1 -12
- package/src/skills/frontend-design.md +1 -12
- package/src/skills/geneseed-code-review.md +7 -14
- package/src/skills/geneseed.md +1 -12
- package/src/skills/git-archaeology.md +1 -12
- package/src/skills/git-rescue.md +1 -12
- package/src/skills/handoff.md +1 -12
- package/src/skills/herdr.md +1 -12
- package/src/skills/ingest.md +1 -12
- package/src/skills/migrate.md +1 -12
- package/src/skills/opencode-theme.md +1 -12
- package/src/skills/parallel-agents.md +4 -15
- package/src/skills/pipeline.md +6 -17
- package/src/skills/plan.md +1 -12
- package/src/skills/ponytail.md +1 -12
- package/src/skills/profile.md +1 -12
- package/src/skills/prose.md +1 -12
- package/src/skills/prototype.md +1 -12
- package/src/skills/quiz.md +43 -0
- package/src/skills/react-view-transitions/VENDOR.md +7 -1
- package/src/skills/refactor.md +1 -12
- package/src/skills/release.md +1 -12
- package/src/skills/repo-map.md +1 -12
- package/src/skills/research.md +5 -13
- package/src/skills/review-response.md +1 -12
- package/src/skills/roast-me.md +1 -12
- package/src/skills/rule.md +1 -12
- package/src/skills/security-audit.md +51 -0
- package/src/skills/ship.md +1 -12
- package/src/skills/skill-forge.md +59 -0
- package/src/skills/teach.md +50 -0
- package/src/skills/tickets.md +1 -12
- package/src/skills/wayfinder.md +1 -12
- package/src/skills/wiki.md +1 -12
- package/src/skills/workflow.md +82 -26
- package/src/skills/worktree.md +52 -0
- package/themes/_TEMPLATE.json +15 -12
- package/themes/biker.json +14 -11
- package/themes/commentator.json +14 -11
- package/themes/cyberpunk.json +14 -11
- package/themes/gamer.json +14 -11
- package/themes/imperial.json +14 -11
- package/themes/joker.json +14 -11
- package/themes/marvin.json +14 -11
- package/themes/mean.json +14 -11
- package/themes/military.json +14 -11
- package/themes/neutral.json +15 -12
- package/themes/opencode/README.md +2 -2
- package/themes/pirate.json +14 -11
- package/themes/sports.json +14 -11
- package/themes/verstappen.json +14 -11
- package/themes/wizard.json +14 -11
- package/web/dist/assets/Activity-Flgf4kHy.js +1 -0
- package/web/dist/assets/ActivityDetail-DIpr85nh.js +1 -0
- package/web/dist/assets/CatalogRow-CjyLjaLb.js +1 -0
- package/web/dist/assets/Diff-Deisdha8.js +2 -0
- package/web/dist/assets/Docs-DGUdY4l4.js +2 -0
- package/web/dist/assets/Doctor-F74lJ69P.js +1 -0
- package/web/dist/assets/FilterInput-BakJLvaV.js +1 -0
- package/web/dist/assets/GreenhouseView-D072lBiD.js +2 -0
- package/web/dist/assets/Harness-DNRP2Va7.js +1 -0
- package/web/dist/assets/JournalView-DWFqZ0Iw.js +1 -0
- package/web/dist/assets/Laws-BN6g3HU7.js +3 -0
- package/web/dist/assets/Library-CDOv4emM.js +1 -0
- package/web/dist/assets/Markdown-BQAvN8xx.js +38 -0
- package/web/dist/assets/OperatorHudView-CwNIUVX8.js +2 -0
- package/web/dist/assets/Profile-CpP9BTne.js +1 -0
- package/web/dist/assets/Rules-DFXsUCB7.js +1 -0
- package/web/dist/assets/Settings-BqZVUtJ5.js +1 -0
- package/web/dist/assets/Skills-Cu6kBgfF.js +1 -0
- package/web/dist/assets/StatusBadge-Cg6j-NJL.js +1 -0
- package/web/dist/assets/activity-iWaWVtsR.js +1 -0
- package/web/dist/assets/drawable-BgfrEBer.js +1 -0
- package/web/dist/assets/index-CAqrWhKl.js +2 -0
- package/web/dist/assets/index-Ruh93A3A.css +1 -0
- package/web/dist/assets/jobBuckets-Dbq8ZlWW.js +1 -0
- package/web/dist/assets/lawCats-BLgxl151.js +1 -0
- package/web/dist/assets/react-DbkvxWG5.js +8 -0
- package/web/dist/assets/rolldown-runtime-CbXtAM7H.js +1 -0
- package/web/dist/index.html +4 -3
- package/web/src/pages/Laws.jsx +22 -8
- package/src/skills/clarify.md +0 -28
- package/src/skills/crash-course.md +0 -29
- package/src/skills/decode.md +0 -29
- package/src/skills/drill.md +0 -29
- package/src/skills/feynman.md +0 -27
- package/src/skills/gap-detector.md +0 -27
- package/src/skills/learning-path.md +0 -27
- package/src/skills/react-view-transitions/README.md +0 -42
- package/src/skills/tdd.md +0 -31
- package/web/dist/assets/Activity-BfVcLrda.js +0 -1
- package/web/dist/assets/ActivityDetail-CQXccGPl.js +0 -1
- package/web/dist/assets/CatalogRow-DALEQImZ.js +0 -1
- package/web/dist/assets/Diff-BIjxXx46.js +0 -5
- package/web/dist/assets/Doctor-CJLbgsrw.js +0 -1
- package/web/dist/assets/FilterInput-CkUCk_lY.js +0 -1
- package/web/dist/assets/GreenhouseView-DfC5IILJ.js +0 -2
- package/web/dist/assets/Harness-Dm5CCU-v.js +0 -1
- package/web/dist/assets/JournalView-Cpu2eI4s.js +0 -1
- package/web/dist/assets/Laws-DDDVFuQz.js +0 -3
- package/web/dist/assets/Library-Dao3T9na.js +0 -1
- package/web/dist/assets/Markdown-C__nuWX5.js +0 -46
- package/web/dist/assets/OperatorHudView-DEpCtAjP.js +0 -2
- package/web/dist/assets/Profile-BlXtUlh2.js +0 -1
- package/web/dist/assets/Rules-DIre6gxR.js +0 -1
- package/web/dist/assets/Skills-rY13ZPhM.js +0 -1
- package/web/dist/assets/StatusBadge-wW_RS_my.js +0 -1
- package/web/dist/assets/activity-DpYPKNrA.js +0 -1
- package/web/dist/assets/index-BEZvPvpF.js +0 -1
- package/web/dist/assets/index-DNQE5ydy.js +0 -10
- package/web/dist/assets/index-DzdQjvM1.css +0 -1
- package/web/dist/assets/index-PmQGRS1X.js +0 -2
- package/web/dist/assets/jobBuckets-DfTUJUxR.js +0 -1
- package/web/dist/assets/lawCats-DUS9UTH4.js +0 -1
- package/web/dist/assets/react-DOpiTn5v.js +0 -32
package/src/skills/develop.md
CHANGED
|
@@ -2,28 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
> {{DESC_DEVELOP}}
|
|
4
4
|
|
|
5
|
-
**Trigger:** implementing a feature, fixing a bug, or changing code behaviour in a
|
|
5
|
+
**Trigger:** implementing a feature, fixing a bug, or changing code behaviour in a
|
|
6
|
+
repo that has (or should have) a test suite — before writing implementation code.
|
|
7
|
+
Covers both the test-first cycle (red → green → refactor) and the cover-alongside
|
|
8
|
+
case where the seam is only known once the change is made.
|
|
6
9
|
|
|
7
10
|
## Procedure
|
|
8
|
-
1. Orient on the project's own documentation for what you are about to touch
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
1. Orient on the project's own documentation for what you are about to touch
|
|
12
|
+
({{DOCTRINE}} process 4), and confirm the actual starting state — the suite runs,
|
|
13
|
+
the baseline is green ({{LAW}} III). A red baseline is a [debug {{SKILL}}](debug.md)
|
|
14
|
+
task first, not something to build on.
|
|
15
|
+
2. Agree the seams: name the public interfaces the tests will target and confirm
|
|
16
|
+
them with the user when they are not obvious — no test is written at an
|
|
17
|
+
unconfirmed seam. Testing effort belongs on critical paths and complex logic,
|
|
18
|
+
not every edge.
|
|
19
|
+
3. Pick the next **smallest slice** that advances the task ({{DOCTRINE}} craft 6), then
|
|
20
|
+
cover it:
|
|
21
|
+
- *Seam known up front* — test-first. Write ONE failing test that pins the slice,
|
|
22
|
+
specific about the expected output (for a bug, the test reproduces it). Run it
|
|
23
|
+
and watch it fail **for the right reason** — a test that passes immediately, or
|
|
24
|
+
fails on a typo, proves nothing.
|
|
25
|
+
- *Seam only clear once the change exists* — write the covering test alongside the
|
|
26
|
+
change ({{DOCTRINE}} rigor 3), then break the implementation on purpose once to
|
|
27
|
+
see the test go red before trusting it.
|
|
28
|
+
4. Write the minimum code that makes it pass; add nothing the test doesn't demand.
|
|
29
|
+
5. Run the *affected* tests and read the output ({{LAW}} III); on failure fix the
|
|
30
|
+
cause, never mask it ({{LAW}} VIII). Dispatch the
|
|
31
|
+
[tester {{AGENT}}](../{{DIR_AGENTS}}/tester.md) for heavier or unfamiliar coverage,
|
|
32
|
+
or when the blast radius is unclear.
|
|
33
|
+
6. With the slice green, tidy through the [refactor {{SKILL}}](refactor.md) — the tests
|
|
34
|
+
are the safety net — then commit the slice through the [commit {{SKILL}}](commit.md)
|
|
35
|
+
({{DOCTRINE}} process 5). Loop from step 3, one slice at a time.
|
|
36
|
+
7. **Exit.** When the last slice is in: run the whole affected suite once more, state
|
|
37
|
+
what was run and its result, and hand over — to the [ship {{SKILL}}](ship.md) when
|
|
38
|
+
the change is ready for a PR, or to the [handoff {{SKILL}}](handoff.md) if the
|
|
39
|
+
session ends mid-task. Leave no slice uncommitted and no test you could not make
|
|
40
|
+
fail.
|
|
14
41
|
|
|
15
42
|
## Done when
|
|
16
|
-
-
|
|
43
|
+
- Every behaviour changed is covered by a test written this session that was seen
|
|
44
|
+
to fail before it passed, the affected suite is green with its output shown, each
|
|
45
|
+
slice was committed on its own, and the work has been handed to ship or handoff.
|
|
17
46
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
21
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
22
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
23
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
24
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
25
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
26
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
27
|
-
adding one; when in doubt, leave it out.
|
|
28
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
29
|
-
runs end here.
|
|
47
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -65,15 +65,4 @@ into line with the implementation.
|
|
|
65
65
|
them all; the single-file `overview.html` opens offline and shows both the digest and the
|
|
66
66
|
complex-core deep-dives; and any surface left undocumented is named explicitly.
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
71
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
72
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
73
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
74
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
75
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
76
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
77
|
-
adding one; when in doubt, leave it out.
|
|
78
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
79
|
-
runs end here.
|
|
68
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -24,15 +24,4 @@ decision, or a design conversation keeps stumbling over ambiguous terms.
|
|
|
24
24
|
- The glossary and ADRs reflect every term and decision that crystallised this
|
|
25
25
|
session, and no two names compete for one concept.
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
30
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
31
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
32
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
33
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
34
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
35
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
36
|
-
adding one; when in doubt, leave it out.
|
|
37
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
38
|
-
runs end here.
|
|
27
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/forge-mcp.md
CHANGED
|
@@ -35,15 +35,4 @@ depends on it.
|
|
|
35
35
|
- The server builds, every tool passes the Inspector, and the evaluation
|
|
36
36
|
questions are answered correctly through the tools — not by guesswork.
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
41
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
42
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
43
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
44
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
45
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
46
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
47
|
-
adding one; when in doubt, leave it out.
|
|
48
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
49
|
-
runs end here.
|
|
38
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/fresh-eyes.md
CHANGED
|
@@ -15,15 +15,4 @@
|
|
|
15
15
|
## Done when
|
|
16
16
|
- A fresh context that never saw the solving session derived the acceptance criteria from the original task alone, froze them before seeing the artifact, ruled each PASS/FAIL/UNVERIFIABLE with evidence by checking the live artifact, and returned an overall gate (SATISFIES / SATISFIES-WITH-GAPS / DOES-NOT-SATISFY) for the user to weigh — or, where no true isolation was possible, the verdict is stamped soft-isolation so it is discounted.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
21
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
22
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
23
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
24
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
25
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
26
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
27
|
-
adding one; when in doubt, leave it out.
|
|
28
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
29
|
-
runs end here.
|
|
18
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -44,15 +44,4 @@ preview tool) — the second-pass critique in step 6 cannot run without one.
|
|
|
44
44
|
templated tells, holds the accessibility floor, and a screenshot critique finds
|
|
45
45
|
nothing that reads as a generic default.
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
50
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
51
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
52
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
53
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
54
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
55
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
56
|
-
adding one; when in doubt, leave it out.
|
|
57
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
58
|
-
runs end here.
|
|
47
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -14,20 +14,13 @@
|
|
|
14
14
|
5. Pass 3 — spec fidelity: compare the diff against the task or issue from
|
|
15
15
|
step 1; flag anything asked for but missing, and anything present that was
|
|
16
16
|
never asked for. No spec available → say so and skip the pass.
|
|
17
|
-
6. Write each finding as `file:line — problem — fix`,
|
|
17
|
+
6. Write each finding as a Conventional Comment, `label (decoration): file:line — problem — fix`,
|
|
18
|
+
correctness first. Labels: issue, suggestion, question, todo, nitpick, thought, note,
|
|
19
|
+
praise. Decorations: blocking, non-blocking, if-minor. The line pastes straight into a
|
|
20
|
+
merge-request comment, and a reader can filter on the label without reading the prose.
|
|
18
21
|
|
|
19
22
|
## Done when
|
|
20
|
-
- Findings are reported with a
|
|
23
|
+
- Findings are reported with a verdict that follows from the decorations: any `blocking`
|
|
24
|
+
finding → block; any `if-minor` and nothing blocking → fix-then-ship; otherwise ship.
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
25
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
26
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
27
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
28
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
29
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
30
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
31
|
-
adding one; when in doubt, leave it out.
|
|
32
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
33
|
-
runs end here.
|
|
26
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/geneseed.md
CHANGED
|
@@ -15,15 +15,4 @@
|
|
|
15
15
|
## Done when
|
|
16
16
|
- The user's question about the deployed harness is answered from the live install — file paths or CLI output — not from recall.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
21
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
22
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
23
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
24
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
25
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
26
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
27
|
-
adding one; when in doubt, leave it out.
|
|
28
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
29
|
-
runs end here.
|
|
18
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -33,15 +33,4 @@ or rewrite, use git-rescue.md; to write a new commit, use commit.md).
|
|
|
33
33
|
- The question is answered with a specific commit (or commits) and the diff/output that
|
|
34
34
|
proves it, the bisect state is reset, and the working tree is unchanged.
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
39
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
40
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
41
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
42
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
43
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
44
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
45
|
-
adding one; when in doubt, leave it out.
|
|
46
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
47
|
-
runs end here.
|
|
36
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/git-rescue.md
CHANGED
|
@@ -54,15 +54,4 @@ finding *when/why* something changed without altering history, use git-archaeolo
|
|
|
54
54
|
- The repository is in the intended state, verified against actual git output, and the
|
|
55
55
|
pre-rescue state is still recoverable from the backup branch or the reflog.
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
60
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
61
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
62
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
63
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
64
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
65
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
66
|
-
adding one; when in doubt, leave it out.
|
|
67
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
68
|
-
runs end here.
|
|
57
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/handoff.md
CHANGED
|
@@ -15,15 +15,4 @@
|
|
|
15
15
|
## Done when
|
|
16
16
|
- A fresh agent can resume from the worklog alone — goal, progress, next step, and blockers are all written down.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
21
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
22
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
23
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
24
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
25
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
26
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
27
|
-
adding one; when in doubt, leave it out.
|
|
28
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
29
|
-
runs end here.
|
|
18
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/herdr.md
CHANGED
|
@@ -151,15 +151,4 @@ herdr pane read 1-1 --source recent --lines 100
|
|
|
151
151
|
|
|
152
152
|
The task that motivated the side pane is finished, its output has been read (or its result captured), and any pane / tab / workspace you opened just for the task has been closed — unless the user asked you to keep it.
|
|
153
153
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
157
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
158
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
159
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
160
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
161
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
162
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
163
|
-
adding one; when in doubt, leave it out.
|
|
164
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
165
|
-
runs end here.
|
|
154
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/ingest.md
CHANGED
|
@@ -36,15 +36,4 @@ must be converted first.
|
|
|
36
36
|
- The document's content is available as markdown and the slice the task needs has
|
|
37
37
|
been read — without reading the binary or committing a stray conversion.
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
42
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
43
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
44
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
45
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
46
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
47
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
48
|
-
adding one; when in doubt, leave it out.
|
|
49
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
50
|
-
runs end here.
|
|
39
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/migrate.md
CHANGED
|
@@ -31,15 +31,4 @@ change into the same deploy as the code that depends on it (universal {{LAW}} II
|
|
|
31
31
|
changelog / lockfile reflect the new state with its docs updated
|
|
32
32
|
({{DOCTRINE}} craft 3).
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
37
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
38
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
39
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
40
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
41
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
42
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
43
|
-
adding one; when in doubt, leave it out.
|
|
44
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
45
|
-
runs end here.
|
|
34
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -39,15 +39,4 @@ them at `--theme` / the setup wizard, not this {{SKILL}}.
|
|
|
39
39
|
- Both `<name>.json` (and/or `<name>-transparent.json`) exist in the active themes dir,
|
|
40
40
|
the CLI reported the path, and the user knows the `/theme <name>` command to select it.
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
45
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
46
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
47
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
48
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
49
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
50
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
51
|
-
adding one; when in doubt, leave it out.
|
|
52
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
53
|
-
runs end here.
|
|
42
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -5,24 +5,13 @@
|
|
|
5
5
|
**Trigger:** two or more independent subtasks with no shared state or ordering between them — and a tool that can run subagents.
|
|
6
6
|
|
|
7
7
|
## Procedure
|
|
8
|
-
1. Confirm independence: the subtasks must not depend on each other's output or write the same files. If they're sequential or share state, use [plan](plan.md) instead.
|
|
8
|
+
1. Confirm independence: the subtasks must not depend on each other's output or write the same files ({{DOCTRINE}} process 8). Write down each unit's **write set** — the files or globs it may change — and intersect them; an overlap runs in sequence or goes to one owner, and shared append files (registries, index tables, lockfiles, generated bundles) stay with you. If they're sequential or share state, use [plan](plan.md) instead.
|
|
9
9
|
2. Split the work into self-contained units, each with one clear goal and a defined output contract — what it must return.
|
|
10
|
-
3. Dispatch each unit to its own subagent in one batch, each under a handoff envelope: the unit's goal, the inputs it needs, its output contract
|
|
10
|
+
3. Dispatch each unit to its own subagent in one batch, each under a handoff envelope: the unit's goal, the inputs it needs, its **write set** (edit nothing outside it; return rows for a shared file instead of writing it), the observable check that proves it done, its output contract — naming every file it changed — and the inherited constraints (no commit/push — {{DOCTRINE}} process 5 stays with you; gaps reported, never invented). Hand each unit only the access its goal needs ({{LAW}} VII). Prefer the read-only [explorer {{AGENT}}](../{{DIR_AGENTS}}/explorer.md) for investigation so the heavy reading stays out of the main context ({{DOCTRINE}} process 3). Where no subagent capability exists, run the units sequentially as personas instead, converging the same way.
|
|
11
11
|
4. Keep the main context lean: collect each subagent's distilled result, not its working transcript.
|
|
12
|
-
5. Converge:
|
|
12
|
+
5. Converge: compare each unit's changed files against its write set and against its siblings' — an edit outside the set or a file two units touched is a conflict you resolve before anything else — apply the shared-file rows yourself, then verify the combined outcome.
|
|
13
13
|
|
|
14
14
|
## Done when
|
|
15
15
|
- Independent units ran concurrently, each returned a distilled result, and the reconciled outcome is verified.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
20
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
21
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
22
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
23
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
24
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
25
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
26
|
-
adding one; when in doubt, leave it out.
|
|
27
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
28
|
-
runs end here.
|
|
17
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/pipeline.md
CHANGED
|
@@ -16,37 +16,26 @@ The minimum roster per task type. The parent may add specialists on top — secu
|
|
|
16
16
|
|---|---|
|
|
17
17
|
| Development | [explorer](../{{DIR_AGENTS}}/explorer.md) (analyst) → [developer](../{{DIR_AGENTS}}/developer.md) → [tester](../{{DIR_AGENTS}}/tester.md) + lint gate |
|
|
18
18
|
| Documentation | [explorer](../{{DIR_AGENTS}}/explorer.md) (analyst) → [docs](../{{DIR_AGENTS}}/docs.md) |
|
|
19
|
-
| Research / investigation | [explorer](../{{DIR_AGENTS}}/explorer.md) (analyst) alone |
|
|
19
|
+
| Research / investigation | [explorer](../{{DIR_AGENTS}}/explorer.md) (analyst) alone; add [researcher](../{{DIR_AGENTS}}/researcher.md) when the question leaves the repository |
|
|
20
20
|
| Review / audit | [reviewer](../{{DIR_AGENTS}}/reviewer.md) + [skeptic](../{{DIR_AGENTS}}/skeptic.md) |
|
|
21
21
|
|
|
22
22
|
## Procedure
|
|
23
23
|
|
|
24
24
|
1. Confirm the task is genuinely substantial — a trivial one-file tweak or a question does not warrant a crew; do it directly instead.
|
|
25
25
|
2. Compose the crew from the floor above, adding specialists only where the task demands them.
|
|
26
|
-
3. Isolate the crew's work in its own git worktree/branch (the SETUP.md worktree add-on). Where worktrees are unavailable, fall back to a single tree, one pipeline at a time, and say so.
|
|
26
|
+
3. Isolate the crew's work in its own git worktree/branch (the SETUP.md worktree add-on). Where worktrees are unavailable, fall back to a single tree, one pipeline at a time, and say so. Give the crew a **write set** and check it against every other pipeline in flight ({{DOCTRINE}} process 8): two crews whose sets overlap do not run at once, and shared append files (registries, index tables, lockfiles, generated bundles) are the parent's to apply, never a crew's.
|
|
27
27
|
4. **The dev↔tester loop:** the developer implements, the tester validates — runs the tests and lint, produces raw logs. On failure, the findings go back to the developer. Cap at **5** iterations; on exhaustion, stop, do not merge, and report the failure with the branch left in place for inspection.
|
|
28
28
|
5. **Two execution shapes**, chosen by host capability (same pattern as the [workflow {{SKILL}}](workflow.md)):
|
|
29
29
|
- *Deterministic:* where the host exposes a `workflow` tool, run a saved script encoding analyst → developer → (tester ⇄ developer)×≤5 → proof.
|
|
30
30
|
- *Model-driven fallback:* everywhere else, run the same stages via the [parallel-agents {{SKILL}}](parallel-agents.md) or sequential personas, with the same handoff envelopes and the same delivery contract.
|
|
31
|
-
6. On success,
|
|
31
|
+
6. On success, hand the worktree back to the parent uncommitted, with the mechanical proof (test + lint output, exit codes) and the list of files it changed in the result envelope, rebased on the current base so a conflict with a sibling resolves on the crew's branch. The pipeline never commits, pushes, or merges ({{DOCTRINE}} process 5): the parent re-runs the proof commands itself, shows the user the diff and the output, and commits and merges once the user accepts.
|
|
32
32
|
|
|
33
33
|
## Delivery contract
|
|
34
34
|
|
|
35
|
-
A
|
|
35
|
+
A worktree containing the work, uncommitted, **plus** the mechanical proof in the result envelope: test and lint output with exit codes. Anything without green proof is surfaced, never merged. The crew's proof is what the parent re-runs, not what it trusts: a log is an account of the state, and the gate that decides the merge runs against the state itself.
|
|
36
36
|
|
|
37
37
|
## Done when
|
|
38
38
|
|
|
39
|
-
- Green proof: the crew delivered a
|
|
39
|
+
- Green proof: the crew delivered a worktree whose tests and lint the parent re-ran green, and the user accepted the commit and merge — or the loop cap was exhausted and the failure was reported with the branch left in place.
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
44
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
45
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
46
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
47
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
48
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
49
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
50
|
-
adding one; when in doubt, leave it out.
|
|
51
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
52
|
-
runs end here.
|
|
41
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/plan.md
CHANGED
|
@@ -31,15 +31,4 @@
|
|
|
31
31
|
> place after the window fills, and lets the user correct course early. Consider
|
|
32
32
|
> git-ignoring `WORKLOG.md` if it should stay local to each developer.
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
37
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
38
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
39
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
40
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
41
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
42
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
43
|
-
adding one; when in doubt, leave it out.
|
|
44
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
45
|
-
runs end here.
|
|
34
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/ponytail.md
CHANGED
|
@@ -15,15 +15,4 @@
|
|
|
15
15
|
## Done when
|
|
16
16
|
- The shipped solution sits on the highest ladder rung that works, deliberate shortcuts carry a `ponytail:` comment with their upgrade path, non-trivial logic has one runnable check, and nothing on the never-simplify list was cut.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
21
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
22
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
23
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
24
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
25
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
26
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
27
|
-
adding one; when in doubt, leave it out.
|
|
28
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
29
|
-
runs end here.
|
|
18
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/profile.md
CHANGED
|
@@ -44,15 +44,4 @@ as creation, and never discard a section the user wrote by hand.
|
|
|
44
44
|
`user-rules.md` or {{MEMORY}} instead — or the user declined, and the file is
|
|
45
45
|
untouched.
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
50
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
51
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
52
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
53
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
54
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
55
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
56
|
-
adding one; when in doubt, leave it out.
|
|
57
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
58
|
-
runs end here.
|
|
47
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/prose.md
CHANGED
|
@@ -28,15 +28,4 @@ person wrote it, not a model.
|
|
|
28
28
|
- The text says what it means in the fewest honest words, carries no AI tells,
|
|
29
29
|
and would pass as written by a careful human.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
34
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
35
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
36
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
37
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
38
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
39
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
40
|
-
adding one; when in doubt, leave it out.
|
|
41
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
42
|
-
runs end here.
|
|
31
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/prototype.md
CHANGED
|
@@ -30,15 +30,4 @@ real implementation.
|
|
|
30
30
|
- The question has a recorded verdict, the decision lives in the real code,
|
|
31
31
|
and no prototype code remains on the main branch.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
36
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
37
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
38
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
39
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
40
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
41
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
42
|
-
adding one; when in doubt, leave it out.
|
|
43
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
44
|
-
runs end here.
|
|
33
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# {{SKILL}}: quiz
|
|
2
|
+
|
|
3
|
+
> {{DESC_QUIZ}}
|
|
4
|
+
|
|
5
|
+
<!-- invocation: user -->
|
|
6
|
+
|
|
7
|
+
**Trigger:** the user wants what they know *tested*, not explained — "drill me on X",
|
|
8
|
+
"quiz me until it sticks", "let me explain X to you and catch me", "I think I already
|
|
9
|
+
know X, prove me wrong", "find the holes in what I know". Three shapes, picked from the
|
|
10
|
+
ask: a **drill** (practise until reflex), a **feynman** (explain it back, get caught on
|
|
11
|
+
the stumbles), or a **gap check** (a mastery claim stress-tested). To be taught instead,
|
|
12
|
+
use the [teach {{SKILL}}](teach.md).
|
|
13
|
+
|
|
14
|
+
## Procedure
|
|
15
|
+
1. Pin the concept and set the contract plainly: you will test, not lecture, and you
|
|
16
|
+
will not go easy. Do not explain the concept up front.
|
|
17
|
+
2. Pick the shape and run it:
|
|
18
|
+
- **Drill** — drop the user straight into a realistic situation where they would
|
|
19
|
+
have to use the concept and would probably slip. On a mistake, withhold the
|
|
20
|
+
answer; ask the one question that forces them to find where their own reasoning
|
|
21
|
+
broke. Reveal only after two honest attempts. New situation each cycle, until they
|
|
22
|
+
get it right without hesitation.
|
|
23
|
+
- **Feynman** — have them explain the topic as if teaching a ten-year-old.
|
|
24
|
+
Interrupt the moment they (a) use jargon they cannot themselves unpack, (b) skip
|
|
25
|
+
a step in the reasoning, or (c) simplify so far the explanation becomes wrong —
|
|
26
|
+
name which of the three it was each time, and keep them going to the end.
|
|
27
|
+
- **Gap check** — ask five questions that look simple but separate someone who
|
|
28
|
+
has gone deep from someone who skimmed: edge cases, the *why*, the assumption
|
|
29
|
+
under the rule, the case where the standard answer breaks. After each answer say
|
|
30
|
+
plainly what it reveals is still missing; a shallow answer is named as shallow,
|
|
31
|
+
with what depth would have looked like.
|
|
32
|
+
3. Close with the honest readout, no flattery: what the stumbles or misses reveal is
|
|
33
|
+
not yet solid, what to restudy, and — for a drill — the variation most likely to
|
|
34
|
+
catch them out next. Offer the [teach {{SKILL}}](teach.md) for the gaps that need
|
|
35
|
+
teaching rather than more testing.
|
|
36
|
+
|
|
37
|
+
## Done when
|
|
38
|
+
- The user worked the situation correctly without being handed the answer (drill),
|
|
39
|
+
explained the topic through with every stumble caught and labelled (feynman), or
|
|
40
|
+
answered all five questions and holds a concrete verdict on the remaining gaps (gap
|
|
41
|
+
check) — and the run ended with a direct readout, never empty praise.
|
|
42
|
+
|
|
43
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
|
@@ -8,9 +8,15 @@ listed in the generator's `VENDORED_SKILL_DIRS`.
|
|
|
8
8
|
- **Upstream:** https://github.com/vercel-labs/agent-skills/tree/main/skills/react-view-transitions
|
|
9
9
|
- **Commit:** f8a72b9603728bb92a217a879b7e62e43ad76c81
|
|
10
10
|
- **Author:** Vercel Engineering
|
|
11
|
-
- **License:** MIT (https://github.com/vercel-labs/agent-skills — `## License` → MIT)
|
|
11
|
+
- **License:** MIT (https://github.com/vercel-labs/agent-skills — `## License` → MIT).
|
|
12
|
+
Upstream ships no LICENSE file (neither at the pinned commit nor on `main`), so there
|
|
13
|
+
is no license text to carry here; the README's declaration is the whole grant.
|
|
12
14
|
|
|
13
15
|
The skill follows the [Agent Skills](https://agentskills.io/) format (`SKILL.md` +
|
|
14
16
|
`references/`). Its internal links point at the upstream project's own files; do not
|
|
15
17
|
"fix" them to Geneseed paths — that is why the folder is gate-exempt. To update,
|
|
16
18
|
re-copy the upstream folder and bump the commit above.
|
|
19
|
+
|
|
20
|
+
**Deliberately not copied:** upstream's `README.md` (the repo-facing readme: install
|
|
21
|
+
command and folder tree, nothing an agent reads). `AGENTS.md`, upstream's compiled
|
|
22
|
+
all-in-one copy, IS kept — `SKILL.md`'s closing section points the agent at it.
|
package/src/skills/refactor.md
CHANGED
|
@@ -18,15 +18,4 @@
|
|
|
18
18
|
## Done when
|
|
19
19
|
- Structure is improved, observable behaviour is unchanged, tests are green, and the refactor is committed by itself.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
24
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
25
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
26
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
27
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
28
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
29
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
30
|
-
adding one; when in doubt, leave it out.
|
|
31
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
32
|
-
runs end here.
|
|
21
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/release.md
CHANGED
|
@@ -29,15 +29,4 @@
|
|
|
29
29
|
- Version, changelog, and tag all name the same number, and the release is pushed
|
|
30
30
|
(or staged for the pipeline) with no unrelated changes bundled in.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
35
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
36
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
37
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
38
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
39
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
40
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
41
|
-
adding one; when in doubt, leave it out.
|
|
42
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
43
|
-
runs end here.
|
|
32
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|
package/src/skills/repo-map.md
CHANGED
|
@@ -22,15 +22,4 @@
|
|
|
22
22
|
- `ARCHITECTURE.md` reflects the current structure, and a fresh agent could orient
|
|
23
23
|
from it in a single read.
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Close each run with one beat of reflection on the {{SKILL}} itself:
|
|
28
|
-
- A step misled, a needed step was missing, or the trigger fired wrongly — that
|
|
29
|
-
is a flaw in this file. Propose the exact edit (trigger, procedure, or
|
|
30
|
-
done-when) and apply it with the user's assent ({{LAW}} II).
|
|
31
|
-
- A lesson that is *not* a flaw in this file goes to {{MEMORY}} only if it
|
|
32
|
-
clears {{DOCTRINE}} process 1's bar: it would change how a future session behaves, and a
|
|
33
|
-
fresh read of the repo would not re-derive it. Update an existing memory over
|
|
34
|
-
adding one; when in doubt, leave it out.
|
|
35
|
-
- No friction, nothing learned — move on; this loop earns no ceremony. Most
|
|
36
|
-
runs end here.
|
|
25
|
+
<!-- INCLUDE: skills/_self-improvement.md -->
|