just-works: Skill for Claude Code

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

typescript-coding is a skill for Claude Code from Dynokostya/just-works. It costs 56 tokens per session (1,196 once invoked), scanned A, original, Apache-2.0.

A set of rules for writing and editing TypeScript, a programming language that adds type checks to JavaScript. It covers type safety, error handling, asynchronous code, modules, and security defaults.

In plain words
What is it for?
Use it when creating or changing TypeScript or TSX files, while following the project's existing conventions.
Why use it?
It prevents common TypeScript mistakes, such as hiding type errors or trusting unchecked data from outside the program.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Dynokostya/just-works's own configuration. It tells Claude Code how to work on just-works 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 just-works configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dynokostya/just-works. 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/Dynokostya/just-works/main/.claude/skills/typescript-coding/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Dynokostya/just-works

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dynokostya/just-works/typescript-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/typescript-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,196 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.00056 $0.01196
Opus 5.5 $0.00022 $0.00478
Sonnet 5.5 $0.00011 $0.00239
Haiku 4.5 $0.00006 $0.00120

Measured 17d ago against content hash 87e50a324e65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

typescript-coding 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 17d 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-coding/SKILL.md · 71 lines

How it starts

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

TypeScript Coding

Project conventions override these defaults. Read 2-3 nearby files, tsconfig.json (strict, target, module, moduleResolution), and package.json (runtime, dependency versions) before writing.

Never rules

  • Never use any. Use unknown and narrow with type guards, or generics with constraints.
  • Never use @ts-ignore. Use @ts-expect-error with a reason; it fails the build once the error disappears.
  • Never use as on external data (API responses, JSON.parse, storage, env, form data). It performs no runtime check. Validate at the boundary with Zod safeParse or an equivalent.
  • Never use ! without proof. Prefer ??, ?., or an explicit if.
  • Never leave a Promise floating. await it, chain .catch(), or void it with an error handler.
  • Never mutate parameters or shared objects. Copy (structuredClone, spread) before changing; destructure to omit properties instead of using delete.
  • Never use export * in barrel files. Names collide silently and go-to-definition lands on the barrel. Use explicit named re-exports, one barrel level at most, at package boundaries.
  • Never import types without type. Use import type or inline type qualifiers, and verbatimModuleSyntax where the project can enable it.
  • Prefer as const objects with a derived union over enum. Enums emit runtime code, numeric enums accept arbitrary numbers, and enums fail under erasableSyntaxOnly and Node's type stripping. Keep enum where the project already uses it.
  • Never leave a switch over a union without an exhaustiveness check. End with default: { const _exhaustive: never = value; }.
  • Treat items[0] as possibly undefined. Without noUncheckedIndexedAccess, TypeScript types it as T. Narrow before use, and suggest the flag in new projects; do not change an existing project's tsconfig.json unprompted.

Error handling

Use throw for programmer mistakes and internal code. Use a Result discriminated union for expected domain failures and public API boundaries, so the caller must handle them. When wrapping an error, pass { cause: error } (new Error(msg, { cause: error }), or a custom error class with a machine-readable code) to keep the original stack. catch (error) is unknown: narrow with instanceof before reading properties.

Read the full file on GitHub · 71 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. 17d ago Changed · -342 lines · -7 tokens per session 87e50a324e65
  2. 2mo ago First seen · 413 lines · 63 tokens per session scan A 9f7b7540e23e

Subscribe to this mod's changes

typescript-coding is a skill published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,196 once invoked, about $0.0002 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-09-04.

Related

typescript-coding compared with skills from other repositories

typescript-coding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
typescript-codingDynokostya/just-worksSkill1410d agoApache-2.0A56Claude Code
no-bare-castsprisma/ormSkill48kyesterdayApache-2.0A52Claude Code, Codex
aws-sst-developmentsickn33/agentic-awesome-skillsSkill49kyesterdayMITA26Claude Code
league-akari-shard-developmentLeagueAkari/LeagueAkariSkill4.7k5d agoMITA58Claude Code, Codex
dd-code-generationDataDog/pupSkill1.0kyesterdayApache-2.0A16Claude Code
fast-typescript-checkinternet-development/www-sacredSkill1.6k2d agoMITA84Claude Code, Codex
typescript-magicianmcollina/skillsSkill2.0k10d agoMITA108Claude Code, Codex