clean-code
CommunityAutomate code quality, reduce tech debt.
Authoraitchwhy
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: clean-code Download link: https://github.com/aitchwhy/dotfiles/archive/main.zip#clean-code Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.