What does this skill do?

The Skill Delivery Quality Gate acts as a stop hook that blocks Claude from completing until it passes deterministic checks. It evaluates rationalization patterns in the transcript, checks that training logs are up to date after complex tasks, and verifies available disk space, functioning as a mechanical quality gate similar to a CI pipeline.

Finalization Lock
Prevent Claude from logging out if no learning has been recorded for complex tasks.
Disk Check
Check the available disk space and block access if it falls below the critical threshold (15 GB by default).
Rationalization Detection
It analyzes the transcript for patterns such as "skipping tests" or "cutting corners" and issues warnings.
Management of Obsolete Logs
Verify that the learning libraries are not out of date after a complex development session.

Usage examples

🛑 Verification upon logging out
I've finished refactoring the authentication module; please log out.
💾 Check the drive before leaving
I've finished the data migration task; you can log out now.
📚 Force Learning Log Entry
I just fixed a complex bug in the CI pipeline; close this issue when everything is ready.
🔍 Detect shortcuts in the transcript
I have completed the code fixes; the development session is now over.

Features

Deterministic Stop Hook It blocks termination with exit code 2 if the checks fail, without relying on subjective judgments.
Rationalization Detection It analyzes the transcript for patterns such as "skipping tests" and outputs warnings to stderr.
Configurable thresholds Adjust COMPLEX_THRESHOLD, DISK_WARN_GB, and DISK_CRIT_GB according to the needs of your environment.
Learning Libraries Verify that growth-log, decisions/log.md, and output-index.md are up to date after complex tasks.
Native integration with Claude Code It is configured as a "Stop" hook in settings.json and runs automatically without manual intervention.

Frequently asked questions

You'll need Claude Code or Cowork, Python 3 installed, and permissions to edit ~/.claude/settings.json to configure the Stop hook.
It locks (output 2) if the disk space is below 15 GB, if 3 or more training libraries are out of date after a complex task, or if the growth-log was not updated.
No. Warnings about disk space optimization or disk space falling below the 50GB threshold are displayed on stderr but do not block execution on their own.
Yes. The COMPLEX_THRESHOLD, DISK_WARN_GB, and DISK_CRIT_GB variables can be configured within the quality-gate.py script.
Delivery Quality Check — Automatic Checks with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.