Agent-skills-standard JavaScript Tooling

Development tools, linting, and testing for JavaScript projects.

install
source · Clone the upstream repo
git clone https://github.com/HoangNguyen0403/agent-skills-standard
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HoangNguyen0403/agent-skills-standard "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agent/skills/javascript/tooling" ~/.claude/skills/hoangnguyen0403-agent-skills-standard-javascript-tooling && rm -rf "$T"
manifest: .agent/skills/javascript/tooling/SKILL.md
source content

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