meta-design-expressive-typescript

meta-design-expressive-typescript is a skill for Claude Code, Codex from agents-inc/skills. It costs 20 tokens per session (4,922 once invoked), scanned A, original, MIT.

A TypeScript code-structure guide based on small named functions, pure functions, and top-level functions that coordinate those pieces. Pure functions produce results without changing outside state.

In plain words
What is it for?
Use it when writing or refactoring TypeScript functions, orchestrators, data transformations, and reusable utilities.
Why use it?
It helps make non-trivial code easier to read by exposing its intent instead of hiding logic inside dense expressions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it when writing or refactoring TypeScript functions, orchestrators, data transformations, and reusable utilities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agents-inc/skills/meta-design-expressive-typescript
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 agents-inc/skills --skill meta-design-expressive-typescript
Clone the repo
git clone --depth 1 https://github.com/agents-inc/skills

Made for: Claude Code, Codex.

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 meta-design-expressive-typescript

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agents-inc/skills/meta-design-expressive-typescript"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/meta-design-expressive-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,922 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 pass 7 Sept 2026
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.00020 $0.04922
Opus 5 $0.00010 $0.02461
Sonnet 5 $0.00004 $0.00984
Haiku 4.5 $0.00002 $0.00492

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

Security

Grade A, and why

meta-design-expressive-typescript 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.

src/skills/meta-design-expressive-typescript/SKILL.md · 562 lines

How it starts

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

Expressive TypeScript

Quick Guide: Write code that communicates its intent without requiring the reader to mentally simulate any of its parts. Apply the two-tier pattern: orchestrators at the top that read like pseudocode, pure functions at the bottom that each do one thing. Extract until the code reads like prose. Use utility libraries only when they genuinely improve readability over plain JS.


<critical_requirements>

CRITICAL: Before Using This Skill

All code must follow project conventions in CLAUDE.md (kebab-case, named exports, import ordering, import type, named constants)

(You MUST structure every non-trivial function as a two-tier orchestrator: guard clauses at the top, named function calls in the middle, assembly at the bottom -- NO inline data transformations in orchestrators)

(You MUST extract any expression that requires mental simulation to understand into a named function or named constant)

(You MUST name functions for WHAT they do, not HOW they do it -- isContentAddition(line) not checkLineStartsWithPlusButNotTriplePlus(line))

(You MUST read the existing code before refactoring -- understand the current structure, then improve it)

(You MUST prefer plain JS methods (.map(), .filter(), .reduce()) over utility libraries when they already read clearly)

</critical_requirements>


Auto-detection: orchestrator pattern, two-tier function, extract function, named predicate, named constant, readability refactor, expressive code, function decomposition, pure function extraction, readable TypeScript, guard clause, early return, flatten conditionals, discriminated union, exhaustive switch, as const satisfies, async orchestrator

When to use:

  • Writing any function that mixes validation, transformation, and assembly logic
  • Refactoring a function where you need to mentally simulate steps to understand the flow
  • Naming predicates, constants, or transforms to communicate intent
  • Deciding whether to use a utility library function or plain JS
  • Decomposing a large function into orchestrator + pure helpers
  • Reviewing code and finding blocks that require mental simulation
  • Flattening deeply nested if/else blocks into guard clauses
  • Writing async functions that orchestrate multiple independent operations
  • Modeling state or events with discriminated unions for exhaustive handling

Read the full file on GitHub · 562 lines

Files

What ships with it

4 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. 6d ago First seen · 562 lines · 20 tokens per session scan A 74a75f89ad3d

Subscribe to this mod's changes

meta-design-expressive-typescript is a skill published in the GitHub repository agents-inc/skills (24 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 4,922 once invoked, about $0.0001 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

typescript-strict

Use this skill when writing or reviewing TypeScript code with strict mode in WrongStack. Triggers: user mentions "TypeScript", "strict", "type error", "type safety", "narrowing", "branded type", "discriminated union", "noUncheckedIndexedAccess".

WrongStack/WrongStack · 63 tokens

node-modern

Use this skill when writing, reviewing, or refactoring Node.js >= 22 TypeScript code in WrongStack. Triggers: ESM imports, fetch usage, AbortSignal, node: protocol, Web Streams, or any async patterns.

WrongStack/WrongStack · 52 tokens

date-threshold-arithmetic

Date comparisons at thresholds fail due to fractional days.

fabioc-aloha/Alex_Skill_Mall · 16 tokens

ts-debug

TypeScript/Node debugging expert. Use when the user needs to debug, profile, or trace TypeScript or Node.js code — e.g. "how do I debug this", "find the memory leak", "why is this slow", "add a breakpoint", "profile this function", "why won't the process exit".

berekvolgyipeter/dotclaude · 68 tokens

security-best-practices

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not…

foryourhealth111-pixel/Vibe-Skills · 73 tokens

typescript-style

Cross-harness AI skill portability CLI. Author an agent skill once, sync it into Claude Code, Cursor, Copilot, Codex, OpenCode & 45+ AI coding agents. Safety scanner, content-hash drift detection. A package manager / dotfiles for AI coding agent skills.

itaywol/adeptability · 0 tokens