Skip to main content
skill CX Codex

typescript-development — Claude Code skill

typescript-development — a skill that enforces strict TypeScript conventions in Claude Code, applying type safety rules and best practices automatically for TypeScript and JavaScript projects.

Apache-2.0 ★ 173 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add sammcj/agentic-coding --skill typescript-development -a claude-code
Open on GitHub

What typescript-development does

This skill defines TypeScript development standards: strict mode enforced, const by default, async/await over promise chains. It discourages any in favour of unknown, prefers discriminated unions over enums, and mandates readonly for immutable data alongside optional chaining and nullish coalescing operators.

It also prevents hardcoded styles—all visual settings must come from theme or configuration files. Activate the skill explicitly when starting work on a TypeScript or JavaScript codebase to ensure the IDE follows these conventions throughout development.

What it helps with

  • enforce strict mode across TypeScript codebase
  • eliminate any types with type-safe alternatives
  • apply immutability patterns using readonly
  • centralize styles in configuration instead of hardcoding

Example prompts for the agent

  • Activate typescript-development skill for my project
  • Review this code against typescript-development: check for any types and hardcoded styles
  • Refactor promise chains to async/await following typescript-development rules

How to install typescript-development

1Skills CLI (Vercel)

npx skills add sammcj/agentic-coding --skill typescript-development -a claude-code

2Manually: put the files in place

~/.claude/skills/typescript-development/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/typescript-development/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about typescript-development

How do I install typescript-development in Claude Code?

Run npx skills add sammcj/agentic-coding --skill typescript-development -a claude-code. The skill configuration will then be available at ~/.claude/skills/typescript-development/SKILL.md.

What does typescript-development do?

It establishes coding standards for TypeScript and JavaScript: strict mode, prohibition of any, use of readonly and optional chaining, and styles managed through configuration rather than hardcoded values.

Do I need to activate this skill manually each time?

Yes, activate it explicitly when beginning work on a TypeScript or JavaScript project so your IDE applies these rules consistently.

Source text

SKILL.md · Apache-2.0
---
name: typescript-development
description: You MUST activate this skill when working on TypeScript or JavaScript projects
---

# TypeScript

- Prefer TypeScript over JavaScript. Strict mode always
- Avoid `any` (use `unknown`), prefer discriminated unions over enums, `readonly` for immutables
- Const by default, async/await over promise chains, optional chaining and nullish coalescing
- Never hardcode styles - use theme/config

© sammcj · Apache-2.0 · sammcj/agentic-coding

Similar skills

All skills for Programming languages →

From the same set73

The whole set →
critical-thinking-logical-reasoning critical-thinking-logical-reasoning is a Claude Code skill that examines arguments in articles, reports and transcripts. It runs after an explicit request for critique. CX Codex +1 2,500installs writing-documentation-with-diataxis writing-documentation-with-diataxis — a skill that sorts technical documentation into the four Diataxis types and helps you write or review each one. CX Codex +1 648installs creating-development-plans The creating-development-plans skill drafts a phased development plan with task breakdowns, requirements, and QA checklists. It helps set clear checkpoints before writing code. CX Codex +1 338installs rust-development rust-development instructs Claude Code to follow Rust best practices by organizing crates into workspaces, trimming public generics, and cutting build times. CX Codex +1 ★ 173repo stars python-development The python-development skill sets Python coding rules for Claude Code, covering environments, typing, paths, and script dependencies. Use it on Python projects. CX Codex +1 ★ 173repo stars deeper Rewrites your prompt so the task gets deeper rather than longer. It adds the methods a specialist would use and a way to check the result. CX Codex +1 ★ 173repo stars golang-development golang-development configures build flags, modernize checks, and idiomatic Go practices in Claude Code. Helpful when writing services or tests in Go. CX Codex +1 ★ 173repo stars edit-article edit-article restructures draft articles around heading dependencies and rewrites each section into short paragraphs under 240 characters. CX Codex +1 ★ 173repo stars

Project sponsors

Companies that keep this analytics open