davila7 avatar

Software Architecture

This is a practical prompt for writing better code through clean architecture and domain-driven design principles. Use it when you want Claude to help with code structure, architecture decisions, or refactoring. It emphasizes library-first thinking (don't reinvent auth or retry logic), early returns over nested conditions, and domain-specific naming instead of generic utils folders. The take is opinionated but sensible: every line of custom code is a liability, so reach for established solutions first and only write custom code for actual business logic. Good for teams that want consistent architectural patterns without building everything from scratch.

skills.sh installs
531
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Documentation, Code Review & Quality, Design & UI/UX
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1parcadei avatarresearch-agentparcadei/continuous-claude-v3Research agent for external documentation, best practices, and library APIs via MCP tools530skills.sh installs
2parcadei avatarrepo-research-analystparcadei/continuous-claude-v3Analyze repository structure, patterns, conventions, and documentation for understanding a new codebase522skills.sh installs
3robdefeo avataramazon-working-backwardsrobdefeo/agent-skillsGuide the Amazon Working Backwards process from the 5 Questions through to a full PR-FAQ document. Use when the user wants to (1) draft answers to the Amazon 5 520skills.sh installs
4libukai avatarvscode-httpyac-configlibukai/awesome-agent-skillsConfigure VSCode with httpYac for API testing and automation. This skill should be used specifically when converting API documentation to executable .http files513skills.sh installs
5manutej avatarvuejs-developmentmanutej/luxor-claude-marketplaceComprehensive Vue.js development skill covering Composition API, reactivity system, components, directives, and modern Vue 3 patterns based on official Vue.js d511skills.sh installs
6glittercowboy avatarcreate-agent-skillsglittercowboy/taches-cc-resourcesExpert guidance for creating, writing, building, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new skills, improving existing507skills.sh installs