Imported from boise-state-development/agentcore-public-stack (
.claude/skills/kaizen-review-prep/SKILL.md). Install upstream withnpx skills add boise-state-development/agentcore-public-stack --skill kaizen-review-prep. Copyright stays with the author.
name: kaizen-review-prep
description: Friday late-morning synthesis. Runs ~4 hours after kaizen-research the same morning. Consumes this week's research doc, open items in docs/kaizen/review-queue.md, the outcomes of the prior review's proposals (read from merged PRs and from open PR branches), and recent merges/reverts/CI signal — produces a ranked, decision-oriented agenda. Every item has a Ship / Decline / Defer recommendation. Opens a PR into develop. Triggers: "kaizen review prep", "weekly review prep", "friday review", "rank kaizen ideas".
Kaizen Review Prep
Friday late morning, after kaizen-research ran earlier the same morning. This skill consolidates this week's research + open queue items + the outcomes of the prior review's proposals + recent repo state into a ranked decision agenda. Phil reviews Friday morning, marks ✅/❌/⏸ on each item, and ships 1–3 the following week. What those 1–3 did is the feedback signal the next run opens with.
Philosophy
- Review is a decision forum, not a status update. Everything that lands in the output should be either: (a) actionable this week, (b) explicitly deferred with a reason and revisit date, or (c) declined. Nothing is "noted." Noted-and-forgotten is how systems accumulate friction.
- Subtraction first. Every proposal ranks against "do nothing" and "retire something instead." If a proposal adds anything, it must explain what existing thing it either replaces or simplifies.
- Dual lens — impact + capability-unlock. Rank proposals through two lenses, not one: (a) impact on existing code (does this change, simplify, or obsolete something we already have?) and (b) capability unlock (what new product capability or UX enhancement does this enable that we couldn't easily build before?). Subtraction-first applies to lens (a). But proposals that genuinely unlock new product surface — code-interpreter sandboxes, persistent agent state, multi-agent UI attribution, new SSE event types that enable inline UI, etc. — must be evaluated on their strategic merit, not auto-deferred because they don't intersect existing code. A proposal with no
Subtractsvalue but a substantiveUnlocksvalue can rank above a low-impact dep-bump. Don't penalize net-new capability for not being a cleanup. - Multiple cycles. Kaizen is small changes, weekly, compounding. If this week's review touches 3 things, next week's will touch 3 different things. Phil doesn't need a grand plan — he needs a reliable weekly cadence.
- Outcomes are the feedback channel, not comments. Open every run with a scorecard of the prior review's proposals: which shipped, which didn't, and what the merged PRs found. Shipping a proposal is the only reaction that has ever been recorded — see
decisions.md[2026-09-21]. Do not ask for, wait on, or rank by PR comments. - Read open PR branches, not just
develop. This repo's deepest analysis is written asdocs/kaizen/review-queue.mdentries inside the feature PR that produced it. A review that reads onlydevelopmisses them, re-derives them worse, and gets corrected by a branch that was sitting there the whole time. Before ranking,gh pr list --state openand diff each againstdevelopfordocs/kaizen/and any spec the review cites. Those entries are authoritative over anything re-derived; cite them rather than restating them, and flag the merge order when two PRs touch the top of## Open. - No edits outside
docs/kaizen/. This skill writes one Markdown file underdocs/kaizen/reviews/and updatesdocs/kaizen/review-queue.md(moves Open → Resolved post-review). It never touches source code,CLAUDE.md, or skill files. Those changes happen in separate PRs after the review.
When to run
Friday late morning (~10am MT), ~4 hours after kaizen-research runs. Phil reviews both docs Friday, picks 1–3 to ship over the coming week; what those picks did is the scorecard this skill opens with the following Friday.
Preflight — check that this morning's research doc exists before doing anything else. The gap is sized to the scan's runtime (2h18m on 2026-09-11), not guaranteed by it. If docs/kaizen/research/<today>.md is absent or the kaizen-research run is still in flight, say so in the review doc's header and proceed queue-first — the ## Open entries are the primary source and research is one input. Degrading is fine; degrading silently is not. This failed on 2026-09-18, when prep ran 18 minutes after the scan started.
Inputs
- Most recent
docs/kaizen/research/YYYY-MM-DD.md— Friday's scan. Its Top 5 ideas are the primary candidate list. docs/kaizen/review-queue.md—## Openentries. Includes both this week's ideas (just appended bykaizen-research) and any prior-week items that weren't resolved.- Last 1–2
docs/kaizen/reviews/*.md— what was proposed before, what was decided, anything deferred to "revisit by [date]". - Outcomes of the prior review's proposals. For each proposal in the most recent
docs/kaizen/reviews/*.md, establish on disk or in git what happened: shipped (name the commit/PR), not started, or superseded. This is the feedback channel — see the Philosophy bullet. Include open PR branches, which routinely carry queue entries that refute or narrow whatdevelopalone would suggest. docs/kaizen/decisions.md(if it exists) — declined items with reasons. Don't re-propose without materially new context.- Recent activity since last review:
git log origin/develop --since="<last review date>" --oneline --no-merges— what shipped.gh pr list --base develop --state merged --search "merged:>$(date -v-7d +%Y-%m-%d)"— what landed.gh run list --status=failure --limit 30— fresh CI failures.
CLAUDE.md+ skill inventory — surface concerns only; never propose unilateral edits to these.CHANGELOG.md/RELEASE_NOTES.md— most recent ~14 days, for the "what shipped this week" celebration block + the don't-re-propose filter.- The Strands readout: the newest
docs/kaizen/scoping/strands-*-readout.md(written bystrands-release-review) and the research doc'sstrands-agentspin-lag row. Also check whether a bump PR is open:gh pr list --state all --search "strands-agents in:title" --limit 5. This feeds the standing Strands slot below. - Spec sync rows — the research doc's "Spec sync" table (kaizen-research source 2b) and the matching
Spec sync:queue entries. They keep the multi-agent living specs (docs/specs/multi-agent-patterns.md,docs/specs/agent-handoffs-and-consults.md) true to upstream and to our own code. If the research doc has no Spec sync table, or no "no drift found" line, say the watch didn't run; don't treat it as a clean week.
Output
1. Review doc — docs/kaizen/reviews/YYYY-MM-DD.md
# Kaizen Review — [Day, Month D, YYYY]
> Prepared HH:MMam MT. Review window: [Month D – D] (7 days).
> Source: research/YYYY-MM-DD.md + review-queue.md (N open items).
## Week in Review
[2-4 sentences. What did the week reveal about the system? Use concrete language —
"The aws-samples reference repo introduced a new agent-loop pattern and we're 2
Strands releases behind" beats "some external changes". This is Phil's pulse
check before decisions.]
## Friction — the week's signal
### Repeated patterns (≥2 occurrences)
- **[Pattern]** (N times) — [concrete description; quote PR review comments or commit messages where helpful]
- *Hypothesis*: [root cause]
- *Candidate fix*: [specific change — file + behavior]
### One-offs worth watching
- **[Pattern]** (1 occurrence) — [context]
### Silence that matters
<!-- What WASN'T used: skills not referenced this week, features not invoked,
CI workflows that haven't run, etc. -->
- **[Silence]** — [what wasn't used + what that might mean]
## Strands bump — standing slot
<!-- Every review, ahead of Proposals and outside the 10-proposal cap. Strands
releases are the biggest single source of platform change, and a released
version must not wait a week behind a gate it doesn't need. Fill it from the
latest strands-release-review readout.
- Pin lag 0: one line, "On X, the latest python release. Nothing to bump."
- Lag > 0 with a readout: the readout's Verdict, its gates (each with the
file:line that makes it reachable for us), its Adopt / Subtract rows, and its Unlocks.
Recommend Ship this week unless a gate is unresolved AND reachable on a
path we run. Name that gate and its owner. A gate the readout marks
unreachable (a config we don't pass, a model we don't curate) is a Guard
test in the bump PR, never a reason to hold.
- Lag > 0, no readout: "Readout missing: run strands-release-review"
(Recommendation: Ship the readout today). Never rank the bump from
release notes.
- A bump PR already open: its status, and which readout checklist items are
still unticked.
Subtract and Unlocks rows become their own proposals only if they rank; the bump
itself is decided here. -->
- **Pin → latest**: X → Y (N releases / N days) — readout: `scoping/strands-Y-readout.md`
- **Gates**: [gate — file:line — reachable? — owner] or "none"
- **Adopt / Subtract / Unlocks**: [one line each]
- **Recommendation**: Ship the bump this week / Hold for [gate] until [date] — [why]
## Proposals — ranked
<!-- 5–10 items. Each is a DECISION for Phil, not a status. Every item has
a specific Ship option, a specific Decline option, and a recommendation. -->
### 1. [Proposal title]
- **Source**: research/YYYY-MM-DD.md ▸ Top 5 #N | review-queue.md (open since YYYY-MM-DD) | PR comment | direct observation
- **Surface area**: backend / frontend / infrastructure / cross-cutting / docs / skills
- **Change**: [concrete description — what files change, what the new behavior is]
- **Subtracts**: [required field — what this retires, simplifies, or replaces. Or explicitly "addition only — justified because…"]
- **Unlocks** (if applicable): [net-new product capability, UX pattern, or enhancement this enables — bulleted if multiple. Required for proposals where `Subtracts: no — addition only`; the unlock is the justification. Omit when purely a cleanup/dep-bump and not applicable.]
- **Effort**: Low / Med / High
- **Impact**: Low / Med / High
- **Evidence**: [measured — cite the number and where it came from | verified on disk — cite file:line | asserted — say so plainly]
- **Ship means**: [specific action — "open PR updating X to do Y" or "retire skill Z"]
- **Decline means**: [what happens instead — usually "keep current behavior, revisit in N weeks"]
- **Recommendation**: Ship / Decline / Defer N weeks — [one-sentence why]
### 2. [Next proposal]
…
## Living Spec Sync — multi-agent
<!-- From the research doc's Spec sync table. Kept apart from Proposals so they
never crowd out the ranked ideas, and so drift never waits for a slow week.
Default recommendation is Ship when the evidence is verified (a release note,
a merged PR, a file:line): it's a small docs PR. Recommend Decline only when
the evidence is asserted rather than verified, and say which. A sync that
changes a decision in the spec (a gate, a phase order, a non-goal) is not a
sync — promote it to Proposals instead. -->
- **[Doc §]** — "[stale claim]" → "[proposed text]" — *evidence*: [URL / SHA / file:line] — recommendation: Ship / Decline — [why]
- Or: "No drift found this week (watch ran)." / "Watch did not run — [reason]."
## Carried Over From Prior Reviews
<!-- Items deferred in earlier review docs that have hit their revisit date.
Surfaced here for re-decision so nothing rots silently in "deferred" status. -->
- **[Deferred item]** (deferred YYYY-MM-DD until YYYY-MM-DD) — [original context]. Now due.
## Retirement Candidates
<!-- Things currently in the scaffold that aren't earning their place.
Bias strongly toward subtraction. If you can't find anything, that's a
finding — flag it in the Take. -->
- **[Candidate]** — [evidence: not modified in N days, not referenced, replaced by X]
## Risks Acknowledged But Not Acted On
<!-- From research's "Risks introduced this week" section. Surface so Phil
can decide: address now, defer with a watch date, or accept. -->
- **[Risk]** — [source URL] — *what breaks if ignored* — recommendation: [Address now / Watch until [date] / Accept]
## What Shipped This Week
<!-- From CHANGELOG.md / merged PRs. Short list, one line each. Context for
"the system absorbed this much change recently — propose less if a lot." -->
- [shipped item] — *why it mattered*
## Take
[2-4 sentences. Is the system trending toward trust or toward friction? Is the kaizen
loop catching real signal or generating noise? What's the one change that would
matter most this week if shipped? Don't sugarcoat — if a skill or pattern isn't
pulling its weight, say so.]
---
## Review Protocol (for Phil)
1. Read Friction (2 min).
2. Decide the Strands slot: ✅ bump / ⏸ hold, with the gate named (1 min).
3. Scan Proposals — mark ✅ Ship / ❌ Decline / ⏸ Defer on each (3-5 min).
4. Scan Retirement Candidates — same marks (1-2 min).
5. Resolve Carried Over items (1-2 min).
6. Resolve Risks block.
7. Pick 1-3 to ship this week. Decline or defer the rest with a reason.
Target: 10-15 minutes.
## Post-review (for Phil — separate PRs)
- ✅ Ship items → individual feature PRs over the week. The decision is logged in this doc; the implementation lives elsewhere.
- ❌ Decline items → appended to `docs/kaizen/decisions.md` with Phil's reason so future research doesn't re-propose.
- ⏸ Defer items → kept open in `review-queue.md` with a "revisit by [date]"; surface again in the next review when due.
This skill produces the agenda. Implementation never happens here.
2. Queue update — docs/kaizen/review-queue.md
After Phil reviews and the decisions are logged in the review doc, this skill (or Phil himself, manually) moves resolved items from ## Open to ## Resolved with a Decision and Reasoning. On a fresh run before Phil has reviewed, the skill leaves Open as-is — only the prior review's outcomes get processed for queue movement.
How to run
-
Bootstrap. Confirm
docs/kaizen/reviews/exists; create it if not. -
Read inputs (sequential — small reads):
- Latest file in
docs/kaizen/research/ docs/kaizen/review-queue.md(full)- Last 1–2 files in
docs/kaizen/reviews/ docs/kaizen/decisions.mdif present- Last ~14 days of
CHANGELOG.mdandRELEASE_NOTES.md CLAUDE.md(read-only — for context, not edits)
- Latest file in
-
Score the prior review's proposals, and read open PR branches (parallel with step 4):
gh pr list --state open --json number,title,headRefName git fetch origin && git diff origin/develop...origin/<branch> -- docs/kaizen/For each proposal in the last review doc, resolve shipped / not started / superseded against git and disk — that scorecard opens the new review. Queue entries found on open branches are authoritative over anything re-derived here.
-
Pull recent activity (parallel Bash):
git log origin/develop --since="<last review date>" --oneline --no-mergesgh pr list --base develop --state merged --search "merged:>$(date -v-7d +%Y-%m-%d)" --limit 30gh run list --status=failure --limit 30gh issue list --state open --search "created:>$(date -v-7d +%Y-%m-%d)"
-
Process prior-review queue movement. For each entry in
## Openthat was resolved in the most recent review doc, move it to## Resolvedwith the Decision + Reasoning + Reviewed-in fields. Items with no decision in the prior review stay open. -
Identify Carried Over items. Scan prior review docs for
Defer N weeksrecommendations whose revisit date has hit. Add those to the new review's Carried Over section. -
Synthesize the review doc per the shape above. The Proposals list is built from:
- All
## Openentries inreview-queue.md(the primary source) - Any new friction patterns surfaced from PR comments / merged PRs / CI that weren't already in the queue
- Carried Over items Rank:
- Low-effort × High-impact first.
- Retirement candidates get a +1 boost (subtraction bias).
- Capability-unlock items (proposals with a substantive
Unlocksfield — new product capability, UX surface, or platform primitive adoption) rank on their strategic merit. Do not auto-defer just becauseSubtracts: no. A High-impact unlock can rank above a Low-impact subtraction. - Items with measured evidence rank above asserted ones at the same effort/impact.
- All
-
Fill the Strands slot from input 9, per the template's comment. It sits outside the cap. If pin lag is above 0 and there's no readout, the slot says so; don't write the readout here (this skill only writes the review doc and the queue), and don't rank the bump from release notes.
-
Cap the proposal count at 10. If more than 10 candidates, defer the lowest-ranked to next week with a note. The review is supposed to take 10-15 minutes, not be exhaustive.
-
Open a PR — see "PR creation".
PR creation
DATE=$(TZ=America/Denver date +'%Y-%m-%d')
BRANCH="kaizen/review-${DATE}"
# Branch from the remote tip, never local `develop`: the main checkout often
# sits detached or on another branch, and local `develop` is usually checked
# out in some other worktree and weeks behind.
git fetch origin develop
git checkout -b "$BRANCH" origin/develop
git add docs/kaizen/
git commit -m "$(cat <<EOF
chore(kaizen): weekly review prep ${DATE}
Generated by kaizen-review-prep. Ranked agenda for the 10-15 min decision pass;
queue updated with prior-review outcomes.
EOF
)"
git push -u origin "$BRANCH"
gh pr create --base develop --head "$BRANCH" \
--title "chore(kaizen): weekly review prep ${DATE}" \
--body "$(cat <<'EOF'
## Summary
- N proposals ranked Effort × Impact (retirement candidates boosted).
- Friction patterns from the week's commits, PRs, and CI surfaced.
- Carried-over deferred items now due for re-decision.
- Strands bump slot: pin lag, the readout's verdict and gates, bump or hold.
- Scorecard of the prior review's proposals: what shipped, what didn't, and what the merged PRs found.
## Review
1. Read Friction (2 min).
2. Decide the Strands slot: bump or hold, with the gate named.
3. Mark each Proposal: ✅ Ship / ❌ Decline / ⏸ Defer.
4. Same for Retirement Candidates and Risks.
5. Pick 1-3 to ship this week.
Target: 10-15 minutes.
## Decision
Ship the doc to `develop`. Action on individual items happens in separate PRs over the week.
Declined items go to `docs/kaizen/decisions.md`; deferred items stay open in `review-queue.md` with a revisit date.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Rules
- Every proposal is a decision. No "consider X" or "we might want to." Each has Ship means / Decline means / Recommendation.
- Every proposal has a Subtracts field. Required. If empty, ask: does it really need to be its own thing? Could an existing skill / construct be updated instead? If still pure addition, justify it explicitly.
- Retirement candidates are required. If the section is empty and the system has been running >2 weeks, that's the finding — flag it in the Take.
- Don't re-propose declined items without materially new context. Cross-check
docs/kaizen/decisions.mdand the last 1–2 reviews. - Carried Over is not a graveyard. Deferred items resurface on their revisit date. No silent deferrals.
- No fabrication. If a week was quiet, the review is short. Length tracks signal, not target word count.
- Never edit
CLAUDE.mdor skill files unilaterally. A proposal can recommend a change to them, but the change itself is always Phil-approved in review and shipped in a separate PR. - Cap at 10 proposals. A 15-item list defeats the 10-15 min target.
- The Strands slot is never empty and never deferred silently. A hold names the gate, the file:line that makes it reachable for us, and a date. "Measure first" on a path the readout marks Inert is not a gate.
Confirmation
After the PR is opened, tell Phil:
- PR URL.
- Top 1–2 proposals (title, Effort×Impact, recommendation).
- Top 1 retirement candidate if any.
- One-sentence Take.
- Estimated review time.
Brief. Phil reads the full doc on the PR and marks decisions there or in a follow-up commit.
