typescript-expert

typescript-expert is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 83 tokens per session (3,013 once invoked), scanned A, original, MIT.

A guide to advanced TypeScript, a programming language that adds static type checking to JavaScript.

In plain words
What is it for?
It helps design generics, utility and branded types, type-safe API contracts, strict configurations, and reusable type helpers.
Why use it?
It helps prevent unclear or unsafe types and resolve difficult type errors in strict projects.

Skill for Claude CodeCodex

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

Good fit It helps design generics, utility and branded types, type-safe API contracts, strict configurations, and reusable type helpers.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/typescript-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/typescript-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,013 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.00083 $0.03013
Opus 5.5 $0.00033 $0.01205
Sonnet 5.5 $0.00017 $0.00603
Haiku 4.5 $0.00008 $0.00301

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

Security

Grade A, and why

typescript-expert 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 2d 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.

skills/typescript-expert/SKILL.md · 331 lines

How it starts

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

TypeScript Expert (TypeScript 5.8+ Edition)

English | Bahasa Indonesia


English

Orchestration & Integration

Connects and orchestrates with relevant domain skills like brainstorming, zero-to-prod-orchestrator, and session-memory-manager to ensure cohesive execution.

Description

Expert-level TypeScript development covering the advanced type system, strict mode enforcement, generic programming, utility types, branded types, and type-safe patterns for production applications. Targets TypeScript 5.8+ features including inferred type predicates, isolated declarations, NoInfer, using declarations, variadic tuple improvements, and const type parameters.

Trigger Conditions

  • Writing TypeScript with advanced generic constraints.
  • Enforcing strict type safety in existing codebases.
  • Designing type-safe API contracts (REST, tRPC, Zod schemas).
  • Implementing branded types for domain modeling.
  • Resolving complex type errors or any pollution.
  • Setting up tsconfig.json for strict projects.
  • Writing TypeScript utility types or type helpers.

TypeScript 5.x — Key Features

using Declarations (Explicit Resource Management, TS 5.2)
// Automatically calls [Symbol.dispose] on scope exit
function processFile(path: string) {
  using handle = openFile(path); // disposed when function exits
  handle.write('data');
}

// Async version with [Symbol.asyncDispose]
async function processDatabase() {
  await using conn = await getConnection();
  await conn.query('SELECT 1');
} // conn.close() called automatically
NoInfer<T> Utility Type (TS 5.4)
// Prevents unintended type widening in generic inference
function createState<T>(initial: T, fallback: NoInfer<T>): T {
  return initial ?? fallback;
}

// TS now errors if fallback type doesn't match initial
createState('hello', 42); // Error: Argument of type 'number' is not assignable to type 'string'

Read the full file on GitHub · 331 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. 2d ago Changed f9d907e7e5f1
  2. 11d ago Changed b910806e4b12
  3. 16d ago Changed 98259cc28eaf
  4. 17d ago Changed 67d61da075e1
  5. 19d ago Changed · -6 lines · +73 tokens per session d804c71e8288
  6. 21d ago Changed · +6 lines · -73 tokens per session 1417169b8cea
  7. 1mo ago Changed 73201d4dc4c6
  8. 1mo ago Changed 62b045d4d082
  9. 1mo ago First seen · 331 lines · 83 tokens per session scan A e672e5c5157d

Subscribe to this mod's changes

typescript-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (95 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 3,013 once invoked, about $0.0003 per session on Opus 5.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.