role-typescript-engineer

role-typescript-engineer is a skill for Claude Code from saemihemma/lead-producer-oss. It costs 46 tokens per session (723 once invoked), scanned A, original, MIT.

A code-review guide for TypeScript and JavaScript, languages commonly used for web browsers and server programs. It checks typing, asynchronous code, imports, compiler settings, linting, and tests.

In plain words
What is it for?
Reviewing or writing TypeScript or JavaScript code, checking strict compiler settings, assessing generic types, and evaluating Vitest or Jest tests.
Why use it?
It helps find unsafe types, missed errors in tasks that run later, unclear module boundaries, and weak test practices before they cause bugs.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Reviewing or writing TypeScript or JavaScript code, checking strict compiler settings, assessing generic types, and evaluating Vitest or Jest tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saemihemma/lead-producer-oss/role-typescript-engineer
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 saemihemma/lead-producer-oss --skill role-typescript-engineer
Clone the repo
git clone --depth 1 https://github.com/saemihemma/lead-producer-oss

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/saemihemma/lead-producer-oss/role-typescript-engineer/github.svg)](https://agentmods.dev/skills/saemihemma/lead-producer-oss/role-typescript-engineer)
Your own site
<a href="https://agentmods.dev/skills/saemihemma/lead-producer-oss/role-typescript-engineer"><img src="https://agentmods.dev/badge/skills/saemihemma/lead-producer-oss/role-typescript-engineer/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 role-typescript-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/saemihemma/lead-producer-oss/role-typescript-engineer"><img src="https://agentmods.dev/badge/skills/saemihemma/lead-producer-oss/role-typescript-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 723 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.00046 $0.00723
Opus 5 $0.00023 $0.00362
Sonnet 5 $0.00009 $0.00145
Haiku 4.5 $0.00005 $0.00072

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

Security

Grade A, and why

role-typescript-engineer 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 9d 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.

.claude/skills/role-typescript-engineer/SKILL.md · 61 lines

How it starts

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

TypeScript Engineer

Use When

  • Reviewing or writing TypeScript or JavaScript (Node or browser)
  • Assessing type safety, generics/inference quality, or async patterns
  • Evaluating tsconfig strictness, module boundaries, or dependency surface

Do NOT Use When

  • Problem is architecture-level, not language-level (use role-software-architect)
  • Component structure, state management, or rendering performance (use role-frontend-engineer) — you own the language, not the frontend architecture
  • shadcn/ui component selection and theming (use workflow-shadcn-ui)
  • Server-side system design, caching, or failure handling (use role-backend-engineer)

What You Own

  • tsconfig strictness: strict, noUncheckedIndexedAccess, no implicit any
  • Type design: discriminated unions, branded types, unknown over any, narrowing over assertion
  • Async correctness: floating promises, error propagation, cancellation
  • Module boundaries: explicit public surface, import hygiene, circular-dependency smells
  • Tooling enforcement (eslint/typescript-eslint, prettier or biome) and test discipline

Working Method

  1. Check tsconfig strictness and lint configuration; weak compiler settings are findings.
  2. Audit type design: any/as escapes, unsafe casts, types that describe shape but not intent.
  3. Inspect async flow: unawaited promises, missing rejection handling, race-prone patterns.
  4. Review module boundaries and exports; flag barrel files that hide coupling.
  5. Check test quality and coverage of type-sensitive paths.
  6. Produce verdict with highest-risk issues first.

Key Idioms

  • unknown + narrowing instead of any; as casts are findings unless justified at a boundary
  • Discriminated unions for state ({ status: "ok"; data } | { status: "error"; error })
  • satisfies for config objects; as const for literal preservation
  • Validate external data at the boundary (zod or equivalent); trust types only inside it
  • readonly and immutable updates for shared data
  • ESM with explicit exports; no default-export grab bags

Read the full file on GitHub · 61 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. 9d ago First seen · 61 lines · 46 tokens per session scan A aba7c2e80dbb

Subscribe to this mod's changes

role-typescript-engineer is a skill published in the GitHub repository saemihemma/lead-producer-oss (2 stars, last pushed 5d ago), licensed MIT. It adds 46 tokens to every session and 723 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-08-31.

Related

Other skills, from other repositories

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

hashgraph-online/awesome-codex-plugins · 28 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.

loulanyue/awesome-claude-notes · 34 tokens

typescript-style-guide

Apply, review, and explain the opinionated conventions in the TypeScript Style Guide. Use automatically only when TypeScript conventions are part of the requested task, including type modelling, discriminated unions, function APIs, variables and state, naming, source organization, React props, component APIs, state…

mkosir/typescript-style-guide · 79 tokens

architecture-audit

Systematic architecture audit and refactoring methodology for Rust + TypeScript codebases. Use when performing refactoring, cleanup, unification, code review, dead code removal, module reorganization, or tech debt elimination. Ensures no naming confusion, semantic overloading, hidden defaults, duplicate logic, or…

org2AI/ORG2 · 70 tokens

stale-comments-audit

Audit and fix JavaScript, TypeScript, and Go comments that are verified as stale, orphaned, misleading, or redundant.

PaulRBerg/agent-skills · 32 tokens