Skip to main content

:::warning AUTO-GENERATED — do not edit This page is generated from the MCP server snapshot content/guide-mcp.json. Edit the source MCP server (not this file), then run npm run generate. :::

Run the quality gate before declaring done

When to use: You finished a change and need to prove it is production-safe. ALWAYS run this before saying a task is complete.

Prerequisites

  • Dependencies installed (pnpm install).

Steps

Step 1: Run the full gate.

Step 2: If lint flags a raw fetch, hex color, interface, or barrel file, fix the root cause per the guardrails.

Tools: get_guardrails

Full recipe definition

The complete machine-readable recipe as returned by the MCP server:

{
"id": "run-verify-gate",
"title": "Run the quality gate before declaring done",
"when": "You finished a change and need to prove it is production-safe. ALWAYS run this before saying a task is complete.",
"prerequisites": [
"Dependencies installed (`pnpm install`)."
],
"steps": [
{
"action": "Run the full gate.",
"note": "npm run verify (= typecheck + lint + build + tests). Fix every failure — do not suppress with `any` or `@ts-ignore`."
},
{
"action": "If lint flags a raw fetch, hex color, interface, or barrel file, fix the root cause per the guardrails.",
"tools": [
"get_guardrails"
]
}
],
"filesToCreate": [],
"validation": [
"`npm run verify` exits 0."
],
"doneCriteria": [
"Typecheck passes.",
"Lint passes.",
"Build succeeds.",
"Tests pass."
],
"commonMistakes": [
"Declaring 'done' without running verify.",
"Silencing errors with `any`/`@ts-ignore` instead of fixing them."
],
"relatedRecipes": []
}