code-priority
CommunityPrioritize design decisions for cleaner code.
Software Engineering#architecture#refactoring#prioritization#code-quality#state-management#coupling#design-decisions
Authoratusy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Guide design decisions using the State > Coupling > Complexity > Code priority framework. Use when evaluating tradeoffs, reviewing design choices, deciding between implementations, or when code volume seems prioritised over deeper concerns.
Core Features & Use Cases
- Priority Hierarchy: State > Coupling > Complexity > Code, with clear rationale for why each level matters.
- Core Principle: "It's okay to increase coupling if it makes your code more stateless."
- Decision Framework: A stepwise guide to compare options on state, coupling, complexity, and finally code volume.
- Practical Examples: Scenarios showing tradeoffs between maintaining state, reducing dependencies, and simplifying logic.
- Integration: Complementary with Tidy First, TDD, and targeted refactoring practices.
Quick Start
Apply the code optimization priority framework by sacrificing lower priorities to improve higher ones.
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: code-priority Download link: https://github.com/atusy/dotfiles/archive/main.zip#code-priority 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 223,000+ vetted skills library on demand.