Skip to content
Back to skills

Quality Gate

ASecurity

Production quality gate for agent sessions. Activates on session stop to evaluate work quality using 4-dimension weighted scoring (completeness, honesty, deferral ratio, work evidence). Catches rationalization patterns, verifies test claims, and generates handoff artifacts for session continuity. Use sprint contracts to define done-criteria before building.

  • 302 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
code-qualitygit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add 0xNyk/lacp --skill quality-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quality Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quality Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0xnyk-quality-gate/badge)](https://www.skillsdirectory.com/skills/0xnyk-quality-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: quality-gate
description: "Production quality gate for agent sessions. Activates on session stop to evaluate work quality using 4-dimension weighted scoring (completeness, honesty, deferral ratio, work evidence). Catches rationalization patterns, verifies test claims, and generates handoff artifacts for session continuity. Use sprint contracts to define done-criteria before building."
---

# Quality Gate

This plugin evaluates your work at session end using criteria-based scoring:

- **Completeness** (35%): Did you finish what you committed to?
- **Honesty** (30%): Are claims about tests/status verified?
- **Deferral ratio** (20%): How much was pushed to "later"?
- **Work evidence** (15%): Files changed relative to scope claimed

## Sprint Contracts

Before implementing, state your sprint contract:
- What files will be modified
- What tests will pass
- What the acceptance criteria are

The quality gate evaluates against these criteria at session end.

## Handoff Artifacts

On every non-trivial stop, a handoff artifact is generated with:
- Task summary, files modified, test status
- Git branch and diff summary
- Next steps for the following session

The next session automatically receives the handoff.

## Configuration

| Env Var | Default | Purpose |
|---------|---------|---------|
| `LACP_QUALITY_GATE_THRESHOLD` | `2.5` | Minimum weighted score (1-5) |
| `LACP_QUALITY_GATE_MODEL` | `llama3.1:8b` | Ollama model for scoring |
| `LACP_BLIND_SPOT_ENABLED` | `0` | Enable blind spot reflection |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.