Quality Gate Detection
Installation
SKILL.md
Quality Gate Detection
Dynamically detect project quality gates from package.json scripts and frameworks.
Prerequisites
- Read access to
package.jsonin the project root
Detection Process
Step 1: Analyze Project Scripts (Hybrid Diagnosis)
Read package.json and inspect the scripts section to identify verification commands.
Priority Heuristics:
- Test: Look for
test,test:unit,test:ci. Preference:npm testor specific script. - Lint: Look for
lint,lint:fix,eslint. Preference:npm run lint. - Typecheck: Look for
typecheck,tsc,build. Preference:npm run typecheckortsc --noEmit. - Browser/E2E: Look for
test:browser,e2e,cypress,playwright. Preference:npm run test:browser.