What problem does it solve?
This Skill provides a structured, safety-first approach to writing and reviewing TypeScript and JavaScript code. It codifies patterns to improve type safety, prevent common anti-patterns, and reduce runtime bugs through explicit return values, controlled mutation, and defensive programming.
Core Features & Use Cases
- Progressive disclosure with AGENTS.md and references: one-line summaries and load-on-demand rule details.
- TypeScript best practices: avoid any and enums, prefer type aliases, and use safe typing patterns.
- Safety and reliability: input validation guidelines, explicit error handling, bounded iteration, and clear error messages.
- Code quality and maintainability: naming conventions, function design, return values, mutation control, and DRY principles.
- Use cases: code reviews, error reduction in AI-driven prompts, training agents, and automated code improvements.
Quick Start
Read SKILL.md, review AGENTS.md for quick overview, load specific reference files as needed, and apply correct patterns from references to your code.