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'.
npx claudepluginhub morodomi/tdd-skills --plugin tdd-jsThis skill is limited to using the following tools:
JavaScript プロジェクトの品質チェックツール。
Configures Jest for JavaScript and TypeScript projects including setup files, module resolution, coverage thresholds, transform rules, and project organization for optimal testing.
Sets up Biome (default) or ESLint + Prettier, Vitest testing, and Husky pre-commit hooks for JavaScript/TypeScript projects using Bun.
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.
Share bugs, ideas, or general feedback.
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.md