applying-clean-code
General syntax and naming rules to keep the codebase maintainable. Use for all code generation.
Best use case
applying-clean-code is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
General syntax and naming rules to keep the codebase maintainable. Use for all code generation.
Teams using applying-clean-code should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/applying-clean-code/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How applying-clean-code Compares
| Feature / Agent | applying-clean-code | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
General syntax and naming rules to keep the codebase maintainable. Use for all code generation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Clean Code Principles ## When to use this skill - Naming variables, functions, and files. - Deciding on function size and complexity. ## Principles - **Self-Documenting Names**: `isBookingPending` > `status === 1`. - **DRY (Don't Repeat Yourself)**: If logic is duplicated, move it to a utility or hook. - **KISS (Keep It Simple, Stupid)**: Avoid over-engineering complex solutions for simple tasks. - **Constants**: Use `const` over `let`. Use uppercase constants for magic numbers/IDs: `const MAX_GUESTS = 20;`. ## Naming Conventions - **Components**: PascalCase (`TourCard.tsx`). - **Functions/Variables**: camelCase (`handleSubmit`). - **Interfaces**: PascalCase (`TourInfo`). - **Files**: kebab-case or PascalCase (stay consistent with project structure). ## Instructions - **Avoid Comments**: Write code so clear that comments are mostly unnecessary. Only comment the "why," not the "what."
Related Skills
architecture-clean-ddd
Clean Architecture + DDD + Hexagonal - Atoll Tourisme. Use when designing architecture or reviewing code structure.
applying-fsd-architecture
Feature-Sliced Design(FSD) 아키텍처를 적용한 프론트엔드 프로젝트 개발 지원. FSD 레이어, 슬라이스, 세그먼트 구조 설계, 의존성 규칙 적용, 마이그레이션 시 사용.
applying-frontend-patterns
Framework-agnostic frontend component design patterns.
ai-code-cleanup
Remove AI-generated code slop from branches. Use after AI-assisted coding sessions to clean up defensive bloat, unnecessary comments, type casts, and style inconsistencies. Focuses on identifying and removing AI artifacts that degrade code quality.
Advanced React Clean Integration
Integrate React with clean architecture without framework leakage using hooks as adapters and presenters. Use when connecting React to domain logic, designing hook-based DI, or isolating UI from business rules.
Advanced Clean Hexagonal Architecture
Apply Clean Architecture and Hexagonal (Ports & Adapters) patterns for domain isolation and testability. Use when designing system boundaries, creating ports/adapters, or structuring domain-driven applications.
acc-clean-arch-knowledge
Clean Architecture knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Clean Architecture and Hexagonal Architecture audits.
codebase-cleanup-refactor-clean
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its...
code-refactoring-refactor-clean
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its...
applying-brand-guidelines
This skill applies consistent corporate branding and styling to all generated documents including colors, fonts, layouts, and messaging
Data Cleaner
Use this skill when the user needs to analyze, clean, or prepare datasets. Helps with listing columns, detecting data types (text, categorical, ordinal, numeric), identifying data quality issues, and cleaning values that don't fit expected patterns. Invoke when users mention data cleaning, data quality, column analysis, type detection, or preparing datasets.
campaign-cleaner-automation
Automate Campaign Cleaner tasks via Rube MCP (Composio). Always search tools first for current schemas.