quality-gate/SKILL.md
Use when the user wants to run the project's lint + types + build sequence as a gate before pushing, opening a PR, or merging. Invoked by chained dev skills between phases. Trigger phrases - "/quality-gate", "run the quality gate", "check it builds".
npx skillsauth add paulund/skills quality-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the project's static-checks + build sequence. Stop on the first failure, diagnose the root cause, and fix it before re-running.
Read package.json scripts (or equivalent for the project: composer.json, Makefile, Cargo.toml). Pick the first command from each row that exists:
| Phase | Preferred | Fallback |
|---|---|---|
| Lint | pnpm lint / npm run lint | npx next lint, composer run lint |
| Types | pnpm types / npm run types | npx tsc --noEmit |
| Tests | pnpm test / npm test | composer run test, framework default |
| Build | pnpm build / npm run build | npx next build |
If a phase has no command for the project (e.g. a JS-only repo with no types script), skip that phase and continue.
Run the four phases sequentially. Each must pass before the next runs.
<lint command>
<types command>
<tests command>
<build command>
git log / git blame / existing tests for context.Max 2 diagnose-fix cycles. If still failing, stop and surface the failure to the caller — don't hide it.
On success: one-line confirmation listing the phases that ran (lint, types, tests, build).
On failure: the failing phase, the command that ran, and the first ~20 lines of error output.
pnpm everywhere.testing
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
development
TypeScript project conventions. Auto-load when editing *.ts or *.tsx files.
development
Use when writing or fixing PHP code, implementing classes, traits, or interfaces, applying PSR standards, or working with PHP 8.3+ patterns like readonly properties, enums, named arguments, match expressions, and union types.
tools
Next.js 15 App Router project conventions. Auto-load when working in app/, src/app/, components/, server actions, or route handlers.