Skip to content
Security
Skill

/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

From plugin
lacp
3083 skills1 command15 hooks

Claude Code

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

SKILL.md

quality-gate.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 |

Read more
@0xnyk
Ships withlacp

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.

Stars on GitHub

Momentum

stars in total
308
Star history of 0xNyk/lacp on GitHub, a chart by star-history.com

Other skills on lacp.

context-modes

context-modes

Structured work modes for agent sessions. Set LACP_CONTEXT_MODE to activate: tdd (red-green-refactor), debugging (4-phase root…

@0xnyk@0xnykInstall Skill
session-hardening

session-hardening

Production hardening for agent sessions. Includes pretool guards (blocks rm -rf, co-author injection, publishing without…

@0xnyk@0xnykInstall Skill

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

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.