js-quality

Run ESLint, Prettier, and test suites for JavaScript projects.

8|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/morodomi/tdd-skills --skill js-quality-morodomi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: js-quality
Source: https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-js/skills/js-quality
Command: npx skills add https://github.com/morodomi/tdd-skills --skill js-quality-morodomi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

JavaScript projects often suffer from inconsistent quality: linting errors, formatting drift, and flaky tests that slow development. This skill consolidates quality checks by running ESLint, Prettier, and test suites to ensure code health.

Core Features & Use Cases

  • Static analysis: Run ESLint to identify and fix code quality issues.
  • Code formatting: Use Prettier to ensure consistent formatting.
  • Test execution: Run Jest or Vitest to verify behavior and coverage.
  • Use Case: A frontend project with a CI job can automatically lint, format, and test on every push to prevent regressions.

Quick Start

Install the necessary tools in your project, then run: npx eslint . npm test npx vitest run

Frequently Asked Questions about js-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate JavaScript linting and formatting checks in a CI pipeline?

Automate JavaScript linting and formatting by configuring this skill to run ESLint for static analysis and Prettier for style enforcement. It executes these tools alongside your test suite, ensuring consistent code health checks on every push to prevent regressions in Node.js or frontend projects.

Can I use Vitest and Jest interchangeably for running automated test suites?

Yes, automated test execution supports both Vitest and Jest frameworks. The skill runs your configured test suite to verify behavior and coverage, allowing you to maintain reliable test results whether your project relies on Jest or Vitest for its testing environment.

What is the best way to enforce consistent code quality in a Node.js project?

The best way to enforce code quality is combining static analysis, formatting, and test execution. This skill consolidates ESLint, Prettier, and test suites into a single automated workflow, resolving issues like formatting drift and flaky tests that slow down development.

Do I need to install ESLint and Prettier separately before running quality checks?

Yes, you need to install ESLint, Prettier, and your chosen test runner in your project first. The skill automates running these existing tools via commands like npx eslint and npm test, orchestrating their execution rather than replacing the underlying dependencies.

Why does my frontend project still have formatting drift despite running Prettier?

Formatting drift occurs when Prettier is not consistently executed across all contributions. This skill automates Prettier execution alongside ESLint and tests, ensuring style guidelines are uniformly applied and verified during CI jobs to prevent inconsistent formatting from reaching your codebase.