typescript-advanced

typescript-advanced is a skill for Claude Code from pantheon-org/tekhne. It costs 63 tokens per session (1,581 once invoked), scanned A, original, MIT.

A set of guidance for TypeScript, a programming language that adds type checking to JavaScript. It covers compiler settings, complex type definitions, runtime checks, and code documentation.

In plain words
What is it for?
It helps configure strict TypeScript projects, design generic and combined types, fix difficult type errors, validate data, and document APIs.
Why use it?
It helps prevent type errors and unsafe data handling while keeping large TypeScript codebases easier to understand and maintain.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps configure strict TypeScript projects, design generic and combined types, fix difficult type errors, validate data, and document APIs.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/typescript-advanced"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/typescript-advanced.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,581 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 warn 7 Sept 2026
SkillSpector: 7 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 93
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 94
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 96
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 104
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 110
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 97
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 116
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00063 $0.01581
Opus 5 $0.00032 $0.00790
Sonnet 5 $0.00013 $0.00316
Haiku 4.5 $0.00006 $0.00158

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

Security

Grade A, and why

typescript-advanced 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 8d 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/development/typescript-advanced/SKILL.md · 229 lines

How it starts

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

TypeScript Advanced

Comprehensive TypeScript guidance covering compiler configuration, advanced types, utilities, type narrowing, best practices, and documentation patterns.

When to Apply

Use this skill when:

  • Configuring TypeScript compiler (tsconfig.json)
  • Working with advanced type features (generics, conditionals, mapped types)
  • Creating custom utility types and type guards
  • Implementing type-first development workflow
  • Making illegal states unrepresentable with discriminated unions
  • Implementing runtime validation with Zod
  • Generating API documentation with JSDoc/TypeDoc
  • Creating architectural decision records (ADRs)
  • Debugging complex type errors
  • Optimizing type checking performance

Use When

  • "Help me do this with strict TypeScript."
  • "How should I model this union/generic type?"
  • "How do I avoid any and unsafe assertions?"
  • "How do I fix this TypeScript compile error safely?"

Scope

In Scope

  • tsconfig and strict-mode guidance.
  • Advanced type modeling (generics, conditionals, mapped types).
  • Runtime narrowing and type-safe validation patterns.
  • TypeScript documentation patterns (JSDoc/TypeDoc, ADRs).

Out of Scope

  • End-to-end testing setup.
  • Framework build pipeline setup unrelated to TypeScript design.
  • Language-agnostic coding standards.

Consolidation Note

This skill consolidates 5 original TypeScript skills (~3,372 lines) into a ~120-line navigation hub with on-demand reference loading:

  • typescript-type-system (738 lines) - Compiler config, strict mode, module resolution
  • typescript-utility-types (832 lines) - Built-in and custom utility types
  • typescript-advanced-types (724 lines) - Generics, conditional types, mapped types, patterns
  • typescript-best-practices (270 lines) - Type-first development, illegal states, Zod validation
  • typescript-docs (808 lines) - JSDoc, TypeDoc, ADRs, framework-specific documentation

Categories by Priority

Priority Category Impact Prefix
CRITICAL Compiler & Configuration Essential foundation compiler-
CRITICAL Best Practices & Patterns Type-first workflow practices-
HIGH Advanced Types Complex type logic types-advanced-
HIGH Built-in Utilities Common transformations utilities-builtin-
MEDIUM Custom Utilities Specialized types utilities-custom-
MEDIUM Type Narrowing Runtime type guards narrowing-
MEDIUM Documentation API docs & ADRs docs-

Read the full file on GitHub · 229 lines

Files

What ships with it

60 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. 8d ago First seen · 229 lines · 63 tokens per session scan A 91d3c2a15996

Subscribe to this mod's changes

typescript-advanced is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,581 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

developing-genkit-js

Develop AI-powered applications using Genkit in Node.js/TypeScript. Use when the user asks about Genkit, AI agents, flows, or tools in JavaScript/TypeScript, or when encountering Genkit errors, validation issues, type errors, or API problems.

google/skills · 60 tokens

adk

Use this skill when you've got questions about the Botpress Agent Development Kit (ADK) - like when you're building a feature that involves tables, actions, tools, workflows, conversations, files, knowledge bases, triggers, or Zai.

majiayu000/claude-skill-registry · 34 tokens

aws-lambda-typescript-integration

Provides AWS Lambda integration patterns for TypeScript with cold start optimization. Use when creating or deploying TypeScript Lambda functions, choosing between NestJS framework and raw TypeScript approaches, optimizing cold starts, configuring API Gateway or ALB integration, or implementing serverless TypeScript…

giuseppe-trisciuoglio/developer-kit · 95 tokens

aws-cdk

Provides AWS CDK TypeScript patterns for defining, validating, and deploying AWS infrastructure as code. Use when creating CDK apps, stacks, and reusable constructs, modeling serverless or VPC-based architectures, applying IAM and encryption defaults, or testing and reviewing cdk synth, cdk diff, and cdk deploy…

giuseppe-trisciuoglio/developer-kit · 110 tokens

typescript-security-review

Provides security review capability for TypeScript/Node.js applications, validates code against XSS, injection, CSRF, JWT/OAuth2 flaws, dependency CVEs, and secrets exposure. Use when performing security audits, before deployment, reviewing authentication/authorization implementations, or ensuring OWASP compliance for…

giuseppe-trisciuoglio/developer-kit · 90 tokens

antfu

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

antfu/skills · 52 tokens