javascript-typescript

javascript-typescript is a skill for Claude Code from ProjAnvil/MindForge. It costs 85 tokens per session (2,300 once invoked), scanned A, a copy of javascript-typescript, MIT.

A guide for developing applications with JavaScript and TypeScript, languages commonly used for web interfaces, servers, and APIs. It covers Node.js, React, other web frameworks, testing tools, and build systems.

In plain words
What is it for?
Use it to build React applications, Node.js services, REST APIs, and projects using modern JavaScript or TypeScript tools.
Why use it?
It helps choose consistent project structures and practices across front-end and back-end JavaScript or TypeScript work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it to build React applications, Node.js services, REST APIs, and projects using modern JavaScript or TypeScript tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/javascript-typescript
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 ProjAnvil/MindForge --skill javascript-typescript
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

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-typescript

README.md
[![agentmods](https://agentmods.dev/badge/skills/projanvil/mindforge/javascript-typescript/github.svg)](https://agentmods.dev/skills/projanvil/mindforge/javascript-typescript)
Your own site
<a href="https://agentmods.dev/skills/projanvil/mindforge/javascript-typescript"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/javascript-typescript/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-typescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/javascript-typescript"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/javascript-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,300 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 100% copy Near-identical to another mod 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.00085 $0.02300
Opus 5.5 $0.00034 $0.00920
Sonnet 5.5 $0.00017 $0.00460
Haiku 4.5 $0.00009 $0.00230

Measured 16d ago against content hash 1568561258c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

javascript-typescript 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 16d 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.

Origin

This is a copy

100% identical to javascript-typescript — 373 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mindforge-en/skills/javascript-typescript/SKILL.md · 135 lines

How it starts

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

JavaScript & TypeScript — Language Skill

Language-first guidance: JS/TS syntax, the type system, concurrency, and idioms. Framework-specific code lives in references/ and is linked below; keep language answers framework-neutral.

Gotchas

Each trap is written as Symptom -> Why -> Fix. Scan these before writing any async or typed code.

1. any propagation

  • Symptom: One any (e.g. from untyped JSON) silently strips types from everything downstream; checks and autocomplete vanish.
  • Why: any opts out of checking and is contagious — it propagates through inference, assignments, and return types.
  • Fix: Type external data as unknown and narrow at the boundary; keep any out of public signatures.

2. as assertions vs narrowing

  • Symptom: const u = data as User compiles, then u.name throws because the runtime shape differs.
  • Why: as only silences the compiler — there is no runtime check. Narrowing (typeof, in, discriminant unions, type guards) actually proves the shape; satisfies validates literals without widening.
  • Fix: Replace assertions with a type guard or control-flow narrowing; reserve as for uncheckable cases such as as const.

3. Unhandled promise rejection

  • Symptom: An async failure is swallowed, or the process reports an opaque unhandled rejection with no useful stack.
  • Why: A rejected promise with no catch/try escapes; await outside try/catch rethrows into the caller chain.
  • Fix: Wrap await in try/catch, attach .catch(), or use Promise.allSettled; never leave a rejection unobserved.

4. Sequential await vs Promise.all

  • Symptom: Three independent async calls take the sum of their latencies instead of the maximum.
  • Why: Back-to-back or in-loop await serializes — the next promise is created only after the previous resolves.
  • Fix: Start them together and await Promise.all([...]); use allSettled when partial failures are acceptable.

5. Floating promises

  • Symptom: Fire-and-forget work sometimes never completes and its errors disappear without a log.
  • Why: Calling an async function without await, return, or .catch() detaches it from the caller's lifecycle.
  • Fix: await it, or explicitly void it with a .catch(); enable a no-floating-promises lint rule.

Read the full file on GitHub · 135 lines

Files

What ships with it

3 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.

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. 16d ago Changed · -197 lines · +16 tokens per session 1568561258c9
  2. 1mo ago Changed · +8 lines 0f6466e9f1fe
  3. 3mo ago First seen · 324 lines · 69 tokens per session scan A ece0addd9978

Subscribe to this mod's changes

javascript-typescript is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 85 tokens to every session and 2,300 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to javascript-typescript, differing in 373 lines, and is treated as a copy.

Related

javascript-typescript compared with skills from other repositories

javascript-typescript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
javascript-typescriptProjAnvil/MindForgeSkill39d agoMITA85Claude Code
bun-runtimeaffaan-m/ECCSkill314kyesterdayMITA34Claude Code, Codex
codebase-architecturemblode/agent-skillsSkill229yesterdayMITA70Claude Code, Codex
scaffold-climblode/agent-skillsSkill229yesterdayMITA52Claude Code, Codex
adding-a-commandcaliber-ai-org/ai-setupSkill1.3k2mo agoMITA76Claude Code, Codex
add-exportcyanheads/mcp-ts-coreSkill1544d agoApache-2.0A50Claude Code, Codex
typescript-patternssoftspark/ai-toolkitSkill18013d agoApache-2.0A42Claude Code