> javascript-tooling
Development tools, linting, and testing for JavaScript projects. Use when configuring ESLint, Prettier, or test runners for JavaScript projects. (triggers: .eslintrc.*, jest.config.*, package.json, eslint, prettier, jest, test, lint, build)
curl "https://skillshub.wtf/HoangNguyen0403/agent-skills-standard/javascript-tooling?format=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
// .eslintrc.js
module.exports = {
extends: ['eslint:recommended', 'prettier'],
rules: { 'no-console': 'warn', 'prefer-const': 'error' },
};
// .prettierrc
{ "semi": true, "singleQuote": true, "printWidth": 80 }
// 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
> related_skills --same-repo
> typescript-tooling
Development tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling. (triggers: tsconfig.json, .eslintrc.*, jest.config.*, package.json, eslint, prettier, jest, vitest, build, compile, lint)
> typescript-security
Secure coding practices for TypeScript. Use when validating input, handling auth tokens, sanitizing data, or managing secrets and sensitive configuration. (triggers: **/*.ts, **/*.tsx, validate, sanitize, xss, injection, auth, password, secret, token)
> typescript-language
Modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings. (triggers: **/*.ts, **/*.tsx, tsconfig.json, type, interface, generic, enum, union, intersection, readonly, const, namespace)
> typescript-best-practices
Idiomatic TypeScript patterns for clean, maintainable code. Use when writing or refactoring TypeScript classes, functions, modules, or async logic. (triggers: **/*.ts, **/*.tsx, class, function, module, import, export, async, promise)