Lightlines
By affaan-m

delivery-gate

affaan-m

Finish only after mechanical quality checks pass.

software quality

What it does

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.

How to use it

On a Claude Code Stop event, it checks the session and returns warnings or blocking reasons through the hook response.

What you provide

  • An existing project

Uses


Access · 6

This skill

~/.claude/scripts/quality-gate.py

Write

Copies the hook into Claude Code (irreversible)

~/.claude/settings.json

Write

Adds a Claude Code Stop hook

Claude Code project memory directory

Write

Creates learning-library files

Claude Code session transcript

Read

Reads your session transcript

Good to know

  • cannot be undone: ~/.claude/scripts/quality-gate.py

What you need · 1

Requires Python 3.8 or newer and no packages beyond the standard library.


About this skill

Visibility
Public
Repository
affaan-m/ecc
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
2