clean-typescript
Installation
SKILL.md
Clean TypeScript
We use TypeScript as a correctness and clarity tool, not as ceremony. Types should reduce bugs and cognitive load.
Type Philosophy
- PREFER explicit, readable types over clever or overly generic ones
- AVOID
anyand unsafe type assertions - Use
unknowninstead ofanywhen necessary - Let TypeScript infer types when inference is clear and stable
Types & Interfaces
- PREFER
typealiases for most use cases - Use
interfaceprimarily for public, extendable object shapes - Keep types small, composable, and well-named
Functions & APIs
Related skills
More from academind/claude-code-course-resources
bun-first
Describes efficient usage of Bun and Bun APIs instead of Node.js (and its APIs)
1modern-tailwind
Build clean, scalable UIs with Tailwind CSS using modern utilities and variants
1web-security
Enforce web security and avoid security vulnerabilities
1use-modern-browser-apis
Utilize built-in browser APIs (like Popover API, View Transitions etc) instead of building features manually via JavaScript
1modern-accessible-html-jsx
Write clean, modern, and highly accessible HTML & JSX code, using semantically correct elements and attributes
1modern-best-practice-nextjs
Build modern Next.js apps with App Router and best practices
1