/quality-gate
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
Claude Code
$ npx -y skills add 0xNyk/lacp --skill quality-gate --agent claude-code
Codex
$ npx skills add 0xNyk/lacp --skill quality-gate -a codex -y
Cursor
$ npx skills add 0xNyk/lacp --skill quality-gate -a cursor -y
Gemini CLI
$ npx skills add 0xNyk/lacp --skill quality-gate -a gemini-cli -y
GitHub Copilot
$ npx skills add 0xNyk/lacp --skill quality-gate -a github-copilot -y
OpenCode
$ npx skills add 0xNyk/lacp --skill quality-gate -a opencode -y
Windsurf
$ npx skills add 0xNyk/lacp --skill quality-gate -a windsurf -y
SKILL.md
quality-gate.SKILL.mdname: 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 |
Read more
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 |
Local policy, evidence, and recovery controls for coding agents. LACP wraps Claude, Codex, Hermes, and other CLI agents with deterministic routing, approval gates, execution records, memory controls, and rollback paths.
Other skills on lacp.
More skills from other plugins.
api-security
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
clean-user-facing-text
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…
Questions about quality-gate.
- Which coding agents can use quality-gate?
- quality-gate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

