S / M / L by the size of the change · Gates held by hooks, not prompts · Verify in a clean context · Plugin for Claude Code
Install View on GitHubFormerly Keystone · MIT license
A standalone Claude Code plugin that picks the amount of process by the size of the change. A small fix is done at once and checked. A clear task goes through a short plan with risks. A task with open decisions runs the full chain: intent → plan → independent check of the plan → implement → verify in a clean context.
/sattva:start sizes every task S, M or L. A one-line fix is edited and checked at once; only a task with open decisions runs the full chain.
grill asks every decision that is yours, then intent.md records them as numbered I-n lines you sign off. Facts are found by the agent; decisions stay yours.
One plan.md with risks and a check per task, every row traced to an I-n. /sattva:check reviews it in clean contexts and reports intent coverage before you approve.
No code edits while the plan is a draft, no git push or PR until verify passes. Plain Node hooks, not prompt text the model can talk itself out of.
A verifier that did not write the code gives every task and I-n a line: ok, missing, wrong or not proven. A checked box is not evidence.
/sattva:security audits OWASP Top 10:2025, LLM Top 10, agent/MCP config and supply chain; on L its gate sits under verify.
Each stage ends in a committed file and a Next: command. Long sessions hand over to a clean one through the plan; cost is counted per stage.
The agent proposes the level, you confirm it. Any sign of L makes the task L.
The diff fits in one sentence, no decisions for you, a check exists.
One obvious approach, a few files.
Several decisions; data or schema; security; other teams' modules; an unclear “done”.
Sattva follows Anthropic's AI-native SDLC playbook: every stage ends in a committed file, the next one starts by reading it.
| Stage | Ends with | In Sattva |
|---|---|---|
| 1. Plan | intent.md | /sattva:intent — grill asks every decision that is yours, then writes intent in your words; you accept it |
| 2. Design | folded into the plan | /sattva:plan writes requirements + design and runs /sattva:check (fresh-context analyzer + validator) before you approve |
| 3. Build | plan.md, then the diff | Approve, /clear, /sattva:implement task by task; no code while the plan is a draft (hook) |
| 4. Test | fresh-context verifier | /sattva:verify runs your build/test/lint, then an independent verifier: PASS · PASS-UNPROVEN · FAIL |
| 5. Deploy | merged change | git push / gh pr create stay closed until verify passes (hook); release steps run after your yes |
| 6. Maintain | incident → new intent | /sattva:fix (regression test first), or a new /sattva:intent when the finding is bigger |
An L-level task, abridged.
> /sattva:start add reminders for overdue invoices
Level: L — several decisions are yours, touches data and notifications.
> /sattva:intent add reminders for overdue invoices
Q1 — Who creates a reminder, the system or the user?
Recommended: system — invoices already carry due_date (src/billing/invoice.ts:41)
Wrote docs/sattva/2026-10-12-invoice-reminders/intent.md — I-1…I-9.
> /sattva:plan docs/sattva/2026-10-12-invoice-reminders/intent.md
Risks: duplicate sends on retry · timezone of "overdue" · opt-out not stored yet
Coverage: 9/9 (100%) · 2 findings. Apply? > yes
Approve plan? > Approve
> /clear
> /sattva:implement
Tasks 1–14: 13 done, 1 BLOCKED: staging SMTP not reachable.
> /sattva:verify
I-1…I-9: ok 7 · not proven 2. Unrequested: none.
Verdict: PASS-UNPROVEN → verify.md. git push stays closed until you prove it.
In Claude Code:
/plugin marketplace add sattva2020/sattva-plugin /plugin install sattva@sattva
Or from a shell:
claude plugin marketplace add sattva2020/sattva-plugin claude plugin install sattva@sattva
Requires Claude Code 2.1.218+ and Node.js on PATH for the hooks. Full reference, commands and changelog are in the GitHub repository.