Javascript Tooling
ASecurity**Priority: P1 (HIGH).** Implement JavaScript tooling as follows: - **Linting:** Use ESLint with recommended rules and Prettier integration. Fix issues on save. - **Formatting:** Use Prettier, running it on save and before commits. - **Testing:** Use Jest or Vitest. Co-locate tests with source files and enforce more than 80% coverage. - **Build:** Use Vite for applications and Rollup for libraries. - **Pkg Manager:** Choose npm, yarn, or pnpm, and keep versions synchronized across environment...
- 584 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 12 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill javascript-tooling --agent claude-codeAre you the author of Javascript Tooling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-javascript-tooling-agent-skills-standard)**Priority: P1 (HIGH).**
Implement JavaScript tooling as follows:
- **Linting:** Use ESLint with recommended rules and Prettier integration. Fix issues on save.
- **Formatting:** Use Prettier, running it on save and before commits.
- **Testing:** Use Jest or Vitest. Co-locate tests with source files and enforce more than 80% coverage.
- **Build:** Use Vite for applications and Rollup for libraries.
- **Pkg Manager:** Choose npm, yarn, or pnpm, and keep versions synchronized across environments.
Example ESLint 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
}
}
};
```
Add linting and tests to CI, and run linting before pushing. Let Prettier settle formatting decisions to avoid formatting wars, and follow TDD or add post-code tests so there is no untested code or dirty commit.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
- trigger-5.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.