skills/clean-typescript/SKILL.md
Write clean, efficient TypeScript code that follows common best practices
npx skillsauth add academind/ai-config clean-typescriptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
We use TypeScript as a correctness and clarity tool, not as ceremony. Types should reduce bugs and cognitive load.
any and unsafe type assertionsunknown instead of any when necessarytype aliases for most use casesinterface primarily for public, extendable object shapesnull and undefined explicitly!) except as a last resortenumas const objectsdevelopment
Enforce web security and avoid security vulnerabilities
development
Build clean, scalable UIs with Tailwind CSS using modern utilities and variants
development
Utilize built-in browser APIs (like Popover API, View Transitions etc) instead of building features manually via JavaScript
development
Build clean, modern React components that apply common best practices and avoid common pitfalls like unnecessary state management or useEffect usage