align-grid
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Track implementation decisions and progress in specs/state.yaml to prevent context rot. Use at the start of a session to load context, and whenever a significant decision is made or a milestone is reached.
$ npx -y skills add danielvm-git/bigpowers --skill session-state --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/session-stateContext preview
The summary Claude sees to decide when to auto-load this skill.
Track implementation decisions and progress in specs/state.yaml to prevent context rot. Use at the start of a session to load context, and whenever a significant decision is made or a milestone is reached.
name: session-state model: haiku effort: standard description: Track implementation decisions and progress in specs/state.yaml to prevent context rot. Use at the start of a session to load context, and whenever a significant decision is made or a milestone is reached.
> **HARD GATE** — **HARD GATE** — Session state must be synchronized with git state. If state.yaml conflicts with the working tree, halt and ask for clarification. Do NOT assume state is correct.
Track the current state of implementation, including decisions made, pending tasks, and open questions, to ensure continuity across session boundaries and prevent "context rot."
Session-state implements the **isolate** strategy from the context-engineering framework (docs/references/context-engineering.md): each agent gets exactly the context it needs — no more — by recording decisions so the next agent can cold-start without replaying history. The four strategies (write, select, compress, isolate) work together: session-state handles isolation, terse-mode handles compression, survey-context handles selection, and CONVENTIONS.md ensures token-efficient writing.
Maintain a single source of truth for the *current* session in `specs/state.yaml`. This complements long-term docs in `specs/tech-architecture/` and delivery detail in `specs/epics/` + `specs/release-plan.yaml`.
Legacy markdown (`specs/archive/STATE.md`, `RELEASE-PLAN.md`) is **not** SoT when YAML exists — use `specs/state.yaml` only.
When a story modifies existing behavior, patch only between matching marker pairs in `CLAUDE.md` / `AGENTS.md` `learned-preferences` fence — see e45s21.
When ending a session or before a context-heavy spawn, update `handoff` in `state.yaml`:
handoff:
last_step_completed: "e02s01 verify-work passed"
open_decisions:
- "Use folder mode for e07 (>5 stories)"
required_reading:
- CONVENTIONS.md
- specs/epics/e02-verification/epic.yaml
next_skill: develop-tdd| Trigger | Action | |---------|--------| | Phase transition (Plan → Build → Verify) | Compact handoff; archive verbose decisions to ADR | | Context > 70% estimated | Run terse-mode for status only; move detail to specs/ | | Before `dispatch-agents` wave | `state.yaml` only channel between spawns |
If `specs/state.yaml` does not exist, or if starting a new major phase:
When starting a new session or after a significant context flush:
Whenever a significant decision is made or a milestone is reached:
→ verify: `bash scripts/validate-specs-yaml.sh`
Every multi-step flow (>3 steps) in bigpowers uses a cycle counter in `state.yaml`:
| Flow | Cycle key | Step field | Phases/Steps | |------|-----------|------------|-------------| | build-epic | `epic_cycle` | `current_step` | 8 (survey → release) | | fix-bug | `bug_cycle` | `current_step` | 5 (investigate → release) | | orchestrate-project | `project_cycle` | `current_phase` | 6 (discover → release) |
**Checkpoint:** After each step/phase completes, increment the counter in `state.yaml` and update `handoff.next_skill`.
**Resume:** On session start, read the current step/phase from the cycle key — continue from there, not from step 1.
**Completed steps:** Track completed steps in `completed_steps` (comma-separated string) for audit trail.
Print the current session state: `cat specs/state.yaml`, then display `active_flow` and `handoff.next_skill` for quick reference.
Clear ephemeral session state. Set `active_epic_id`, `active_story_id`, and `epic_cycle.current_step` to `null` in `specs/state.yaml`. Use when ending a phase or starting a new project context.
Archive verbose decisions before a context transition. Move all entries from `handoff.open_decisions` to their appropriate location:
After archiving, reset `handoff.open_decisions` to an empty list.
active_flow: build_epic # planning | build_epic | fix_bug active_epic_id: e02 active_story_id: e02s01 # required when epic mode: folder active_bug_id: null # BUG-2026-06-01T143022 when fix_bug release: target_version: null # NOT tracked manually — semantic-release decides at merge last_tag: v2.28.0 # mirror of `gh release view`, reference only last_publish: null epic_cycle: current_step: develop-tdd next_skill: develop-tdd completed_steps: [kickoff-branch] bug_cycle: current_step: null completed_steps: [] git: branch: feat/e02-verify hash: abc1234 handoff: last_step_completed
Agent skills synthesizing 17 years of software engineering discipline — from Clean Code to AI-native architecture — into a single, prescriptive methodology for solo developers.
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage.…
Self-review checklist for the coding agent to run before dispatching a reviewer. Checks CONVENTIONS.md compliance, Boy Scout…
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY…
Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or…
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories. Modes Add and…