drewburchfield/project-bootstrap/quality-gate
Claude Code and agent skill by drewburchfield/project-bootstrap
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks to "quality gate", "run quality gate", "review and merge", "PR review cycle", or wants a structured pre-merge review with remediation. Multi-harness Review Suite (shared lenses + host adapters). Optional external bots (Devin, CodeRabbit). Prefer ship-loop for greenlit merge/CI babysit.
Install
npx vskill@latest install drewburchfield/project-bootstrap/quality-gateSKILL.md
Quality Gate
Structured review and remediation before merge. Review methodology is host-agnostic (Review Suite). Execution uses the current host’s adapter.
Deep docs (load on demand):
references/review-suite/SPEC.md— tiers, pass artifacts, capability probereferences/review-suite/passes/*.md— seven lensesreferences/review-suite/host-adapters/{claude-code,codex,grok,opencode,agy}.mdreferences/review-suite/synthesis.mdreferences/linear-integration.md,references/github-cli.md(issue/PR ops)
Modes
| Mode | Flag | PR | Push | External bots | Merge | |
|---|---|---|---|---|---|---|
| Auto / full | (default) | yes | yes | if configured | user confirm | |
| Explicit issue | NAS-577 / pattern | yes | yes | if configured | user confirm | |
| Standalone | --no-issue | yes | yes | if configured | user confirm | |
| Local | --local | no | no | n/a | no (stop) |
Prefer ship-loop when the user wants CI watch + greenlit merge ownership.
0. Capability probe (every run)
Probe before review. Never invent tools.
project-meta optional review block:
Forbidden: unconditional sleep 60 (or any fixed wait) for Devin/CodeRabbit when external_bots is empty or bots are not configured.
If bots are configured: after push, wait up to botWaitSeconds (default 60), then fetch PR comments; if none arrive, proceed and note bots: timeout/none.
1. Prerequisites and issue detection
- Not on
main/masterfor full PR modes (local may run on any branch with a diff). - Read
project-meta.jsonissueTracker when present; else standalone. - Detect issue from branch / commits / tracker CLI when configured;
--no-issueskips. - Uncommitted work: do not silently mix into shipping; ask or commit if clearly part of the work.
Details: references/linear-integration.md, references/github-cli.md.
2. Review Suite (core)
Always load and follow references/review-suite/SPEC.md.
Host adapter selection
| Detected host | Adapter file | Default tier path | |
|---|---|---|---|
| Claude Code | host-adapters/claude-code.md | T3 via pr-review-toolkit / /review-pr when available | |
| Codex | host-adapters/codex.md | T2 sequential + optional Clawpatch | |
| Grok | host-adapters/grok.md | T2 sequential (T3 multi-subagent only if isolation verified) | |
| OpenCode | host-adapters/opencode.md | T2 sequential | |
| agy / other | matching adapter or sequential default | T2 sequential |
On Claude: prefer parallel toolkit agents mapped to suite pass ids (see claude-code adapter). If toolkit missing, fall back to T2 sequential using passes/*.md.
On non-Claude hosts: do not require /review-pr or pr-review-toolkit:* agent IDs. Run pass files sequentially (or host subagents) and emit artifacts.
Pass artifacts (required for Pass)
For each mandatory pass (code-correctness, silent-failures, tests, types if typed, comments, simplify, spec-conformance if a spec source exists), emit the artifact shape from SPEC (checked list, findings or none_found: true with non-empty checked).
Tier declaration (required every run)
Emit tier_declaration from SPEC: host, adapter, tier (T3|T2|T1|T0), execution_mode, passes_completed, passes_skipped, capabilities, gate_status (Pass|Blocked|Incomplete).
| Rule | ||
|---|---|---|
| T2/T3 + valid artifacts + no unresolved Critical/High | may Pass | |
| T1 single general review | Incomplete, never Pass | |
| T0 skim | forbidden; do not claim gate | |
| Missing artifacts | Incomplete / not Pass | |
| T2 is not T3 | never claim “equivalent to Claude parallel toolkit” for sequential |
Synthesize with references/review-suite/synthesis.md.
Honesty
- Do not claim Review Suite / quality-gate ran unless T2/T3 with artifacts (or toolkit-mapped equivalent).
- Manual diff read alone = label as manual/T1, not suite Pass.
- If
requireAgentSuite: trueand suite cannot run → Blocked with config hint.
3. Workflow by mode
Local (--local)
- Probe + collect local or unpushed diff.
- Run Review Suite (adapter).
- Remediate Critical/High (local commits only if user wants fixes).
- Re-run suite on updated diff if needed.
- Stop. No PR, no push, no merge.
Full PR (default / issue / --no-issue)
- Preflight Review Suite on branch diff (before or as first pass).
- Create or reuse PR (
gh); see github-cli reference. - Run Review Suite on PR diff (adapter).
- Remediate Critical/High; push intentional commits.
- External bots only if configured (probe); then re-fetch comments and fold findings.
- Re-run suite or targeted re-check on changed risk.
- Verification: project-meta quality commands or inferred tests/lint/typecheck.
- Present merge options; do not merge without user confirmation (unless ship-loop owns merge with greenlit).
- On merge approve: squash default, update issue tracker if configured.
When ship-loop is driving: run this skill’s review + remediation steps only; hand merge/watch/deploy back to ship-loop.
4. Remediation
- Critical/High first; Medium deferred only with reason.
- Scoped fixes; clear commit messages.
- Draft-only for risky changes unless user approved auto-remediation.
- Deterministic formatter/linter fixes may apply when safe.
5. Output format
Include machine-readable tier_declaration + pass artifacts when writing to a file or when the host benefits from structure (YAML/JSON block is fine).
6. Hard rules
- Follow Review Suite SPEC for Pass/Blocked/Incomplete.
- No unconditional external-bot sleep.
- No Claude-only tool IDs as required steps on non-Claude hosts.
- No auto-merge without explicit user approval in this skill (ship-loop may greenlit separately).
- No false “all agents ran” without actual suite execution.
- Prefer ship-loop for babysit-until-shipped.
7. Drew / maximal pipeline (optional)
For full personal pipeline, set in project-meta:
Plugin defaults stay permissive so other harnesses complete T2 without bots.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/quality-gate/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drewburchfield/project-bootstrap/quality-gate)