بنقرة واحدة
check
Quality gate — typecheck + build + visual verify before shipping
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Quality gate — typecheck + build + visual verify before shipping
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Multi-slide bilingual brand carousels — Claude writes the deck, kun renders Anthropic-styled slides at exact platform sizes, a human approves, channels receive
Draft, stage, and publish brand social posts — Claude drafts, /higgs renders, a human approves, Hermes relays
Convert a file or URL to Markdown via MarkItDown (PDF, Office, images, audio, web)
Full pipeline — idea to production (chains every stage)
Autonomous block QA — detect, adversarially verify, fix safe tiers, hand the residual to a human
Technical spec — data model, file plan, refined acceptance criteria
| name | check |
| description | Quality gate — typecheck + build + visual verify before shipping |
| when_to_use | Use when work is about to ship and needs the pre-ship quality gate — run tsc, production build, optional browser visual verification, and existing tests, with auto-fix loops, then emit a READY TO SHIP / BLOCKED verdict and cache the pass in the session sentinel; unlike /handover or /qa (deep UI/block verification), this is the fast mechanical green-check. Triggers on: check, pre-ship quality gate, typecheck + build + visual verify, "is it green". |
| argument-hint | [feature] [--visual <route>] |
The gate between building and shipping. Type-check, build, and visually verify before anything goes to production.
/check — full quality gate on current working directory/check billing — focused on a specific feature's files/check --visual /billing — include visual verification of a routepnpm tsc --noEmit
If errors found — fix loop (max 5 attempts):
pnpm tsc --noEmitpnpm build
If build fails — fix loop (max 5 attempts):
pnpm prisma generatepnpm buildNavigate to the feature page using browser MCP:
Navigate: browser_navigate to http://localhost:3000/{route}
pnpm devScreenshot: browser_take_screenshot
Snapshot: browser_snapshot
Console: browser_console_messages
If visual issues found: fix and re-verify.
# Only if test files exist for the feature
pnpm test -- --passWithNoTests
Do not generate new tests in this stage. Only run existing ones.
Output a structured report:
## Quality Gate Results
| Check | Status | Details |
|-------|--------|---------|
| TypeScript | PASS/FAIL | 0 errors / N errors remaining |
| Build | PASS/FAIL | Compiled successfully / Error details |
| Visual | PASS/FAIL/SKIP | Renders correctly / Issues found |
| Tests | PASS/FAIL/SKIP | N passed / N failed / No tests |
**Verdict**: READY TO SHIP / BLOCKED
On verdict READY TO SHIP, write to the shared session sentinel at .claude/session-state.json:
{
"check": {
"status": "PASS",
"at": "<ISO timestamp>"
}
}
Merge with existing keys — do not overwrite the file. /ship and /release read this and skip their inline /check if the timestamp is within 10 minutes.
Skip the sentinel on BLOCKED.
| Error | Fix | Max Retries |
|---|---|---|
| TypeScript errors | Auto-fix types, imports | 5 |
| Build errors | Auto-fix server/client boundary, imports | 5 |
| Visual blank page | Check route exists, check component exports | 3 |
| Test failures | Read failure, fix code | 3 |
If all retries exhausted on any check: report BLOCKED with the remaining errors.
pnpm tsc --noEmit → 0 errorspnpm build → compiled successfully