lang-typescript

lang-typescript is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 47 tokens per session (700 once invoked), scanned A, original, MIT.

A working guide for building and checking TypeScript and JavaScript programs. TypeScript adds type information to JavaScript; the guide covers Node.js tools, project layout, linting, type checks, tests, and coverage.

In plain words
What is it for?
It helps run linting, type checks, Jest or Vitest tests, coverage reports, dependency installation, and preflight checks.
Why use it?
It gives projects consistent commands and standards for development and continuous integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit It helps run linting, type checks, Jest or Vitest tests, coverage reports, dependency installation, and preflight checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/lang-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 paruff/uFawkesAI --skill lang-typescript
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/paruff/ufawkesai/lang-typescript.svg)](https://agentmods.dev/skills/paruff/ufawkesai/lang-typescript)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/lang-typescript"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/lang-typescript.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 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 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.00047 $0.00700
Opus 5 $0.00023 $0.00350
Sonnet 5 $0.00009 $0.00140
Haiku 4.5 $0.00005 $0.00070

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

Security

Grade A, and why

lang-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 4d 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.

.agents/skills/lang-typescript/SKILL.md · 81 lines

How it starts

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

Skill: Language — TypeScript

Load trigger: "load lang-typescript skill" > Stack: TypeScript, Node.js, ESLint, tsc, Jest/Vitest, npm Token cost: Low

Toolchain Reference

Gate Tool Command Config file
Lint ESLint npm run lint .eslintrc.js or eslint.config.js
Typecheck tsc npm run typecheck tsconfig.json
Test Jest or Vitest npm run test jest.config.ts or vitest.config.ts
Coverage Jest --coverage npm run test:coverage jest.config.ts
Preflight custom npm run preflight scripts/preflight.sh

File Layout Convention

src/
  types/index.ts        ← all shared types and interfaces
  services/             ← business logic, no UI dependencies
  utils/                ← pure functions, no side effects
  screens/ or pages/    ← UI layer only
tests/
  services/             ← mirrors src/services/
  utils/                ← mirrors src/utils/

CI Gate Commands (ci-quality.yml)

- name: Lint
  run: npm ci && npm run lint

- name: Typecheck
  run: npm run typecheck

- name: Test with coverage
  run: npm run test:coverage
  env:
    CI: true

- name: Coverage threshold
  run: |
    COVERAGE=$(cat coverage/coverage-summary.json | jq '.total.lines.pct')
    if (( $(echo "$COVERAGE < 80" | bc -l) )); then
      echo "Coverage $COVERAGE% is below 80% threshold"
      exit 1
    fi

Type Standards

  • No any in service or utility functions
  • Catch blocks: catch (error: unknown) — narrow before use
  • All external API responses typed with Zod or explicit interface
  • No inline type definitions in function signatures — define in src/types/index.ts

OTEL SDK (for obs-agent)

Read the full file on GitHub · 81 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. 4d ago First seen · 81 lines · 47 tokens per session scan A 193b05eedd72

Subscribe to this mod's changes

lang-typescript is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 15d ago), licensed MIT. It adds 47 tokens to every session and 700 once invoked, about $0.0002 per session on Opus 5. 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-09-03.