
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-codeInstalls 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- React Ui Patterns529
- Marketing Demand Acquisition525
- Playwright Skill525
- Docx524
- Research Grants523
- Obsidian Markdown519
- Web Performance Optimization518
- Notion Knowledge Capture516
- Screenshot Feature Extractor514
- Skill Creation Guide514
- React Patterns503
- Executing Marketing Campaigns498
- React Dev498
- Knowledge Distillation497
- Rag Implementation497
- Coding Standards494
- Api Documentation Generator493
- Autonomous Agents492
- Backend Dev Guidelines492
- Database Schema Designer489
- Typescript Expert489
- Api Patterns486
- Skill Creator484
- Supabase Postgres Best Practices481