Agent skill

JavaScript Tooling

Development tools, linting, and testing for JavaScript projects.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/tooling-hoangnguyen0403-agent-skills-standar

Metadata

Additional technical details for this skill

labels
tooling javascript eslint prettier testing
triggers
{
    "files": [
        ".eslintrc.*",
        "jest.config.*",
        "package.json"
    ],
    "keywords": [
        "eslint",
        "prettier",
        "jest",
        "test",
        "lint",
        "build"
    ]
}

SKILL.md

JavaScript Tooling

Priority: P1 (OPERATIONAL)

Essential tooling for JavaScript development.

Implementation Guidelines

  • Linting: ESLint (Rec + Prettier). Fix on save.
  • Formatting: Prettier. Run on save/commit.
  • Testing: Jest/Vitest. Co-locate tests. >80% cov.
  • Build: Vite (Apps), Rollup (Libs).
  • Pkg Manager: Sync versions (npm/yarn/pnpm).

Anti-Patterns

  • No Formatting Wars: Prettier rules.
  • No Untested Code: TDD/Post-code tests.
  • No Dirty Commits: Lint before push.

Configuration

javascript
// .eslintrc.js
module.exports = {
  extends: ['eslint:recommended', 'prettier'],
  rules: { 'no-console': 'warn', 'prefer-const': 'error' },
};
json
// .prettierrc
{ "semi": true, "singleQuote": true, "printWidth": 80 }
javascript
// jest.config.js
export default {
  coverageThreshold: { global: { lines: 80 } },
};

Reference & Examples

For testing patterns and CI/CD: See references/REFERENCE.md.

Related Topics

best-practices | language

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results