typescript-architect

typescript-architect is a skill for Claude Code from DmitriyYukhanov/claude-plugins. It costs 33 tokens per session (819 once invoked), scanned A, original, MIT.

A guide for planning TypeScript and JavaScript systems through interfaces, module structure, test stubs, and Mermaid diagrams. TypeScript is JavaScript with optional type checking, and interfaces describe the shape of data or code contracts.

In plain words
What is it for?
Use it to design TypeScript or JavaScript features, define contracts, organise modules, create Jest or Vitest test stubs, and map component or data flows.
Why use it?
It helps establish clear boundaries and testable designs before implementation, reducing uncertainty in larger projects.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the typescript-dev plugin — 3 skills, 1 command, 1 agent shipped together

Good fit Use it to design TypeScript or JavaScript features, define contracts, organise modules…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmitriyyukhanov/claude-plugins/typescript-architect
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 DmitriyYukhanov/claude-plugins --skill typescript-architect
Clone the repo
git clone --depth 1 https://github.com/DmitriyYukhanov/claude-plugins

Made for: Claude Code.

Or install typescript-dev, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmitriyyukhanov/claude-plugins/typescript-architect.svg)](https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/typescript-architect)
Your own site
<a href="https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/typescript-architect"><img src="https://agentmods.dev/badge/skills/dmitriyyukhanov/claude-plugins/typescript-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 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.00033 $0.00819
Opus 5 $0.00016 $0.00409
Sonnet 5 $0.00007 $0.00164
Haiku 4.5 $0.00003 $0.00082

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

Security

Grade A, and why

typescript-architect 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 6d 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.

plugins/typescript-dev/skills/typescript-architect/SKILL.md · 124 lines

How it starts

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

TypeScript Architect Skill

You are a senior TypeScript architect designing robust, testable systems.

Core Principles

  • Respect project-local standards first (tsconfig, ESLint, Prettier, framework conventions)
  • Use TypeScript strictly (avoid any)
  • Define interfaces for all contracts
  • Prefer composition over inheritance
  • Design for testability
  • Generate test stubs before implementation

Architecture Outputs

  1. Interfaces: Type definitions for all contracts
  2. Test Stubs: Jest/Vitest test cases
  3. Module Structure: Clear separation of concerns
  4. Mermaid Diagrams: Component and data flow diagrams

TypeScript Guidelines

Type Declarations

  • Declare explicit types at module boundaries (public APIs, exported functions, DTOs, and complex return types)
  • Let local variable inference reduce noise when the type is obvious
  • Avoid any - define real types
  • Create necessary types in dedicated files
  • Use readonly for immutable data
  • Use as const for literals

Nomenclature

  • Classes: PascalCase
  • Variables, functions, methods: camelCase
  • Files and directories: kebab-case
  • Environment variables: UPPERCASE
  • Constants: Follow project convention (default to UPPER_SNAKE_CASE for module-level constants)
  • Boolean variables: Start with verbs (isLoading, hasError, canDelete)

Functions

  • Prefer small single-purpose functions; split when a function mixes concerns
  • Name with verb + noun (processData, validateInput)
  • Boolean returns: isX, hasX, canX
  • Void returns: executeX, saveX
  • Avoid nesting - use early returns
  • Use arrow functions for simple functions (<3 lines)
  • Use default parameter values

Data

  • Avoid primitive type abuse - use composite types
  • Prefer immutability
  • Validate untrusted external input at runtime (API payloads, env vars, storage records) before casting to domain types

Classes

  • Follow SOLID principles
  • Small classes (<200 lines, <10 public methods, <10 properties)
  • Declare interfaces for contracts
  • One export per file

Read the full file on GitHub · 124 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. 6d ago First seen · 124 lines · 33 tokens per session scan A 37fb841dc114

Subscribe to this mod's changes

typescript-architect is a skill published in the GitHub repository DmitriyYukhanov/claude-plugins (7 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 819 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

writing-typescript

Idiomatic TypeScript development. Use when writing TypeScript code, Node.js services, React apps, or TypeScript design advice. Emphasizes strict typing, boundary validation, composition, fast feedback, behavior tests, and project-configured tooling. NOT for Go, Python, Rust, plain HTML/CSS/JS, or server-rendered…

alexei-led/cc-thingz · 78 tokens

senior-frontend

Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.

composio-community/awesome-claude-plugins · 52 tokens

standards-typescript

This skill provides TypeScript coding standards and is automatically loaded for TypeScript projects. It includes naming conventions, best practices, and recommended tooling.

b33eep/claude-code-setup · 33 tokens

clean-code-ts

Use when writing or reviewing TypeScript — deeper idioms (eliminate any, discriminated unions, narrowing, exhaustiveness, schema-derived types, async correctness).

CassetteTapeCrackle/claude-starters · 36 tokens

typescript-conventions

Idiomatic, type-safe TypeScript. Use when writing or reviewing TypeScript.

Cypsy1714/cchad · 20 tokens

node-backend

Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.

shahtuyakov/claude-setup · 55 tokens