Finish only after mechanical quality checks pass.
software quality
Blocks Claude Code from ending a session until deterministic quality and learning-capture checks pass.
When to use it
Use when Claude should be mechanically prevented from declaring work finished before quality and learning-capture checks pass.
On a Claude Code Stop event, it checks the session and returns warnings or blocking reasons through the hook response.
What you provide
This skill
~/.claude/scripts/quality-gate.py
Copies the hook into Claude Code (irreversible)
~/.claude/settings.json
Adds a Claude Code Stop hook
Claude Code project memory directory
Creates learning-library files
Claude Code session transcript
Reads your session transcript
Requires Python 3.8 or newer and no packages beyond the standard library.