What problem does it solve?
Forgiving code, inconsistent naming, and poor file management lead to brittle, unmaintainable, and confusing codebases that are prone to bugs and difficult to collaborate on. This Skill ensures every code change meets high standards.
Core Features & Use Cases
- Strict Code Design: Advocates against forgiving code (e.g., union types), promoting preconditions, schema validation, and immediate error throwing instead of defensive
try/catch blocks.
- Clear Naming Conventions: Enforces full, descriptive names (e.g.,
number instead of num) to enhance code readability.
- Efficient File Management: Prioritizes editing existing files over creating new ones and requires user confirmation for new Markdown files.
- Expressive Style: Encourages the use of emojis and unicode characters in comments, commit messages, and documentation headers for clarity and engagement.
- Use Case: Before making any code changes or reviewing a pull request, use this skill to automatically check and enforce adherence to strict code quality guidelines, preventing future bugs and improving overall code health.
Quick Start
Review the user-service.ts file for code quality issues, focusing on naming conventions and forgiving code.