Workflow guardrails for Claude Code that enforce test-first work, proof of completion, and scope limits.
- version
- 1.10.3
- GitHub stars
- 350
What it does
- Adds
/catchup,/justify,/karpathy-check,/stewardship-health, and/structured-reviewplus areview-analystagent - Covers review, change analysis, scope and reasoning checks, dependency verification, and RICE/WSJF/Kano feature scoring
- Enforces a
tdd_bdd_gatehook that requires a matching test file before implementation writes and blocks emoji commit messages - Designed for teams that want guardrails on agent-written code, with shadow-mode warnings by default and blocking via
VOW_SHADOW_MODE=0
TDD enforcement, proof-of-work validation, scope guarding, rigorous reasoning, and research-enriched feature review with RICE/WSJF/Kano scoring
Add marketplace
/plugin marketplace add athola/claude-night-marketRun it inside Claude Code once, then install the plugin below.
Install
/plugin install imbue@claude-night-marketRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceA finished diff hides the thinking that produced it. The thinking is what the human needs to keep. Show the work, surface the choices, and hand back the parts worth struggling with.
Assisted Mastery
Overview
A coding agent that always returns the finished answer is maximally helpful to throughput and quietly corrosive to skill. The learning-science evidence is consistent: instructional support that helps a novice actively harms an expert (the expertise reversal effect, Kalyuga et al. 2003), so help must fade as competence grows rather than stay constant. Struggling with a problem before being shown the solution produces deeper understanding and transfer than being handed the answer (productive failure, Kapur 2008). And offloading the thinking to a tool measurably reduces what the human retains (the cognitive offloading and critical-thinking correlation of r = -0.75, Gerlich 2025; the Google effect, Sparrow et al. 2011).
This is the assistance dilemma: the same help that speeds the output erodes the judgment needed to verify it. The danger compounds with automation bias: AI-assisted developers in a controlled study wrote less secure code while believing it was more secure (Perry et al. 2023). You cannot verify what you do not understand, and a fluent diff signals competence it has not earned.
This skill does not slow down throughput work. It makes the reasoning a first-class deliverable alongside the code, surfaces the tradeoffs before a design is locked in, and lets the human choose how much of the work to keep for themselves.
The Three Practices
1. Make the reasoning visible
For any non-trivial change, emit the reasoning alongside the diff, sized to the blast radius:
- Assumptions: what the change takes for granted about the codebase, inputs, and environment.
- Alternatives considered: the two or three approaches that were viable, and why each was rejected.
- Ramifications: what this design makes easy later, what it makes hard, and what would have to change to reverse it.
A high-blast-radius change with no stated reasoning is treated as incomplete, the same way an apprentice who "just did it" without showing their thinking would be sent back. This mirrors cognitive apprenticeship: the expert's invisible reasoning must be externalized before anyone can supervise or learn from it.
2. Surface tradeoffs before choosing
Do not present a single design as inevitable. State the decision, the options, and the axis each option wins on, then make the call and say why. Record consequential decisions in the tradeoff ledger so the reasoning is auditable later and the human can challenge it now. This is how novices were always trained into experts: by working through the positives, negatives, and ramifications of a decision. Copying the conclusion never did it.
3. Choose the mode, and fade it
Pick the assistance mode deliberately per task, and reduce it over time on skills the human is building. See modes-and-fading.md:
- Explain mode: the agent narrates the reasoning and the human writes the load-bearing code. Builds judgment. Use on unfamiliar territory, high-stakes paths, and skills the human wants to own.
- Produce mode: the agent writes, the human reviews. Maximizes throughput. Use on boilerplate, well-understood patterns, and reversible low-stakes work.
Default to produce mode for commodity work and explain mode where understanding is the point. As the human's competence on a given area grows, fade from produce toward explain to manual: permanent scaffolding is the failure mode.
When To Use
- An agent produced code the human will have to maintain, review, or be accountable for.
- The change touches an unfamiliar subsystem or a high-stakes path (auth, migrations, money, concurrency).
- A design decision has more than one defensible answer.
- The human is trying to build skill in the area while shipping.
Skip it for trivial, reversible, well-understood edits where the reasoning is self-evident: forcing a ledger entry on a typo fix is ceremony, and ceremony trains people to ignore the gate.
When NOT To Use
- You only need the change shipped and verified (use
imbue:proof-of-work) - Deciding whether to build it at all (use
imbue:scope-guard)
Constraints
- A diff is correct to someone. State why it is correct, or it is a guess that happened to pass.
- On work the human must own, the explanation is the deliverable, so the time it takes is part of the work.
- Name the alternatives dismissed. There is rarely one way to do it, and a reader who sees only the winner cannot judge it.
- Do not defer understanding to the moment it breaks. Automation bias means the output is trusted most exactly when it is wrong.
- Help that never fades builds dependence. The fade is the point.
Related Skills
imbue:graduated-implementation: the other direction of the same axis. This skill fades scaffolding, and that one ramps the ambition of the next increment as understanding is demonstrated.imbue:proof-of-work: evidence that the code works. This skill adds evidence that the human understands it.imbue:rigorous-reasoning: anti-sycophancy when evaluating the agent's stated tradeoffs rather than deferring to them.imbue:karpathy-principles: think-first and simplicity, the pre-implementation companion to visible reasoning.leyline:decision-journal: the durable home for tradeoff-ledger entries that outlive the session.leyline:risk-classification: choosing the automation tier from the task's risk, the input to mode selection.
The measured evidence for blind-trust failure, the learning-science basis for fading, and the six workflow principles are preserved in research-basis.md.
Exit Criteria
- Non-trivial changes ship with stated assumptions, alternatives considered, and ramifications, sized to blast radius.
- At least one consequential design decision in the session is recorded with its rejected alternatives.
- The assistance mode (explain or produce) was chosen deliberately and stated, not defaulted to "produce" silently.
- On a skill the human is building, assistance is lower than it would have been at constant scaffolding (fading is applied).
Readme
Imbue
Analysis methodologies and workflow patterns for evidence gathering and structured reporting.
Overview
Imbue provides technical evidence capture for reproducible analysis across git diffs, specifications, and logs. It focuses on audit trails and empirical verification rather than theoretical assessments. These methodologies back recommendations with specific data points and command outputs.
Analysis and Review Patterns
Review Methodology
The review-core skill establishes scope and baselines for architecture,
security, or code quality audits.
It requires validating assumptions
and documenting artifacts before starting the analysis.
Findings are logged with direct command evidence to support final deliverables.
Change Analysis
diff-analysis categorizes changes and evaluates risks in code reviews
or release notes. This involves establishing a clear baseline between "before"
and "after" states to understand functional impact.
For project activity summaries,
catchup gathers raw change information to extract specific insights
and action items.
Workflow Guards and Enforcement
Scope and Reasoning
scope-guard helps prevent overengineering by using a decision framework to
score feature worthiness against opportunity costs.
This includes threshold monitoring
and baseline scenarios to keep development focused on essential work.
To counter sycophantic reasoning,
rigorous-reasoning uses checklist-based analysis that prioritizes
truth-seeking over social comfort.
It requires committing to conclusions without hedging
and following an incremental reasoning protocol for complex problem-solving.
Proof of Work
The proof-of-work skill requires functional verification before a claim of
completion is accepted. This is enforced by the tdd_bdd_gate.py PreToolUse
hook, which checks for corresponding test files during write operations to
implementation files. Completion claims must be backed by evidence of problem
reproduction and verified fixes with actual test runs.
Assisted Mastery
assisted-mastery addresses the assistance dilemma: the same agent
help that speeds output erodes the judgment needed to verify it.
Scaffolding that helps a novice harms an expert (the expertise
reversal effect), so the skill makes the agent's reasoning a
first-class deliverable (assumptions, alternatives considered,
ramifications), surfaces tradeoffs before a design is chosen, and
fades assistance over time so the human builds skill instead of
dependence. It pairs explain mode (human writes the load-bearing
code, agent narrates) with produce mode (agent writes, human
reviews), chosen deliberately from the task's risk.
Graduated Implementation
graduated-implementation is the other direction of the
assisted-mastery axis: that skill fades scaffolding, this one ramps
the ambition of the next increment. Start at the smallest intentional
slice and widen the rung a notch only when the prior increment's
understanding is demonstrated and recorded. The check is sized to
stakes: low-stakes increments ramp on an evidence gate (green tests
plus a recorded tradeoff), high-stakes ones (auth, migrations, money,
infra, crypto) ramp only when the human explains the prior diff
unaided, the aviation "children of the magenta" hand-fly check. The
guard_scope_ramp.py PreToolUse hook holds each Write, Edit, and
MultiEdit to the current rung (default ~40 added lines), halves it for
high-stakes paths, and widens it one notch per recorded demonstration
(touch .imbue/ramp-ok). Shadow mode (warn) is the default. Set
VOW_SHADOW_MODE=0 to block over-rung increments. Grounded in the 85%
optimal-learning rule (Wilson 2019) and competence-based curriculum
learning (Platanios 2019).
Dependency Verification
dependency-verification confirms a suggested package actually exists
before install, defending against package hallucination (5.2-21.7% of
LLM-recommended packages do not exist) and slopsquatting. It is
enforced by the guard_package_hallucination.py PreToolUse hook,
which intercepts install commands (pip, uv, npm, pnpm, yarn, cargo,
poetry, pdm), flags names that are typos of popular packages (offline,
deterministic), and looks up unknown names in their registry. Shadow
mode (warn) is the default; set VOW_SHADOW_MODE=0 to block, and
IMBUE_PKG_REGISTRY_CHECK=0 to skip network lookups. The guard never
blocks on a network failure.
Hard Vow Hooks
Four PreToolUse hooks enforce constraints that cannot be satisfied by
willpower alone.
vow_no_emoji_commits.py blocks emoji characters in git commit messages.
vow_no_ai_attribution.py blocks AI attribution strings such as
"Co-authored-by: Claude" or "Generated by Claude".
vow_no_edit_narration.py fires on Write, Edit, and MultiEdit calls and
flags text that narrates the edit being made rather than describing what
the code is, such as "We renamed the handler". It reads inserted content
only, so a session is never charged for prose it inherited.
vow_bounded_reads.py fires on Read, Grep, and Glob calls and warns (or
blocks, with VOW_SHADOW_MODE=0) when more than 15 consecutive discovery
reads occur without an intervening write.
vow_bounded_reads_reset.py fires on Write, Edit, and MultiEdit calls and
resets the counter with minimal overhead: no budget logic, just a counter
truncation.
The four enforcement hooks (vow_no_emoji_commits.py,
vow_no_ai_attribution.py, vow_no_edit_narration.py,
vow_bounded_reads.py) default to shadow mode (warn, not block) via
VOW_SHADOW_MODE.
Set VOW_SHADOW_MODE=0 to switch to blocking.
vow_bounded_reads_reset.py is unconditional: it always resets the counter
when a write tool fires.
Why is shadow mode the default rather than blocking? Per docs/inclusive-defaults.md (TRUE-exception category 8), the inclusive default for soft constraints is warn. Defaulting to block would interrupt legitimate workflows on first install. Shadow-default means every user gets the warnings without disruption; blocking is the deliberate opt-in for users who want hard enforcement.
Change Justification
justify audits completed changes for AI additive bias,
where models default to adding code rather than fixing root causes.
It scores changes on a line-ratio, new-file, and test-tampering scale,
checks Iron Law compliance (tests must not be modified to match
broken implementations), and runs a minimal-intervention analysis
that weights fewer lines changed and subtraction-first approaches.
Use /justify as part of code review workflows:
run it after /pr-review to audit changes for additive bias,
or after /refine-code to verify refinements are genuinely
simpler rather than just different.
The typical flow is: implement, then proof-of-work (did it work?),
then justify (was it the right approach?).
Feature Planning and Monitoring
Feature Review
feature-review uses a hybrid RICE+WSJF scoring framework to
prioritize features based on quality dimensions and tradeoffs.
This process involves cataloging features and identifying improvement gaps to
guide development decisions.
Monitoring
workflow-monitor tracks execution for inefficiencies or errors.
When a failure or timeout occurs,
it automatically captures relevant logs
and context to create GitHub issues for remediation.
Output and Documentation
Analysis results are structured through proof-of-work
and structured-output. We record all commands, citations,
and artifacts to provide a traceable record of the work.
Final reports use established templates to define findings and action items.
Plugin Structure
imbue/
├── plugin.json # Plugin configuration
├── README.md # This file
├── hooks/
│ ├── hooks.json # Hook configuration
│ ├── session-start.sh # Session initialization
│ ├── user-prompt-submit.sh # Per-prompt threshold checks
│ ├── tdd_bdd_gate.py # PreToolUse: Iron Law enforcement
│ ├── guard_package_hallucination.py # PreToolUse (Bash): block hallucinated/typosquat installs
│ ├── guard_scope_ramp.py # PreToolUse (Write/Edit/MultiEdit): hold increment to the current rung
│ ├── vow_bounded_reads.py # PreToolUse (Read/Grep/Glob): warn/block past 15 reads
│ ├── vow_bounded_reads_reset.py # PreToolUse (Write/Edit/MultiEdit): reset read counter
│ ├── vow_no_ai_attribution.py # PreToolUse: block AI attribution in commits
│ ├── vow_no_edit_narration.py # PreToolUse (Write/Edit/MultiEdit): flag edit narration in new text
│ └── vow_no_emoji_commits.py # PreToolUse: block emoji in commit messages
├── scripts/
│ ├── pre_pr_scope_check.sh # Branch size vs scope-guard thresholds; works as a git pre-push hook
│ ├── citation_verifier.py # Check review findings cite real source lines
│ ├── contract_validator.py # Check agent findings against output contracts
│ ├── imbue_validator.py # Validate the review and evidence skills
│ └── deferred_capture.py # Record deferred items through leyline
├── commands/
│ ├── full-review.md # Structured review command
│ ├── catchup.md # Quick catchup command
│ ├── justify.md # Change justification command
│ └── feature-review.md # Feature prioritization command
└── skills/
├── review-core/ # Review workflow scaffolding
├── structured-output/ # Output formatting patterns
├── diff-analysis/ # Change analysis methodology
├── catchup/ # Summarization methodology
├── scope-guard/ # Anti-overengineering guardrails
├── rigorous-reasoning/ # Anti-sycophancy guardrails
├── assisted-mastery/ # Assistance dilemma: visible reasoning and fading
├── graduated-implementation/ # Bounded start, ramp ambition on demonstrated competence
├── dependency-verification/ # Package hallucination and slopsquat defense
├── feature-review/ # Feature prioritization framework
├── proof-of-work/ # Verification enforcement
├── justify/ # Anti-additive-bias audit
└── workflow-monitor/ # Execution monitoring and issue creation
Usage
Use Skill(imbue:review-core) for review scaffolding
and Skill(imbue:diff-analysis)
or Skill(imbue:catchup) for analysis methodologies.
Skill(imbue:scope-guard)
and Skill(imbue:rigorous-reasoning) provide workflow guardrails.
Feature planning uses Skill(imbue:feature-review),
while Skill(imbue:proof-of-work) handles verification.
Skill(imbue:workflow-monitor) tracks execution,
Skill(imbue:justify) audits changes for additive bias,
and output patterns are managed via Skill(imbue:proof-of-work)
and Skill(imbue:structured-output).
Commands include /feature-review for full inventory, scoring,
and suggestions. Append --inventory to only discover features,
or --suggest to include new feature suggestions.
Use --research to enrich scores with external evidence from
the tome plugin (code search, discourse, papers, TRIZ).
Use --create-issues to automate GitHub issue creation for suggestions.
Session Forking (Claude Code 2.0.73+)
Session forking allows parallel evidence analysis from multiple perspectives without context overlap.
Use Cases
For Multi-Perspective Code Analysis, fork sessions to isolate security, performance, or maintainability audits before consolidating findings. Parallel Feature Evaluation uses separate forks for RICE and WSJF scoring to inform prioritization decisions. Alternative Evidence Collection strategies can compare bottom-up and top-down review approaches in parallel.
Standards
Each fork must maintain a clear analytical scope.
Save evidence logs to files before closing a fork.
Synthesize findings from all forks into a final summary.
Use perspective-based names for session IDs, such as security-audit-pr-42.
Stewardship
Ways to leave this plugin better than you found it:
- The RICE/WSJF scoring framework in
feature-reviewis an opportunity to add a worked example with real numbers so new users can calibrate their own scores tdd_bdd_gate.pyhook logic would benefit from comments explaining each guard clause for maintainers- Scope-guard thresholds could document how to tune them for projects of different sizes
- Proof-of-work templates are an opportunity to include sample evidence artifacts alongside the template
See STEWARDSHIP.md for the full stewardship principles guiding this project.
Details
- Marketplace
- athola/claude-night-market
- Source
- plugins/imbue
- Category
- Community
- Keywords
- tdd, quality-gates, proof-of-work, scope-guard
- Listed since
- Apr 7, 2026
More from athola/claude-night-market
All 23- leylinev1.10.3
- memory-palacev1.10.3
- ministerv1.10.3
- oraclev1.10.3
- parseltonguev1.10.3
- pensivev1.10.3
- phantomv1.10.3
- sanctumv1.10.3
- scribev1.10.3
- scryv1.10.3
- spec-kitv1.10.3
- tomev1.10.3
- abstractv1.10.3
- archetypesv1.10.3
- attunev1.10.3
- cartographv1.10.3
- conjurev1.10.3
- conservev1.10.3
- egregorev1.10.3
- gauntletv1.10.3
- heraldv1.10.3
- hookifyv1.10.3
Similar to imbue
More Testing & QA
tddSkillmattpocock/skills1.2M installsTest-first development loop with rules for seams, test quality, and vertical slicing.
test-driven-developmentSkillobra/superpowers282.7K installsTest-first development skill that enforces red-green-refactor and forbids production code without a failing test.
tdd-workflowsPluginwshobson/agents42.8K starsTest-driven development methodology with red-green-refactor cycles and code review
tdd-workflowPluginaws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock412 starsTDD workflow with 6 specialized agents for test-first development, red-green-refactor cycle, and comprehensive quality analysis
performance-testing-reviewPluginwshobson/agents42.8K starsPerformance analysis, test coverage review, and AI-powered code quality assessment
tdd-guardPluginnizos/tdd-guard2.4K starsAutomated Test-Driven Development enforcement
