chore: slim dataset templates to essential info#323
Conversation
- cut duplicate mini-templates, repeated placeholder blocks, KB-restating tips - code-review 1850→1474w, pr 1662→1431w, commit 1327→859w, branch 1233→549w, epic 1543→1339w, initiative 1801→1629w, markdown-templates 1456→1128w - all skill-referenced sections/headings/fields preserved - user-story: dataset↔root mirror realigned (/pair-process-plan-tasks) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Code Review — PR #323Review Information
Review SummaryOverall AssessmentApproved with Comments — meaning-preserving slimming verified hunk-by-hunk against every skill/how-to that consumes these templates. All load-bearing contract surface survives. Only Minor/Nit findings. Key Changes Summary7 templates + 1 guideline slimmed (-1993/+149 across dataset + root mirrors), 1 pre-existing dataset↔root divergence fixed (user-story-template). Business Value ValidationCuts token cost for every skill that loads these templates without changing what skills or humans fill in. Value claim holds. Code Review ChecklistFunctionality Review (contract safety)
Code Quality Assessment
Technical Standards Compliance
Security Review
Testing ReviewRe-ran gates independently in a detached worktree at
Note: PR body claims "45 tests pass" — 45 is the count when 2 suites ( Documentation Review
Detailed Review CommentsPositive Feedback
Issues to AddressCritical Issues
|
- code-review-template: conduct pointer -> ../team/standards.md link - branch-template: QA pointer -> ../../quality-assurance/README.md link - dataset + root mirrors byte-consistent Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Remediation — review #323 (comment)
Gates at 🤖 Generated with Claude Code |
Re-review — remediation verified (head
|
Summary
What Changed
Meaning-preserving slimming pass over the knowledge-hub dataset templates (follow-up to the skill-text slimming in 8ca2d8c). 7 verbose templates reduced to essential info; 13 already-lean templates untouched; 1 dataset↔root mirror inconsistency fixed. Root
.pair/mirrors kept byte-consistent with the dataset in the same commit.Why This Change
Templates are load-bearing contracts (skills and humans fill them), but several carried heavy instructional fluff: duplicate mini-templates, repeated placeholder blocks, git tutorials, and prose restating KB guidelines. Slimming cuts token cost for every skill that loads them without changing the contract.
Story Context
No story — maintenance chore, same lane as 8ca2d8c.
Changes Made
Per-file ledger (words before → after)
/plan-tasks→/pair-process-plan-tasks)Untouched (lean already)
PRD_template (666w, 13-section contract referenced by /specify-prd), task (578w), checkpoint (288w, no root mirror by design), bounded-context (381w), context-map (383w), ddr (177w), adr (147w), adl (131w), subdomain (187w), subdomain-context (150w), manual-test-case (256w), manual-test-report (320w) — pure field/placeholder structure, nothing safe to cut.
Safety cross-checks
.skills/**/SKILL.mdandhow-to/*.mdfor template references and section names before cutting — every skill-referenced heading survives with identical text.Testing
pnpm --filter @pair/knowledge-hub test— full suite 5 files / 80 tests pass + link check: all markdown links valid (prerequisite:pnpm --filter @pair/content-ops build, otherwise 2 test files fail to collect and only 45 tests run)pnpm --filter @pair/knowledge-hub mdlint:check— clean; touched root mirrors linted directly with markdownlint-cli2: 0 errorspnpm docs:staleness— PASS (35 skills, 8 commands in sync)pnpm quality-gate— passed on push.pair/mirror🤖 Generated with Claude Code