Architecture
System architecture and design patterns. Modular design, interface stability, dependency management, AI-code health nexus. Triggers: architecture, design, structure, modules, dependencies, coupling, system design.From its SKILL.md
npx -y skills add ariaxhan/kernel-claude --skill architectureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
<core_principles>
- FOLLOW EXISTING PATTERNS: Don't introduce new patterns without justification.
- INTERFACE STABILITY: Changing interfaces breaks everything. Stabilize them first.
- MODULAR BOUNDARIES: Clear separation. Each module has one reason to change.
- DEPENDENCY DIRECTION: Depend on abstractions, not concretions. Core doesn't know about edges.
- SMALLEST CHANGE: Prefer minimal changes that achieve the goal. </core_principles>
<ai_code_health_nexus> From research: 30%+ defect risk when AI applied to unhealthy code. AI amplifies existing patterns. If code is messy, AI makes it messier. Before adding AI to a codebase:
- Identify health score (coupling, complexity, test coverage)
- Fix critical health issues first
- Establish clear interfaces
- Then apply AI within those boundaries </ai_code_health_nexus>
<design_heuristics>
- If you can't explain it simply, the design is too complex
- Three concrete examples before abstraction
- Composition over inheritance
- Make illegal states unrepresentable
- Parse, don't validate </design_heuristics>
<anti_patterns>
- Premature abstraction (abstract before 3 concrete uses)
- Leaky abstractions (implementation details bleeding through)
- Circular dependencies
- God objects (one class doing everything)
- Feature envy (methods that use another class more than their own) </anti_patterns>
<on_complete> agentdb write-end '{"skill":"architecture","decision":"X","coupling_reduced":true,"adr":"path|none"}' </on_complete>
</skill>