What problem does it solve?
This Skill helps developers write high-quality, maintainable code by enforcing best practices and detecting common code smells. It reduces technical debt, improves collaboration, and ensures consistent code style across projects.
Core Features & Use Cases
- Nix & TypeScript Patterns: Enforces explicit imports, function size limits, early returns, and descriptive naming conventions for both Nix and TypeScript projects.
- Biome Enforcement: Integrates Biome for mandatory formatting and linting, automatically fixing style issues and ensuring consistent code presentation.
- Code Quality Detection: Provides commands to quickly identify common code smells such as magic numbers, flag arguments, and Law of Demeter violations, guiding targeted refactoring.
- Use Case: A developer needs to ensure a new feature adheres to strict clean code standards. They can apply this skill to review their pull request, automatically fixing formatting and highlighting areas for improvement, saving manual review time.
Quick Start
Apply clean code patterns to the 'src/utils/data.ts' file, focusing on function size and naming conventions.