coding-practices
This skill should be used when the user asks about "coding best practices", "code conventions", "code style", "how to write good code", "clean code", or asks for guidance on code quality and patterns. Scaffold skill - expand with your preferred practices.
When & Why to Use This Skill
This Claude skill provides a comprehensive framework for establishing and enforcing coding best practices, clean code standards, and architectural patterns. It serves as a customizable guide to improve software maintainability, readability, and overall code quality by standardizing naming conventions, error handling, and development workflows.
Use Cases
- Standardizing Code Quality: Defining consistent naming conventions and function design patterns across a codebase to ensure high readability and reduce technical debt.
- Architectural Organization: Establishing structured directory layouts and module patterns to create scalable and maintainable project architectures.
- Workflow Optimization: Implementing uniform Git conventions and documentation standards to streamline team collaboration and the code review process.
- Reliability Engineering: Providing templates for robust error handling and testing strategies to enhance application stability and performance.
| name | coding-practices |
|---|---|
| description | This skill should be used when the user asks about "coding best practices", "code conventions", "code style", "how to write good code", "clean code", or asks for guidance on code quality and patterns. Scaffold skill - expand with your preferred practices. |
| version | 0.1.0 |
Coding Practices
Scaffold skill for coding best practices and conventions. Expand this skill with your preferred patterns, style guides, and development workflows.
Structure
To build out this skill, add content covering:
Code Quality
- Naming conventions
- Function design
- Error handling patterns
- Testing approaches
Project Structure
- Directory organization
- Module patterns
- Configuration management
Workflow
- Git conventions
- Code review guidelines
- Documentation standards
References
Add detailed guides to references/:
references/style-guide.md- Language-specific style guidesreferences/patterns.md- Common design patternsreferences/testing.md- Testing strategies
Examples
Add working examples to examples/:
examples/good-function.py- Well-structured function exampleexamples/error-handling.js- Error handling patterns
Customization
Replace this scaffold content with your actual coding practices and preferences. Focus on patterns that:
- You use repeatedly
- Are non-obvious to a general LLM
- Are specific to your tech stack or organization
Keep SKILL.md lean (1,500-2,000 words) and move detailed content to references/.