14 issues created covering AGENTS.md refactor prerequisite, skill implementation workflow grill, bootstrap skills (write-eval, write-skill), remaining factory skills, and one issue per skill category group through to chunk closure. All HITL; acceptance criteria for 0017-0028 to be refined after 0016 grill session. Doc updates: CONTEXT.md PRD/issue scope clarified (HOW distribution across architecture-review and issue design notes); ROADMAP.md housekeeping updated with bootstrap order and issue range; spec/overview.md recent changes entry added; PRD updated (skills-index: delete → update). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3.9 KiB
3.9 KiB
0027 — Cross-cutting skills: session-handoff, governance-check, git-commit-message, improve-codebase-architecture, triage, zoom-out, caveman
Type: HITL
Parent PRD: docs/prd/chunk-3-skills-library.md
What to build
The 7 cross-cutting skills (no single phase home). Three are new; four are preserved Pocock placeholders upgraded to the authoring standard. Authored via write-skill (0018), evals via write-eval (0017). caveman is kept as-is (no eval required — it is a formatting-only utility, not a content skill).
Skills, origins, and trigger descriptions:
| Flat name | Origin | Trigger description |
|---|---|---|
session-handoff |
New | Session handoff, save context, pausing work |
governance-check |
New | Check this against governance rules, is this allowed |
git-commit-message |
New | Write commit message, conventional commit, git message |
improve-codebase-architecture |
Preserved; frontmatter + standard added | Improve architecture, refactor structure, codebase improvement |
triage |
Preserved; fix dead references; frontmatter + standard added | Triage this issue, categorise, prioritise |
zoom-out |
Preserved; frontmatter + standard added | Zoom out, big picture, what are we doing |
caveman |
Kept as-is | (token compression utility — no trigger change) |
Key constraints per skill:
session-handoff: captures current state, next steps, decisions with rationale, and linked issue reference; prompts LESSONS.md extraction before closing; does NOT managedocs/spec/— spec is updated in-PR, not at handoffgovernance-check: validates proposed action againstAGENTS.md(must reference AGENTS.md, not governance.md, now that AGENTS.md is the primary entry point post-0015)git-commit-message: conventional commits format; derives from diff; does not invent scope or typetriage: remove dead references (AGENT-BRIEF.md,OUT-OF-SCOPE.md); add frontmatter and authoring standard sectionszoom-out: add frontmatter and authoring standard; merge into architect role revisited at Chunk 5 grill (this note should appear in the SKILL.md as awhen-not:constraint or a note in failure handling)caveman: no changes; no eval needed (not a content-generating skill)
Implementation notes
Follow the per-skill workflow defined in docs/notes/skill-implementation-workflow.md (produced by issue 0016).
Known upstream sources to review:
mattpocock/skills— originalimprove-codebase-architecture,triage,zoom-out,cavemanplaceholders; record SHAs for adopted content- For new skills (
session-handoff,governance-check,git-commit-message): search for prior art before writing from scratch
Acceptance criteria
- All 7 SKILL.md files exist at
.agents/skills/<skill-name>/SKILL.md;metadata.category: cross-cutting; authoring standard met (exceptcaveman— kept as-is) - Dead references removed from
triageand any other affected skills governance-checkreferencesAGENTS.mdas the governance source (notgovernance.md); requires AGENTS.md refactor (0015) to be completesession-handoffexplicitly excludesdocs/spec/management from its scopezoom-outSKILL.md notes the Chunk 5 grill revisit for potential merge into architect rolesource:fields populated for all Pocock-derived skills and any adopted upstream content- Each new or refactored skill has a co-located eval at
.agents/evals/cross-cutting/<skill-name>/eval.yamlviawrite-eval;cavemanexempt install.shdeploys all 7 to~/.agents/skills/- HITL: human runs behavioral test for each new/refactored skill
- HITL: human reviews each SKILL.md and eval before committing
- (Further criteria to be refined after issue 0016 grill session)
Blocked by
- 0015 (AGENTS.md must exist before
governance-checkcan reference it correctly) - 0016 (per-skill workflow)
- 0017 (
write-eval) - 0018 (
write-skill)