huba: Skill for Claude Code

.claude/skills/typescript-developer/SKILL.md

typescript-developer is a skill for Claude Code from sergeyzwezdin/huba. It costs 153 tokens per session (750 once invoked), scanned A, original, MIT.

A set of TypeScript coding guidelines for writing readable, maintainable and type-safe code. TypeScript is JavaScript with checks that help catch incorrect data and function usage before running the program.

In plain words
What is it for?
Use it when creating or changing TypeScript files, types, data models, validation schemas, functions, classes or utilities.
Why use it?
It gives consistent rules for types, validation, naming, documentation and code structure. This reduces ambiguity and makes future changes easier to review.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sergeyzwezdin/huba's own configuration. It tells Claude Code how to work on huba itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything huba configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sergeyzwezdin/huba. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sergeyzwezdin/huba/main/.claude/skills/typescript-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sergeyzwezdin/huba

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergeyzwezdin/huba/typescript-developer"><img src="https://agentmods.dev/badge/skills/sergeyzwezdin/huba/typescript-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 750 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.00153 $0.00750
Opus 5.5 $0.00061 $0.00300
Sonnet 5.5 $0.00031 $0.00150
Haiku 4.5 $0.00015 $0.00075

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

Security

Grade A, and why

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 2mo 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.

.claude/skills/typescript-developer/SKILL.md · 52 lines

How it starts

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

TypeScript Developer

Write clean, maintainable, type-safe TypeScript code following SOLID principles.

Core Principles

  • Readable & maintainable: Write straightforward, clean code that's easy to understand and modify
  • SOLID principles: Follow Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion
  • Strong typing: Explicit types for all variables, parameters, and return values. Never use any
  • Performance optimization: Use Promise.all() and other standard techniques for large datasets
  • Zod-first validation: Define schemas first, infer types using z.infer<typeof schema>
  • Documentation: Use JSDoc to document all public classes, functions, and methods
  • Named exports only: No default exports. Explicit imports improve discoverability
  • Arrow functions: Use arrow functions with explicit return types for all functions
  • Single responsibility: Functions <20 LOC, focused purpose, early returns
  • Prefer undefined: Return undefined for empty responses instead of null

Naming Conventions

  • Files/directories: kebab-case (user-service.ts, get-user.ts)
  • Classes: PascalCase (UserService, TaskManager)
  • Types/Interfaces: PascalCase (User, UserCardProps)
  • Functions/variables: camelCase (getUser, userId)
  • Booleans: verb prefix (isLoading, hasError, canDelete)
  • Constants: UPPERCASE for env (API_URL), camelCase for objects
  • Hooks: use prefix (useUser, useAuth)
  • Functions: start with verb (get*, create*, format*, validate*)

Reference Documentation

Read the relevant reference when working on specific tasks:

  • Types & interfaces: types.md — type-only imports, props types, RO-RO parameter pattern
  • Function patterns: functions.md — arrow functions, async patterns, React hooks with stable refs
  • Imports & exports: imports-exports.md — barrel exports, absolute paths, import organization
  • Validation & Zod: validation.md — schema-first definitions, safe parsing, enum schemas, deprecated methods
  • Error handling: error-handling.md — throw vs undefined, type guard filtering, context checks
  • JSDoc: jsdoc.md — documentation standards, TypeDoc tags, coverage requirements

Read the full file on GitHub · 52 lines

Files

What ships with it

6 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. 2mo ago First seen · 52 lines · 153 tokens per session scan A dd319e5b8515

Subscribe to this mod's changes

typescript-developer is a skill published in the GitHub repository sergeyzwezdin/huba (10 stars, last pushed 7mo ago), licensed MIT. It adds 153 tokens to every session and 750 once invoked, about $0.0006 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-08-31.