humanmade/claude-code-standards/javascript-standards

Claude Code and agent skill by humanmade/claude-code-standards

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Human Made JavaScript and TypeScript conventions — ES6+ patterns, module organisation, ESLint config, WordPress integration. Use when writing or reviewing JS or TS, adding a module, or when asked whether some JavaScript follows HM standards.

Install

npx vskill@latest install humanmade/claude-code-standards/javascript-standards

SKILL.md

Human Made JavaScript Standards

Modern JavaScript (ES6+)

  • Prefer const over let; never use var
  • Use arrow functions for callbacks and context binding
  • Use destructuring and spread operators
  • Prefer functional programming (.map(), .filter(), .reduce()) over imperative loops
  • Use template literals for string interpolation
  • Use async/await over raw Promises where possible

Code Conventions

  • Trailing commas in multi-line arrays and objects
  • Semicolons end every statement
  • Avoid Yoda conditions
  • One class per file with export default
  • Use named exports for utilities and helpers

Examples

Prefer
javascript
const { name, email } = user;
const items = data.map( item => item.id );
const filtered = items.filter( id => id > 0 );
Avoid
javascript
var name = user.name;
var email = user.email;
var items = [];
for ( var i = 0; i < data.length; i++ ) {
items.push( data[i].id );
}

Module Organization

  • Group imports: external dependencies first, then internal modules
  • Keep files focused on a single responsibility
  • Export types and interfaces alongside implementations

Linting

Projects use ESLint with WordPress rules:

  • Config file: .eslintrc.js, .eslintrc.json, or eslint.config.js
  • Run with: npm run lint or npx eslint .

WordPress Integration

When working with WordPress block editor or admin:

  • Use @wordpress/* packages from npm
  • Follow WordPress data store patterns for state management
  • Use wp.i18n functions for internationalization: __(), _x(), sprintf()

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/humanmade/claude-code-standards/javascript-standards/badge)](https://verified-skill.com/skills/humanmade/claude-code-standards/javascript-standards)

Something wrong with this skill or its page? Tell us.