Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants (Baseline, Incremental, Full Gate, Per-File) used by session-start, wave-executor, session-end, and session-reviewer. Reference skill — not invoked directly.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Quality Gates — Reference Skill
This skill defines the canonical quality check commands. Do NOT invoke this skill directly.
Consuming skills (session-start, wave-executor, session-end, session-reviewer) reference the
variant they need and execute the commands inline.
## Command Resolution (policy-file-first, #183)
Quality-gate commands are resolved in this priority order:
1. **`.orchestrator/policy/quality-gates.json`** — canonical policy file (preferred). Schema: `.orchestrator/policy/quality-gates.schema.json`. Bootstrap writes a package-manager-aware default; hand-edit to customize.
2. **Session Config** `test-command` / `typecheck-command` / `lint-command` in CLAUDE.md (Claude Code / Cursor) or AGENTS.md (Codex CLI) — fallback.
3. **Hardcoded defaults** — last resort: `pnpm test --run`, `tsgo --noEmit`, `pnpm lint`.
Loader: `scripts/lib/quality-gates-policy.mjs` exports `loadQualityGatesPolicy(repoRoot)` and `resolveCommand(policy, key, fallback)`. The Node runner `scripts/run-quality-gate.mjs` performs the same resolution inline.
If any resolved command is set to the literal string `skip`, skip that check entirely.
## Scope Policy (#320)
…
The line at the top of this page pins the label git:20260922.11fdbec, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_n7gpjlnbexsvlo5r
GET https://markdownregistry.com/api/v1/resolve?ref=lstr-1/skills/quality-gates
GET https://markdownregistry.com/api/v1/blob/aabdd3fd3b1a9444cb4d6a7657435866590ca054ebc5fcbfd28eb336e07920e8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
lstr-1/skills · create-skill/SKILL.md · Use when the user wants to create, design, or generate a new AI agent skill (SKILL.md) from a problem description. This…
lstr-1/skills · monitor-startup-dach/SKILL.md · Fetch the top-25 posts from r/StartupDACH/hot.json, classify each into six deterministic German intent clusters…
lstr-1/skills · nlm-meta-study/SKILL.md · Create scientific meta-studies on any topic using Gemini Notebook (NotebookLM). Invoke for systematic reviews…
lstr-1/skills · orchestrator/skills/architecture/SKILL.md · Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities…
lstr-1/skills · orchestrator/skills/autopilot/SKILL.md · Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan →…
lstr-1/skills · orchestrator/skills/bootstrap/SKILL.md · Use this skill when scaffolding the minimum repository structure required by orchestrator. Invoked automatically by the…
lstr-1/skills · orchestrator/skills/brainstorm/SKILL.md · Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue…
lstr-1/skills · orchestrator/skills/claude-md-drift-check/SKILL.md · Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / _meta narrative and live repository…
lstr-1/skills · orchestrator/skills/daily/SKILL.md · Use this skill when creating today's daily note in the Meta-Vault (03-daily/YYYY-MM-DD.md) with valid…
lstr-1/skills · orchestrator/skills/debug/SKILL.md · Use when encountering any bug, test failure, build break, or unexpected behavior — runs a 4-phase systematic debugging…
gtmagents/gtm-agents · plugins/analytics-pipeline-orchestration/skills/quality-gates/SKILL.md · Use when establishing tests, monitoring, and incident response for analytics
yonatangross/orchestkit · plugins/ork/skills/quality-gates/SKILL.md · Use when assessing task complexity, before starting complex tasks, when stuck after multiple attempts, or reviewing…
kanevry/session-orchestrator · .agents/skills/quality-gates/SKILL.md · Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants…
kanevry/session-orchestrator · skills/quality-gates/SKILL.md · Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants…
kanevry/session-orchestrator · .codex-plugin/skills/quality-gates/SKILL.md · Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants…
kanevry/session-orchestrator · .cursor/skills/quality-gates/SKILL.md · Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants…
lstr-1/skills · orchestrator/skills/quality-gates/SKILL.md · Use this skill when referencing canonical quality check commands for typecheck, test, and lint. Defines 4 variants…