Agent skill

Javascript Practices

by eser in eser/stack

TS and JS conventions for eserstack packages: namespace imports, mod.ts entries, cross-runtime APIs, explicit checks, async, tests and laroux React components.

Custom licenceAuto-check passedFrontend & Design

Install Javascript Practices

skills CLI
$ npx skills add eser/stack --skill javascript-practices -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eser/stack javascript-practices --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eser/stack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/javascript-practices .claude/skills/javascript-practices && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
javascript-practices
GitHub stars
128
Token cost
~599 tokens
SKILL.md length
200 words
Files
6 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

TS and JS conventions for eserstack packages: namespace imports, mod.ts entries, cross-runtime APIs, explicit checks, async, tests and laroux React components.

  • Tasks that involve React components
  • SKILL.md covers Always and References
  • Calls deno

What it does

Javascript Practices is an agent skill from eser/stack. TS and JS conventions for eserstack packages: namespace imports, mod.ts entries, cross-runtime APIs, explicit checks, async, tests and laroux React components. Use when writing or reviewing .ts, .tsx or .js files, Deno. or process.env use in libraries, imports, truthy or null checks flagged in review, tests or React UI. Not for Deno config or dependencies (use tooling-standards).

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `evals/triggers.json`, `references/modules.md` and `references/react.md`).

It sits in Frontend & Design, covering React components. It works with JavaScript, Deno, React and TypeScript. The repository describes itself as: The Portability Solution for Your Code! 🚀 Powered By Deno and JavaScript.

When your agent uses it

  • Tasks that involve React components

Example prompts

  • “/javascript-practices”

What it can do on your machine

Read from SKILL.md and the folder at commit 64939e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • deno

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Javascript Practices loads about 599 tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 200 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~101
When it runs · the whole SKILL.md, loaded when a task matches
~599
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 200 words (~599 tokens).

“How TypeScript is written in pkg/@eserstack/*: modules, runtime access, types, tests and React UI.”

— opening of SKILL.md by eser, Custom licence
name
javascript-practices

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in .agents/skills/javascript-practices of eser/stack.

  • SKILL.md
  • evals/triggers.json
  • references/modules.md
  • references/react.md
  • references/syntax-and-types.md
  • references/testing.md

Open the folder on GitHubat commit 64939e6

Compare with similar skills

Javascript Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Javascript Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Javascript Practices this skilleser/stack128—~599Automated safety check: PassCustom licence
Typescript Best Practicesbretzel-app/crumbs1271 repos~2.2kAutomated safety check: PassMIT
Connect Component To Figmadequelabs/cauldron129—~2kAutomated safety check: PassMPL-2.0
Fork And GoSimplePDF/simplepdf-embed407—~7.9kAutomated safety check: NotesMIT
Typescript Rulessoftspark/ai-toolkit179—~2.7kAutomated safety check: NotesApache-2.0
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0

Similar skills

  • Typescript Best Practices

    bretzel-app/crumbs

    Provides TypeScript patterns for type-first development, making illegal states unrepresentable, exhaustive handling, and runtime validation.

    127 GitHub starsUsed in 1 repo~2.2k tokens
    Frontend & DesignAuto-check passed
  • Connect Component To Figma

    dequelabs/cauldron

    Add a Figma Code Connect (.figma.tsx) file for a Cauldron React component.

    129 GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Fork And Go

    SimplePDF/simplepdf-embed

    Guided walkthrough for forking and deploying your own SimplePDF Copilot: hosting choice, Pro-account confirmation, AI-provider wiring, demo customization, deploy, and the SimplePDF whitelist step.

    407 GitHub stars~7.9k tokensUpdated 7 days ago
    Frontend & DesignAuto-check: notes
  • Typescript Rules

    softspark/ai-toolkit

    TypeScript/JavaScript coding rules: style, patterns, security, testing.

    179 GitHub stars~2.7k tokensUpdated today
    Testing & QAAuto-check: notes
  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Frontend & DesignAuto-check passed

More from eser/stack

All 13 skills in this repo
  • Picks the skills a task needs and maintains the rules in .agents/skills.

    128 GitHub stars~749 tokensUpdated 3 days ago
    Auto-check passed
  • System design in eserstack: double-layered hexagonal architecture, explicit adapter composition, public API and CLI surface, request metadata, testing strategy, ADRs.

    128 GitHub stars~516 tokensUpdated 3 days ago
    Auto-check passed
  • Language-neutral code quality rules for eserstack, TypeScript and Go.

    128 GitHub stars~688 tokensUpdated 3 days ago
    Auto-check passed
  • Enrichment

    eser/stack

    Interviews the user about a plan, decision or idea in rounds, level by level down a decision tree, until both share one understanding; facts are researched by sub-agents, decisions stay with the user.

    128 GitHub stars~642 tokensUpdated 3 days ago
    Auto-check passed
  • Go Practices

    eser/stack

    Go conventions for eserstack's ajan framework, services and FFI bridge.

    128 GitHub stars~851 tokensUpdated 3 days ago
    Auto-check passed
  • Release And CI

    eser/stack

    Releases and CI for eserstack: the shared version of all packages, the release command, the tag-driven build.yml run, JSR and npm publishing, changelog and breaking changes, release recovery, GitHub…

    128 GitHub stars~665 tokensUpdated 3 days ago
    Auto-check passed

Questions about Javascript Practices

What does Javascript Practices do?

TS and JS conventions for eserstack packages: namespace imports, mod.ts entries, cross-runtime APIs, explicit checks, async, tests and laroux React components. Javascript Practices is an agent skill from eser/stack.ts entries, cross-runtime APIs, explicit checks, async, tests and laroux React components.

When should I use Javascript Practices?

Javascript Practices fits situations like: tasks that involve React components.

How do I install Javascript Practices in Claude Code?

Run `npx skills add eser/stack --skill javascript-practices -a claude-code`. Or copy the skill folder (.agents/skills/javascript-practices in eser/stack) into .claude/skills/javascript-practices in your project. Claude Code loads it when a task matches its description.

How do I install Javascript Practices in Codex?

Run `npx skills add eser/stack --skill javascript-practices -a codex`. Or copy the skill folder (.agents/skills/javascript-practices in eser/stack) into .agents/skills/javascript-practices in your project. Codex loads it when a task matches its description.

Can I use Javascript Practices in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eser/stack --skill javascript-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/javascript-practices, .gemini/skills/javascript-practices, .github/skills/javascript-practices and .opencode/skills/javascript-practices in your project.

What does Javascript Practices need to run?

Going by SKILL.md and its folder, Javascript Practices needs the command-line tools its instructions call (deno).

Does Javascript Practices access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Javascript Practices safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Javascript Practices use?

Javascript Practices has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Javascript Practices use?

About 599 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.2k tokens, read only when the agent opens those files.

What are the alternatives to Javascript Practices?

Skills that share tags, products or a category with Javascript Practices: Typescript Best Practices (bretzel-app/crumbs, 127 stars), Connect Component To Figma (dequelabs/cauldron, 129 stars), Fork And Go (SimplePDF/simplepdf-embed, 407 stars) and Typescript Rules (softspark/ai-toolkit, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Javascript Practices?

eser (a GitHub user) maintains it in eser/stack, which has 128 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 3, 2026.

Source: eser/stack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.