
Typescript Core
A solid baseline for modern TypeScript projects that leans hard into strict mode and runtime validation with Zod. The skill pushes you toward 2025 best practices like noUncheckedIndexedAccess and using unknown instead of any, which will catch real bugs but requires discipline. It's opinionated about config (strict mode, declaration files for libraries) and API patterns (Zod schemas at boundaries, satisfies for type narrowing). The graduated approach for existing projects is smart: start with strict false, progressively fix issues. If you're starting fresh or modernizing a TypeScript codebase and want guard rails that actually prevent runtime errors, this gives you a reasonable starting point without having to research every tsconfig flag yourself.
- skills.sh installs
- 487
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill typescript-core --agent claude-codeInstalls into .claude/skills of the current project.
Files
TypeScript Core Patterns
Modern TypeScript development patterns for type safety, runtime validation, and optimal configuration.
Quick Start
New Project: Use 2025 tsconfig → Enable strict + noUncheckedIndexedAccess → Choose Zod for validation
Existing Project: Enable strict: false initially → Fix any with unknown → Add noUncheckedIndexedAccess
API Development: Zod schemas at boundaries → z.infer<typeof Schema> for types → satisfies for routes
Library Development: Enable declaration: true → Use const type parameters → See advanced-patterns-2025.md
Quick Reference
tsconfig.json 2025 Baseline
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"skipLibCheck": true,
"declaration": true,
"declarationMap": true
}
}
Key Compiler Options
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Bug Fix482
- Supabase Backend Platform482
- Mypy478
- Threat Modeling474
- Wordpress Block Editor Fse474
- Celery470
- Web Performance Optimization469
- Local Llm Ops464
- Golang Testing Strategies458
- Wordpress Advanced Architecture455
- Golang Http Frameworks453
- Sveltekit452
- Digitalocean Management451
- Hono Rpc450
- Flask449
- Hono Middleware444
- Golang Cli Cobra Viper438
- Dependency Audit434
- Wordpress Plugin Fundamentals434
- Phoenix Liveview432
- Wordpress Testing Qa430
- Digitalocean Compute429
- Database Migration427
- Hono Testing422