Skip to content
davila7 avatar

Software Architecture

Quality-focused architecture guidance applying Clean Architecture and Domain-Driven Design to code and design decisions.

CCM score
54 of 100
skills.sh installs
535
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers code style rules, library-first decisions, architecture and naming conventions, and anti-patterns to avoid
  • Sets size limits: functions under 50 lines, files under 200 lines, and nesting no deeper than three levels
  • Enforces early returns, arrow functions, and domain-specific names over generic utils or helpers modules
  • Designed for writing, designing, and reviewing code where custom logic must be justified against existing libraries

Install

$ npx -y skills add davila7/claude-code-templates --skill software-architecture -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Software Architecture Development Skill

This skill provides guidance for quality focused software development and architecture. It is based on Clean Architecture and Domain Driven Design principles.

Code Style Rules

General Principles

  • Early return pattern: Always use early returns when possible, over nested conditions for better readability
  • Avoid code duplication through creation of reusable functions and modules
  • Decompose long (more than 80 lines of code) components and functions into multiple smaller components and functions. If they cannot be used anywhere else, keep it in the same file. But if file longer than 200 lines of code, it should be split into multiple files.
  • Use arrow functions instead of function declarations when possible

Best Practices

Library-First Approach

Details

Repository
github.com/davila7/claude-code-templates
Categories
Code Review & Quality, Backend & APIs
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Software Architecture

More Code Review & Quality