From tdd-js
Runs ESLint for linting, Prettier for formatting checks, and Jest/Vitest for testing in JavaScript projects. Targets zero errors and 90%+ coverage. Activates on 'JS quality check' or 'static analysis'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tdd-js:skills/js-qualityThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
JavaScript プロジェクトの品質チェックツール。
JavaScript プロジェクトの品質チェックツール。
| ツール | コマンド | 用途 |
|---|---|---|
| ESLint | npx eslint . | 静的解析 |
| Prettier | npx prettier --check . | フォーマットチェック |
| Jest | npx jest | テスト実行 |
| Vitest | npx vitest run | テスト実行 |
# 基本
npx eslint .
# 自動修正
npx eslint . --fix
# 特定ディレクトリ
npx eslint src/ tests/
# チェック
npx prettier --check .
# 自動修正
npx prettier --write .
# Jest
npx jest
npx jest --watch
npx jest --coverage
# Vitest
npx vitest run
npx vitest --coverage
| 項目 | 目標 |
|---|---|
| ESLint | エラー0 |
| Prettier | エラー0 |
| カバレッジ | 90%+ |
reference.mdnpx claudepluginhub morodomi/tdd-skills --plugin tdd-jsValidates JavaScript files for syntax errors using Node's --check flag. Runs up to 3 fix-retest cycles per file and reports PASS/FAIL with line numbers.
Configures Jest for JavaScript and TypeScript projects including setup files, module resolution, coverage thresholds, transform rules, and project organization for optimal testing.
Initializes JavaScript projects with ES modules, functional style, Prettier, ESLint flat config, EditorConfig, Vitest, and .gitignore. Use to bootstrap Node.js apps, packages, or add tooling to empty directories.