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.
npx agentmods add skills/biggora/claude-plugins-registry/typescript-expertnpx skills add biggora/claude-plugins-registry --skill typescript-expertgit clone --depth 1 https://github.com/biggora/claude-plugins-registryWrote 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.
[](https://agentmods.dev/skills/biggora/claude-plugins-registry/typescript-expert)<a href="https://agentmods.dev/skills/biggora/claude-plugins-registry/typescript-expert"><img src="https://agentmods.dev/badge/skills/biggora/claude-plugins-registry/typescript-expert.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01217 |
| Opus 5 | $0.00030 | $0.00609 |
| Sonnet 5 | $0.00012 | $0.00243 |
| Haiku 4.5 | $0.00006 | $0.00122 |
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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Expert
Use the project's installed TypeScript version and runtime/toolchain constraints as the source of truth. This guidance was checked against TypeScript 7.0.2, the stable latest release on 2026-08-29. When “latest” matters, verify the current stable tag and official release notes instead of relying on this date.
Canonical sources:
- TypeScript Handbook
- TSConfig Reference
- Official TypeScript releases
- Official TypeScript release blog
Working Method
- Inspect
package.json, the lockfile, all applicabletsconfig*.jsonfiles andextendschains before recommending code or configuration. - Determine the actual compiler used by the failing command. Framework checkers such as
vue-tsc,svelte-check, Angular, Astro, and MDX tooling may embed or constrain a different TypeScript version. - Reproduce the diagnostic with the project's existing script and local dependency. Do not silently download or substitute the newest compiler.
- Fix the earliest root cause with the smallest runtime-preserving change. Re-run the same command; use a focused compile or type test only as additional evidence.
- Report the compiler version, command, result, and any remaining baseline or compatibility limitation.
When the user asks for an upgrade, read modern TypeScript releases before editing. TypeScript 7 is the current stable CLI/compiler, but it does not yet expose a stable programmatic API and is not a drop-in replacement for every tool that embeds TypeScript. Keep compatible tooling on TypeScript 6 where the official 7.0 guidance requires it.
Decision Rules
- Prefer inference for local values; annotate public boundaries when the annotation documents intent or catches implementation drift.
- Accept untrusted values as
unknown, validate or narrow them at runtime, and keep the validated type aligned with the runtime check. - Prefer discriminated unions for states, overloads for a small finite call surface, and generics only when they preserve a real relationship between inputs and outputs.
- Treat
as, non-null assertions,any,@ts-ignore, and broad ambient declarations as evidence to investigate. Use a narrow assertion only when an invariant is established outside the type system and explain that invariant. - Prefer
@ts-expect-errorover@ts-ignoreonly for an intentional, tested negative case or documented upstream limitation. Do not use either to make an ordinary type-check pass. - Do not change runtime behavior merely to satisfy a type unless the existing runtime behavior is itself the bug.
- Do not recommend compiler flags in isolation. Choose
module,moduleResolution,target,lib, emit settings, and file selection as one configuration for the actual runtime or bundler. - Preserve framework-generated options and project references. Do not replace an existing
tsconfigwith a generic template. - For libraries, validate declaration emit and consumer module resolution, not only the source project's
noEmitcheck. - For complex types, optimize for readable diagnostics and bounded compiler work; a simpler public type is often better than a perfectly computed one.
What ships with it
14 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.
- commands/typescript-fix.md 3.7 KB
- references/advanced-conditional-types.md 5.8 KB
- references/advanced-decorators.md 6.0 KB
- references/advanced-mapped-types.md 5.1 KB
- references/advanced-template-literals.md 5.6 KB
- references/advanced-type-guards.md 7.0 KB
- references/best-practices-patterns.md 7.7 KB
- references/best-practices-performance.md 6.1 KB
- references/best-practices-tsconfig.md 7.5 KB
- references/core-generics.md 6.1 KB
- references/core-interfaces-types.md 5.6 KB
- references/core-type-system.md 6.5 KB
- references/core-utility-types.md 6.6 KB
- references/modern-typescript-releases.md 9.0 KB
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.
- 5d ago First seen · 72 lines · 61 tokens per session scan A 85d8077d39c6
typescript-expert is a skill published in the GitHub repository biggora/claude-plugins-registry (2 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 1,217 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-08-31.
Other skills, from other repositories
lint-js
Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).
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.
aws-sst-development
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework. Use when writing or editing sst.config.ts, building infra/ modules (sst.aws.Function/Bucket/Dynamo/Cron/Service/Router, sst.Secret, sst.Linkable, raw aws. Pulumi resources), wiring resource links,...
league-akari-shard-development
Use when creating, extending, refactoring, splitting, or reviewing League Akari main or renderer shards, including shard file organization, controller/loader/executor/handler boundaries, naming conventions, renderer TSX usage, platform guards, and public contract compatibility.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
migrate-better-result-3
Migrate a TypeScript codebase from better-result 2.x to 3.0. Use when upgrading better-result across the TaggedError syntax, removed Result serialization helpers, recovery inference, matching, or retry APIs.