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
npx skills add sammcj/agentic-coding --skill typescript-development -a claude-codeWhat 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
anytypes 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
anytypes 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-code2Manually: put the files in place
~/.claude/skills/typescript-development/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/typescript-development/
1Skills CLI (Vercel)
npx skills add sammcj/agentic-coding --skill typescript-development -a codex2Manually: put the files in place
.agents/skills/typescript-development/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add sammcj/agentic-coding --skill typescript-development -a cursor2Manually: put the files in place
.cursor/skills/typescript-development/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install sammcj/agentic-coding Skills/typescript-development/SKILL.md2Manually: put the files in place
.github/skills/typescript-development/SKILL.md1Skills CLI (Vercel)
npx skills add sammcj/agentic-coding --skill typescript-development -a gemini-cli2Platform CLI
gemini skills install https://github.com/sammcj/agentic-coding --path Skills/typescript-developmentManually: put the files in place
.devin/skills/typescript-development/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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