javascript-conventions

javascript-conventions is a skill for Claude Code from wyattowalsh/agents. It costs 53 tokens per session (2,243 once invoked), scanned A, original, MIT.

A set of rules and checks for JavaScript and TypeScript projects. It covers package management, TypeScript, ESLint, and Prettier conventions.

In plain words
What is it for?
Use it when working on JavaScript, TypeScript, Node.js tooling, package files, or related configuration.
Why use it?
It reduces inconsistent tooling and formatting across JavaScript or TypeScript codebases.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the agents plugin — 71 skills, 20 agents, 5 hooks shipped together

Good fit Use it when working on JavaScript, TypeScript, Node.js tooling, package files, or related configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wyattowalsh/agents/javascript-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wyattowalsh/agents --skill javascript-conventions
Clone the repo
git clone --depth 1 https://github.com/wyattowalsh/agents

Made for: Claude Code.

Or install agents, the plugin that ships this one along with the rest of its 71 skills, 20 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for javascript-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/wyattowalsh/agents/javascript-conventions/github.svg)](https://agentmods.dev/skills/wyattowalsh/agents/javascript-conventions)
Your own site
<a href="https://agentmods.dev/skills/wyattowalsh/agents/javascript-conventions"><img src="https://agentmods.dev/badge/skills/wyattowalsh/agents/javascript-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for javascript-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/wyattowalsh/agents/javascript-conventions"><img src="https://agentmods.dev/badge/skills/wyattowalsh/agents/javascript-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02243
Opus 5.5 $0.00021 $0.00897
Sonnet 5.5 $0.00011 $0.00449
Haiku 4.5 $0.00005 $0.00224

Measured 1mo ago against content hash 3f02e360bf28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

javascript-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/asset_toolkit/__init__.py, scripts/asset_toolkit/_shared.py, scripts/asset_toolkit/common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/javascript-conventions/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JavaScript/TypeScript Conventions

Apply these conventions when JavaScript, TypeScript, Node.js tooling, or package.json is the primary workstream.

Dispatch

$ARGUMENTS Action
Active (auto-invoked when JS/TS work is primary) Apply the operator contract below
Empty Display the convention summary and routing guidance
check Verify tooling compliance only

Reference File Index

File Purpose When to Read
references/tooling-contract.md Required package-manager, command, CI, workspace, and package-root rules Package commands, scripts, dependencies, lockfiles, or CI
references/redirection-boundaries.md When JS/TS conventions should yield to Python, shell, CI, or framework-specific skills Mixed-language or ambiguous work
references/edge-cases.md Exception gates for npm/yarn, Corepack, generated apps, and migrations Deviations from pnpm defaults
references/typescript-patterns.md TypeScript config, narrowing, type guards, unions, and type-test patterns TypeScript code or tsconfig.json
references/eslint-prettier.md ESLint flat config, typed linting, and Prettier separation Linting or formatting changes

Operator Contract

Active

  1. Apply this skill only when JS/TS files, Node tooling, or package.json are the primary surface of the task.
  2. Read references/redirection-boundaries.md when JS/TS appears alongside Python, shell, CI, or framework-specific work.
  3. Enforce the hard requirements in references/tooling-contract.md for package management, package-root selection, command execution, lockfiles, workspaces, and CI installs.
  4. Check references/edge-cases.md before recommending npm, yarn, global package managers, Corepack assumptions, or lockfile migrations.
  5. Read references/typescript-patterns.md for TypeScript config or type-safety changes.
  6. Read references/eslint-prettier.md for linting, typed linting, or formatting changes.
  7. Use guided preferences only when starting new work or when the repo does not already have a stronger local convention.

Read the full file on GitHub · 160 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 160 lines · 53 tokens per session scan A 3f02e360bf28

Subscribe to this mod's changes

javascript-conventions is a skill published in the GitHub repository wyattowalsh/agents (5 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 2,243 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

biome

You are an expert in Biome, the Rust-based toolchain that replaces ESLint and Prettier with a single, fast tool. You help developers configure linting, formatting, and import sorting for JavaScript, TypeScript, JSX, JSON, and CSS — achieving 100x faster execution than ESLint+Prettier with zero configuration, unified…

TerminalSkills/skills · 81 tokens

shared-tooling-biome

Biome v2 unified linter, formatter, and import organizer — single Rust-powered tool replacing ESLint + Prettier with 97% Prettier compatibility and 20x faster performance.

agents-inc/skills · 44 tokens

skill-web-implementation

Implement web (Astro/Tailwind/TypeScript) changes following a plan. Invoke for web-language implementation tasks.

benbrastmckie/nvim · 29 tokens

javascript-standards

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.

humanmade/claude-code-standards · 54 tokens

fe-architecture

A skill package for changing front-end architecture across Angular, Vue, React, plain JavaScript, and Node.js projects.

wj100/fe-skills · 105 tokens

javascript-pro

Writes, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanilla JavaScript applications, implementing Promise-based async flows, optimising browser or Node.js performance, working with Web Workers or Fetch API, or…

eric861129/SKILLS_All-in-one · 84 tokens