coding-guidelines
Provides comprehensive coding standards for quality, naming conventions, error handling, concurrency, and memory management. Use when writing new code, reviewing code, fixing bugs, or refactoring existing code.
When & Why to Use This Skill
This Claude skill provides a comprehensive framework for maintaining high-quality codebases through standardized naming conventions, robust error handling, and efficient memory management. It serves as an essential guide for developers to ensure consistency, performance, and maintainability across the entire software development lifecycle, from initial drafting to final code reviews.
Use Cases
- Standardizing New Code: Apply naming conventions and single-responsibility principles when writing new functions or classes to ensure long-term maintainability.
- Enhancing Code Reviews: Use the guidelines as a benchmark during peer reviews to identify gaps in error handling, safety, and performance standards.
- Refactoring Legacy Systems: Guide the systematic restructuring of existing codebases to improve concurrency, memory management, and overall code quality.
- Robust Bug Fixing: Ensure that patches and fixes follow established safety standards and comprehensive error-handling paths to prevent future regressions.
| name | coding-guidelines |
|---|---|
| description | Provides comprehensive coding standards for quality, naming conventions, error handling, concurrency, and memory management. Use when writing new code, reviewing code, fixing bugs, or refactoring existing code. |
Coding Guidelines Skill
When to Use
- Writing new functions or classes
- Code review requests
- Bug fixes requiring code changes
- Refactoring tasks
Reference Documents (Import Syntax)
Core Standards
@reference/general.md @reference/quality.md
Error & Safety
@reference/error-handling.md @reference/memory.md
Performance
@reference/concurrency.md @reference/performance.md
Core Principles
- Clear naming: Use names that reveal intent
- Single responsibility: One responsibility per function
- Comprehensive error handling: Handle all error paths
- Test coverage: Tests for critical paths