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 2mo ago.
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.
- 2mo ago First seen · 924 lines · 49 tokens per session scan A f584aa06dce7
javascript-coding-standards is a skill published in the GitHub repository williamzujkowski/standards (22 stars, last pushed 3mo 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.
javascript-coding-standards compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| javascript-coding-standardswilliamzujkowski/standards | Skill | 22 | 3mo ago | MIT | A | 49 | Claude Code, Codex |
| react-native-testingcallstack/react-native-testing-library | Skill | 3.4k | 8d ago | MIT | A | 134 | Claude Code, Codex |
| verify-workHoangNguyen0403/agent-skills-standard | Skill | 597 | yesterday | MIT | A | 23 | Codex |
| authoring-data-quality-checksPostHog/posthog | Skill | 41k | today | none | A | 174 | Claude Code, Codex |
| appbuilder-testingadobe/skills | Skill | 339 | today | Apache-2.0 | A | 201 | Claude Code |
| authoring-benchmarksNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| vitestjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 87 | Claude Code |