Pre merge gate
Runs pre-merge checks (tests, build, types, optional UI audit) and returns a markdown pass/fail report. Use when QA approves a PR or before merge to main.From its SKILL.md
npx -y skills add HeyEddi-com/skills --skill pre-merge-gateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, 262 tokens by cl100k_base, as published. Nobody here has run it
Pre-merge Gate
Subagents (default)
Run gate via Task shell subagent — pre_merge_gate.py. Main chat triages FAIL lines and re-delegates fixes. See reference/subagents.md.
When to use
- QA wants a single green/red report before approving a PR
- Before merging frontend-heavy changes
- After addressing review feedback — confirm all gates pass
Instructions
- Run
python scripts/pre_merge_gate.py --project-root <root>. - Read the markdown report — each check shows PASS/FAIL/SKIP.
- Fix failing checks and re-run until all required checks pass.
Eval / harness turns: When the eval harness captures Playwright proof separately, run with --skip-visual-audit so the gate does not invoke audit_ui.py (no dev server in agent turn).
Checks
- npm test (if script exists)
- verify build
- vue-tsc (if available)
- duplicate UI scan (
no-duplicate-uiwhen installed) - visual audit on product routes (
visual-auditorwhen installed; skips if Playwright missing)
Use --skip-duplicate-ui or --skip-visual-audit to omit optional UI gates.
What ships with it: 7 files
7.5 KB alongside SKILL.md, 2 of them executable
context/
- ANTI_PATTERNS.md151 B
- EXAMPLES.md215 B
- VOCABULARY.md244 B
reference/
- subagents.md315 B
scripts/
- pre_merge_gate.pyruns4.8 KB
- _skill_cli.pyruns1.3 KB
- manifest.json537 B