Quality gate
Run full validation suite (make check + gopls diagnostics) and report structured pass/fail. Usage: /quality-gate [package...]From its SKILL.md
npx -y skills add erraggy/oastools --skill quality-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
- 5 stars5 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.8 KB, as published. Nobody here has run it
quality-gate
Run the complete quality pipeline and report structured results.
Usage:
/quality-gateβ validate all changed packages/quality-gate parser validatorβ validate specific packages
Step 1: Identify Scope
Determine which packages to check.
If packages were specified as arguments, use those.
Otherwise, find changed .go files:
git diff --name-only HEAD
Then extract unique package directories from the output using string processing β do NOT use piped bash commands (they trigger permission prompts). Convert relative paths to absolute paths (prepend the repo root) for Step 3.
Step 2: Run make check
This runs tidy, fmt, lint, and tests in one command:
make check
Record pass/fail and capture any output.
Step 3: Run gopls Diagnostics
Use the go_diagnostics MCP tool on changed .go files (NOT bash). Pass absolute paths.
Categorize results:
- π΄ Errors β must fix
- π‘ Warnings β should fix
- π‘ Hints β fix for performance (5-15% impact documented)
Step 4: Report
Present results in this format:
## Quality Gate Results
### `make check`: β
PASS / β FAIL
[details if failed]
### gopls Diagnostics
| File | Level | Message | Suggested Fix (if any) |
|------|-------|---------|------------------------|
| ... | ... | ... | ... |
### Verdict: β
READY / β NOT READY
Issues to address:
1. [issue]
2. [issue]
Step 5: Offer Actions
If there are fixable issues, offer:
- Fix all β address all findings automatically
- Fix errors only β address blocking issues
- Skip β acknowledge and continue