eloquent-js-codestyle

eloquent-js-codestyle is a skill for Claude Code, Codex from GulajavaMinistudio/awesome-copilot-id. It costs 0 tokens per session (909 once invoked), scanned A, original, MIT.

JavaScript coding guidelines based on the 2024 fourth edition of Eloquent JavaScript, a book about writing JavaScript. They direct the assistant toward readable modern JavaScript, including consistent variable and function choices.

In plain words
What is it for?
Use them when writing, editing, or reviewing JavaScript that should follow the book’s conventions, such as preferring const, avoiding var, and using semicolons.
Why use it?
They reduce inconsistent style and common JavaScript mistakes when generating or reviewing code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when writing, editing, or reviewing JavaScript that should follow the book’s conventions, such as preferring const, avoiding var, and using semicolons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle
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 GulajavaMinistudio/awesome-copilot-id --skill eloquent-js-codestyle
Clone the repo
git clone --depth 1 https://github.com/GulajavaMinistudio/awesome-copilot-id

Made for: Claude Code, Codex.

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 eloquent-js-codestyle

README.md
[![agentmods](https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle/github.svg)](https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle)
Your own site
<a href="https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle/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 eloquent-js-codestyle

Your own site · 80×15
<a href="https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/eloquent-js-codestyle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 909 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00909
Opus 5 $0.00000 $0.00454
Sonnet 5 $0.00000 $0.00182
Haiku 4.5 $0.00000 $0.00091

Measured 12d ago against content hash 4c914b82be5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

eloquent-js-codestyle 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 12d 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.

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.

supplementary-skill/eloquent-js-codestyle/SKILL.md · 59 lines

How it starts

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

Custom Instructions based on "Eloquent JavaScript, 4th Edition" (2024)

You are an expert JavaScript developer who strictly follows the coding philosophy and standards of Marijn Haverbeke's "Eloquent JavaScript, 4th Edition". Your code must be expressive, robust, and use modern ECMAScript features (ES2024).

1. Philosophy & General Style

  • Code as Thought: Write code that clearly expresses the programmer's intent. Prefer readability and clear abstraction over brevity or clever hacks.
  • Strict Mode: Always assume code runs in "strict mode" (which is default in modules and classes) to catch errors early.
  • Semicolons: Use semicolons explicitly to avoid pitfalls of automatic semicolon insertion.

2. Variables & Bindings

  • No var: Never use var. It behaves oddly regarding scoping.
  • const by Default: Use const for bindings that do not change.
  • let for Updates: Use let only for values that will be reassigned (e.g., loop counters, accumulators).

3. Functions & Control Flow

  • Arrow Functions: Prefer arrow functions (=>) for small function expressions, callbacks (like in .map or .filter), and to preserve lexical this.
  • Function Declarations: Use standard function declarations for top-level concepts or when hoisting improves readability (e.g., defining helper functions below their usage).
  • Higher-Order Functions: Avoid manual loops (for, while) when processing arrays. Instead, use standard higher-order methods: .map, .filter, .reduce, .some, .find, and .flatMap.
  • Pure Functions: Strive to write pure functions (no side effects) whenever possible. Separation of side effects from logic is a core principle.

4. Asynchronous Programming

  • Async/Await: Prefer async and await syntax over raw Promise chains (.then()) to keep code linear and pseudo-synchronous.
  • Promise.all: Use Promise.all to run independent asynchronous tasks in parallel, rather than await-ing them sequentially.
  • Generators: Use generator functions (function*) and for...of loops when creating custom iterators.

Read the full file on GitHub · 59 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. 12d ago First seen · 59 lines · 0 tokens per session scan A 4c914b82be5e

Subscribe to this mod's changes

eloquent-js-codestyle is a skill published in the GitHub repository GulajavaMinistudio/awesome-copilot-id (73 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 909 tokens. 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-08-30.

Related

Other skills, from other repositories

programming

Applies strict, modern language practice (typed errors, exhaustive match, TDD) for Python, Rust, TypeScript, and Go. Use for work on .py, .rs, .ts, or .go files.

code-yeongyu/oh-my-openagent · 49 tokens

swiftui-skills

Apple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.

ameyalambat128/swiftui-skills · 34 tokens

dotnet-maui-wpf-desktop

Production architectural patterns, MVVM clean architecture, async thread synchronization, high-performance UI rendering, native interop, and memory optimization for enterprise Windows and cross-platform desktop applications using WPF, .NET MAUI, and Windows App SDK.

hamzabellouch/agent-skills · 56 tokens

unity-csharp-architecture-and-ecs

Architectural patterns, Data-Oriented Technology Stack (DOTS), Unity ECS, Burst Compiler, C# Job System, memory management, zero-allocation C# patterns, and frame-budget optimization for high-performance Unity game development.

hamzabellouch/agent-skills · 54 tokens

unreal-engine-cpp-blueprints

Production guidance for Unreal Engine C++ and Blueprints hybrid architecture, UObject memory management, Unreal Smart Pointers, Gameplay Ability System (GAS), Subsystems, Task Graph multithreading, and performance optimization.

hamzabellouch/agent-skills · 50 tokens

sveltekit-and-svelte5-runes

Complete architecture patterns, state management with Svelte 5 Runes ($state, $derived, $effect, $props), SvelteKit SSR/streaming pipelines, form actions, and production anti-patterns.

hamzabellouch/agent-skills · 53 tokens