/s8-playbook:update-docsfrom s8-playbook
Save session progress to the ledger, refresh any project docs the work drifted from, and write the handoff for the next session. Use at the end of a working session, when a milestone lands, when the context nears the smart-zone edge, or when the user asks to wrap up or update the docs - on a docs, training or planning repo, where nothing else holds the state. On a repo with code, where the tracker and the git history already hold it, use handoff instead.
Ships in s8-playbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run this when a milestone lands, or before the context leaves the smart zone.
Two triggers:
On the context trigger:
start fires on itRead docs/ledger.md (create it if missing)
Extract from conversation history:
Add new session entry at TOP of "📅 RECENT SESSIONS":
### Session: YYYY-MM-DD
**Current Goal:** [What we worked on]
**Progress Made:**
- [Accomplishment 1]
- [Accomplishment 2]
**Active Issues/Blockers:**
- [Or "None"]
**Next Steps:**
- [ ] [Priority action 1]
- [ ] [Priority action 2]
**Key Learnings:**
- [Insights, or "None"]
**Files Modified:**
- [Files changed, or "None"]
**Artifacts Created:**
- [Docs/configs/workflows, or "None"]
The ledger records what happened. The project docs record how the project works. When the work moved past what is written down, the docs are actively misleading the next reader, human or agent.
Ledger always; project docs only on real drift. Do not sweep all of docs/ - a sweep
produces a diff touching files unrelated to the work, which makes review harder and trains
people to skim doc changes.
Find the drift. Compare what the work actually did against the relevant docs. List each specific mismatch; do not vaguely "review the docs".
Classify each mismatch by where it belongs:
| Mismatch | Goes to |
|---|---|
| An architectural or convention change | CLAUDE.md, AGENTS.md; if it is a durable decision, the ADR row below |
A system-design change, in a repo that already keeps docs/architecture.md | That file (never create it) |
| New or sharpened domain terms | GLOSSARY.md at the repo root, or the older CONTEXT.md where the repo has one - create GLOSSARY.md if neither exists |
| A decision that is hard to reverse, surprising without context, and a real trade-off - all three | An ADR under docs/adr/ |
On an ADR, check first. List the existing ADRs in docs/adr/ and read their titles.
If the decision is already captured, skip. If you are unsure whether it matches an
existing one, ask. Only create a new ADR when none covers it, using the next sequential
number.
Update minimally. Edit the smallest set of docs that removes the drift, matching the existing house style. Docs are a liability when they lie - and also when they sprawl, so fix the drift rather than gold-plating around it.
Do not invent a doc to hold something that already has a home. Conventions belong in
CLAUDE.md, not a second spec file beside it; the repo itself is the index, so do not maintain
one; and a changelog is worth keeping only where releases are actually versioned. Where a project
already keeps such a file, update it - the rule is against creating them unasked, not against
honouring what is there.
| Mistake | Fix |
|---|---|
| Rewriting docs wholesale | Edit only what drifted; a big diff is hard to trust. |
| Forcing a project-doc edit every session | Ledger always; project docs only on real drift. |
| Recording a durable decision in prose | If it has rationale and real alternatives, it is an ADR. |
| Inventing docs that never existed | Update what is there; propose new docs rather than sprawling unasked. |
Create or update docs/handoff.md so the next session can pick up immediately.
# Session Handoff - YYYY-MM-DD
## Current State
- ✅ Completed: [What's done]
- ⚠️ In Progress: [Partially done]
- ⏳ Blocked: [Waiting on something]
- 🔄 Next Up: [Tackle next]
## Active Problems
[Issues/bugs with description, what was tried, current hypothesis]
## Critical Context
[Key decisions, constraints, important discoveries]
## Next Session Action Plan
1. First: [Immediate next step]
2. Then: [Follow-up]
3. Stretch: [If time permits]
## Key Files
[Files with important changes to review]
Tell the user:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub solution8-com/s8-agentic-playbook --plugin s8-playbook26 skills in this plugin
/diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./grill-meA relentless interview to sharpen a plan or design. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrase./handoffCompact the current conversation into a handoff document a fresh session can pick up from. Use at the end of a working session, when the context nears its edge, or when the user asks to wrap up or hand over - on a repo with code, where the tracker and the git history already hold the state. On a docs, training or planning repo, where nothing else holds it, use update-docs instead.