Claude Code Plugins

Community-maintained marketplace

Feedback
0
0

Node.js development standards including jest/vitest, eslint, and prettier. Use when working with JavaScript files, package.json, or npm/pnpm.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name forge-lang-node
description Node.js development standards including jest/vitest, eslint, and prettier. Use when working with JavaScript files, package.json, or npm/pnpm.

Node.js Development

Testing

# Run all tests
npm test

# Run with coverage
npm test -- --coverage

# Run in watch mode
npm test -- --watch

# Run specific test
npm test -- --testPathPattern=module.test

Linting

# Run eslint
npm run lint

# Fix auto-fixable issues
npm run lint -- --fix

Formatting

# Format with prettier
npm run format

# Check without changing
npx prettier --check .

Project Structure

project/
├── src/
│   ├── index.js
│   └── module.js
├── tests/
│   └── module.test.js
├── package.json
└── README.md

package.json Scripts

{
  "scripts": {
    "test": "jest",
    "lint": "eslint src/",
    "format": "prettier --write .",
    "check": "npm run lint && npm run test"
  }
}

TDD Cycle Commands

# RED: Write test, run to see it fail
npm test -- --testPathPattern=new_feature

# GREEN: Implement, run to see it pass
npm test -- --testPathPattern=new_feature

# REFACTOR: Clean up, ensure tests still pass
npm run check