policy-general-coding
CommunityEnforce high-quality, maintainable code practices.
Software Engineering#documentation#code-quality#error-handling#coding-standards#software-engineering#solid-principles#dry-principles
Authorsimon-downes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This policy provides core principles and practices for writing maintainable, high-quality code across languages, helping teams avoid defects and inconsistencies.
Core Features & Use Cases
- SOLID: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion.
- DRY and YAGNI: avoid duplication where it harms clarity, resist over-generalization.
- KISS and simplicity: favor simple, clear designs that match problem complexity.
- Documentation and Type Safety: require docstrings, type hints, and clear APIs.
- Error Handling and Logging: robust, predictable error handling, structured logging.
- Security and Best Practices: validate inputs, avoid secrets in code, secure defaults.
- Code Organization: descriptive naming, modular structure, and consistent formatting.
Quick Start
Apply these standards to your codebase to improve readability, maintainability, and consistency.
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: policy-general-coding Download link: https://github.com/simon-downes/agent-workspace/archive/main.zip#policy-general-coding 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.