From app-dev
This skill should be used when the user asks to "run a quality gate", "check code quality", "run lint checks", "run pre-push security scan", "check for dead code", or mentions "quality gate", "quality check", "lint check", "run checks", "code quality", "pre-push scan", "security scan". Provides automated JavaScript/TypeScript code quality enforcement including type checking, linting, formatting, dead code detection, type coverage, circular dependency detection, tests, and security scanning before git push.
npx claudepluginhub iwritec0de/claude-plugin-marketplace --plugin app-devThis skill uses the workspace's default tool permissions.
Automated quality enforcement with two hooks:
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Automated quality enforcement with two hooks:
Fires on every session stop. Runs JavaScript/TypeScript checks on changed files:
| Check | Tool | Severity |
|---|---|---|
| Types | tsc --noEmit | BLOCK |
| Lint | eslint | BLOCK on errors, WARN on warnings |
| Format | prettier --check | WARN |
| Tests | jest | BLOCK |
| Dead code | knip (unused exports, deps, files) | WARN |
| Type coverage | type-coverage (>80% threshold) | WARN |
| Circular deps | madge --circular | WARN |
| TODO/FIXME | grep scanner | WARN |
Behavior:
Intercepts git push commands. Runs 4 scanners in sequence:
semgrep — SAST scan on changed files with --config=auto
gitleaks — scans commits being pushed for leaked secrets
trivy — filesystem vulnerability, secret, and misconfig scan
SonarQube (optional) — checks quality gate status if configured
SONARQUBE_URL and SONARQUBE_TOKEN env vars, plus sonar-project.propertiesSONARQUBE_TOKEN is not set| Env Var | Default | Purpose |
|---|---|---|
CLAUDE_QUALITY_GATE | 1 | Enable/disable quality gate |
CLAUDE_QUALITY_GATE_MAX_RETRIES | 3 | Max retry attempts before allowing stop |
SONARQUBE_URL | https://sonarqube.internal | SonarQube server URL |
SONARQUBE_TOKEN | (none) | SonarQube auth token |
CLAUDE_NOTIFY_DISCORD | 0 | Send Discord notifications |
DISCORD_WEBHOOK_URL | (none) | Discord webhook for notifications |
/quality run — Run checks manually/quality status — View gate status and recent results/quality config — See active checks and tool availability