skills/typescript-quality-gate/SKILL.md
Runs TypeScript/JavaScript code quality checks. Use when checking TypeScript or JavaScript quality, linting, running tests, validating TypeScript code, or running TS/JS checks. Covers formatting and linting with biome, type checking with tsc, and test execution with bun test.
npx skillsauth add philoserf/claude-code-setup skills/typescript-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 a standardized set of TypeScript/JavaScript quality checks. Auto-fix what's fixable, report the rest with specific locations.
Verify these tools are available before running checks. All run via bunx — no global installs needed.
biome — formatter and linter (bunx biome)tsc — TypeScript compiler for type checking (bun run tsc or bunx tsc)bun test — test runner (built into Bun)If the project uses prettier + eslint instead of Biome, adapt accordingly — check package.json for which tools are configured.
Run checks in this order. Formatting first so later tools analyze clean code.
Run bunx biome format --write . — report which files were modified. If no files changed, report "formatting clean."
If the project uses Prettier instead, run bunx prettier --write ..
Run bunx biome check --fix . — apply safe auto-fixes for lint and import organization. Report which rules were fixed and in which files.
If the project uses ESLint instead, run bunx eslint --fix ..
Run bunx biome check . — report remaining issues with file, line, rule name, and message. If a biome.json or biome.jsonc exists, it's picked up automatically.
If using ESLint, run bunx eslint ..
Run bunx tsc --noEmit — report type errors with file, line, and error code. If a tsconfig.json exists, it's picked up automatically. Skip this step for pure JavaScript projects with no tsconfig.json.
Run bun test — if test files exist (*.test.ts, *.spec.ts, or a __tests__/ directory). Report pass/fail counts. If no tests exist, note it in the summary.
If the project uses a different runner (vitest, jest), check package.json scripts and use the appropriate command.
After all checks complete, present a summary table:
| Check | Status | Details |
|-------------|--------|----------------------|
| biome fmt | FIXED | 4 files formatted |
| biome fix | FIXED | 2 auto-fixes |
| biome check | PASS | |
| tsc | FAIL | 3 type errors |
| bun test | PASS | 12 passed, 0 failed |
Then list specific issues grouped by file, with line numbers and rule/error codes. Offer to fix reported issues if the user wants.
Check package.json and config files to determine the project's toolchain:
| Signal | Toolchain |
| ------------------------------------- | ---------------- |
| biome.json or biome.jsonc | Biome |
| .eslintrc.* or eslint.config.* | ESLint |
| .prettierrc.* or prettier in deps | Prettier |
| tsconfig.json | TypeScript |
| vitest in deps | Vitest |
| jest in deps | Jest |
| None of the above | Default to Biome |
go-quality-gaterefactor-cleandiff-reviewtesting
Audits ~/.claude/skills/ for unused entries, duplicate names, missing descriptions, and the longest descriptions. Use when trimming the user-level skill set, asking which skills are unused, finding duplicates, or auditing skill hygiene.
tools
Publishes and manages Flowershow sites with the `fl` CLI (the Go-based successor to the deprecated `@flowershow/publish` npm package). Use when publishing a note or folder to Flowershow, syncing updates to an existing site, managing auth, listing or deleting sites, or installing/upgrading the CLI.
tools
Copy edits prose while preserving voice and register. Use when asked to edit, copy edit, line edit, proofread, revise, polish, tighten, rewrite, or clean up essays, articles, drafts, or fiction. Flags wordiness, passive voice, clichés, hedging, and nominalizations with bracket markup or clean rewrites.
tools
Improves CLAUDE.md by analyzing conversation patterns. Use when Claude keeps repeating a mistake, when teaching a new preference, or when consolidating guidance from repeated instructions. Captures recurring corrections and style preferences into project instructions.