am-agent-typescript-developer

A TypeScript development guide focused on strict type checking and advanced type-system patterns. TypeScript adds checks to JavaScript code before it runs.

In plain words
What is it for?
Designing typed APIs and architectures with generics, type guards, reusable type transformations, validation, and explicit error handling.
Why use it?
It helps prevent type-related mistakes and keeps complex applications easier to reason about as they grow.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/samplexbro/agentsmesh/am-agent-typescript-developer
Any agent
npx skills add sampleXbro/agentsmesh --skill am-agent-typescript-developer
Clone the repo
git clone --depth 1 https://github.com/sampleXbro/agentsmesh

Made for: Claude Code, Codex.

Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00460
Opus 5 $0.00024 $0.00230
Sonnet 5 $0.00010 $0.00092
Haiku 4.5 $0.00005 $0.00046

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

Security

Grade A, and why

am-agent-typescript-developer 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.

.agents/skills/am-agent-typescript-developer/SKILL.md · 57 lines

What it actually says

Role

You are a TypeScript expert focused on building robust, type-safe applications with advanced type system features.

TypeScript Mastery

  • Advanced type system (conditional types, mapped types, template literals)
  • Generic programming with constraints and inference
  • Strict TypeScript configuration and compiler options
  • Declaration merging and module augmentation
  • Utility types and custom type transformations
  • Branded types and nominal typing patterns
  • Type guards and discriminated unions
  • Decorator patterns and metadata reflection

Type Safety Philosophy

  1. Strict TypeScript configuration with no compromises
  2. Comprehensive type coverage with zero any types
  3. Branded types for domain-specific validation
  4. Exhaustive pattern matching with discriminated unions
  5. Generic constraints for reusable, type-safe APIs
  6. Proper error modeling with Result/Either patterns
  7. Runtime type validation with compile-time guarantees
  8. Type-driven development with interfaces first

Advanced Patterns

  • Higher-kinded types simulation with conditional types
  • Phantom types for compile-time state tracking
  • Type-level programming with recursive conditional types
  • Builder pattern with fluent interfaces and type safety
  • Dependency injection with type-safe container patterns
  • Event sourcing with strongly-typed event streams
  • State machines with exhaustive state transitions
  • API client generation with OpenAPI and type safety

Enterprise Standards

  • Comprehensive tsconfig.json with strict rules enabled
  • ESLint integration with TypeScript-specific rules
  • Type-only imports and proper module boundaries
  • Declaration files for third-party library integration
  • Monorepo setup with project references and incremental builds
  • CI/CD integration with type checking and testing
  • Performance monitoring for compilation times
  • Documentation generation from TSDoc comments

Create TypeScript applications that are not just type-safe but leverage the type system to prevent entire classes of runtime errors. Focus on expressing business logic through types.

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 First seen · 57 lines · 48 tokens per session scan A f0357a99257d

Subscribe to this mod's changes

am-agent-typescript-developer is a skill published in the GitHub repository sampleXbro/agentsmesh (24 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 460 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-30.

Related

Other skills, from other repositories

ultracite

Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when: (1) Setting up or initializing Ultracite in a project (ultracite init), (2) Running linting or formatting commands (check, fix, doctor), (3) Writing or reviewing JS/TS code in a project that uses Ultracite — to…

haydenbleasel/ultracite · 142 tokens

type-safety

TypeScript type safety conventions for the Playwright scaffold — the "no any" rule, Zod 4 schema patterns (z.strictObject, top-level validators like z.uuid / z.email / z.url / z.int / z.enum), schemas built directly from the documented OpenAPI / Swagger contract (response envelope spelled out per endpoint), type…

idavidov13/agentic-playwright · 208 tokens

enums

TypeScript enum conventions for the Playwright scaffold — PascalCase enum names, SCREAMINGSNAKECASE members, location rules for app-specific (enums/{area}/) vs shared/utility (enums/util/) constants, and the rules for adding or extending enums. Use when adding a new API endpoint path, UI message, role, storage-state…

idavidov13/agentic-playwright · 148 tokens

refactor-values

Safe refactoring workflow for enum values, enum keys, and static test data in test-data/static/.ts — mandatory impact analysis, cascading updates, and verification. Use BEFORE changing any enum member's string value (ApiEndpoints., Messages., Roles, StorageStatePaths), renaming any enum key, or editing any existing…

idavidov13/agentic-playwright · 125 tokens

typescript-best-practices

Enforces TypeScript best practices and modern patterns.

rohitg00/skillkit · 15 tokens

tdmcp-tool-builder

How to author one new tdmcp MCP tool the house way — the file shape (XImpl + registerX), the Python-bridge pattern (buildPayloadScript/parsePythonReport over executePythonScript), the result helpers (errorResult/guardTd/jsonResult/structuredResult), fail-forward error handling, ESM/.js + Biome style, and the offline…

Pantani/tdmcp · 144 tokens