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.
npx skills add williamzujkowski/standards --skill javascriptgit clone --depth 1 https://github.com/williamzujkowski/standardsWrote 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.
[](https://agentmods.dev/skills/williamzujkowski/standards/javascript)<a href="https://agentmods.dev/skills/williamzujkowski/standards/javascript"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/javascript/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.
<a href="https://agentmods.dev/skills/williamzujkowski/standards/javascript"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/javascript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.05665 |
| Opus 5.5 | $0.00020 | $0.02266 |
| Sonnet 5.5 | $0.00010 | $0.01133 |
| Haiku 4.5 | $0.00005 | $0.00566 |
Grade A, and why
javascript-coding-standards scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
return await fetch(url); How it starts
The opening of the file, as written. The whole thing — 924 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JavaScript Coding Standards
Quick Navigation: Level 1: Quick Start (5 min) → Level 2: Implementation (30 min) → Level 3: Mastery (Extended)
Level 1: Quick Start (<2,000 tokens, 5 minutes)
Core Principles
- Modern JavaScript: Use ES6+ features (arrow functions, destructuring, async/await)
- Type Safety: Use TypeScript or JSDoc for type annotations where complexity warrants
- Test-First: Write Jest tests before implementation
- Clean Code: Follow Airbnb style guide, use meaningful names
- Modern Tooling: ESLint + Prettier for consistent formatting
Essential Checklist
- ESLint + Prettier: Code formatted and linted automatically
- Modern Syntax: Arrow functions, const/let (no var), template literals
- Testing: Jest tests with >80% coverage
- Documentation: JSDoc for complex functions and public APIs
- Error Handling: Try/catch for async operations, proper error types
- Security: Input validation, no eval(), sanitize user input
- Module System: ES6 modules (import/export), not CommonJS
- Dependencies: package.json with exact versions, npm audit passing
Quick Example
/**
* User authentication module with secure session handling.
* @module auth
*/
import bcrypt from 'bcrypt';
import jwt from 'jsonwebtoken';
/**
* Authenticate user with username and password.
*
* @param {string} username - User's username
* @param {string} password - Plain text password
* @returns {Promise<{success: boolean, token?: string, error?: string}>}
* @throws {ValidationError} If credentials are invalid
*
* @example
* const result = await authenticateUser('alice', 'secret123');
* if (result.success) {
* console.log('Token:', result.token);
* }
*/
export const authenticateUser = async (username, password) => {
// Validate inputs
if (!username || !password) {
throw new ValidationError('Username and password required');
}
try {
// Fetch user from database
const user = await fetchUserFromDb(username);
if (!user) {
return { success: false, error: 'Invalid credentials' };
}
// Verify password
const isValid = await bcrypt.compare(password, user.passwordHash);
if (!isValid) {
return { success: false, error: 'Invalid credentials' };
}
// Generate JWT token
const token = jwt.sign(
{ userId: user.id, username: user.username },
process.env.JWT_SECRET,
{ expiresIn: '1h' }
);
return { success: true, token };
} catch (error) {
console.error('Authentication error:', error);
throw new AuthenticationError('Authentication failed', error);
}
};
/**
* Custom validation error.
*/
class ValidationError extends Error {
constructor(message) {
super(message);
this.name = 'ValidationError';
}
}
/**
* Custom authentication error.
*/
class AuthenticationError extends Error {
constructor(message, cause) {
super(message);
this.name = 'AuthenticationError';
this.cause = cause;
}
}
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 924 lines · 49 tokens per session scan A f584aa06dce7
javascript-coding-standards is a skill published in the GitHub repository williamzujkowski/standards (18 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 5,665 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.
Other skills, from other repositories
angular-testing
Write Angular component tests using TestBed, ComponentHarness, and HttpTestingController with proper signal input handling. Use when writing component tests, mocking HTTP calls, or testing signal inputs.
appbuilder-testing
Generate and run tests for Adobe App Builder actions and UI components. Scaffolds Jest unit tests, integration tests against deployed actions, contract tests for Adobe API interactions, and React component tests using Testing Library. Provides mock helpers for State, Files, Events SDKs, @adobe/aio-lib- clients, ExC…
react-testing
React testing guidance using React Testing Library and modern patterns.
sfnext-testing
Write tests for Storefront Next using Vitest unit tests, Storybook stories, interaction tests, snapshot tests, and accessibility tests. Use when writing component tests, creating Storybook stories, running test coverage, or setting up test utilities. Covers testing-library patterns, play functions, and coverage…
testing
Skill "testing" from udecode/plate-playground-template, covering testing goal, core rules, seam selection, fixtures and assertions and quick reference.
react-test
Creates Vitest component tests for Next.js App Router pages and React components using React Testing Library and accessible queries. Use when the user asks to "write frontend tests", "test the page", "test the component", "write an RTL test", or mentions React Testing Library, jsdom, or component testing for a Next.js…