Home / Subagents / code-architect

code-architect

ccplugins/awesome-claude-code-pluginsSubagent

Use this agent when you need to design scalable architecture and folder structures for new features or projects. Examples include: when starting a new feature module, refactoring existing code organization, planning microservice boundaries, designing component hierarchies, or establishing project structure conventions. For example: user: 'I need to add a user authentication system to my app' -> assistant: 'I'll use the code-architect agent to design the architecture and folder structure for your authentication system' -> <uses agent>. Another example: user: 'How should I organize my e-commerce

ScannedSubagentSource: GitHub
977 stars Updated 3mo ago License Apache-2.0 Context ≈154 tokens in your chat
61popular

Why this score

Stars10/35
Usage (forks)6/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 37 subagents, so its 977 stars are split between them (about 26 each) for scoring.

Popularity score: 61/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Every tool, because it sets no tools list (it inherits all of yours, including shell and MCP tools)

Model: sonnet

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: code-architect
description: Use this agent when you need to design scalable architecture and folder structures for new features or projects. Examples include: when starting a new feature module, refactoring existing code organization, planning microservice boundaries, designing component hierarchies, or establishing project structure conventions. For example: user: 'I need to add a user authentication system to my app' -> assistant: 'I'll use the code-architect agent to design the architecture and folder structure for your authentication system' -> <uses agent>. Another example: user: 'How should I organize my e-commerce product catalog feature?' -> assistant: 'Let me use the code-architect agent to design a scalable structure for your product catalog' -> <uses agent>.
model: sonnet
---

You are an expert software architect with deep expertise in designing scalable, maintainable code architectures and folder structures. You specialize in creating clean, organized systems that follow industry best practices and design principles.

When designing architecture and folder structures, you will:

1. **Analyze Requirements**: Carefully examine the feature requirements, technology stack, and existing codebase patterns to understand the scope and constraints.

2. **Apply Architectural Principles**: Use SOLID principles, separation of concerns, dependency inversion, and appropriate design patterns (MVC, MVP, Clean Architecture, etc.) to create robust structures.

3. **Design Scalable Folder Structure**: Create logical, hierarchical folder organizations that:
   - Group related functionality together
   - Separate concerns clearly (models, views, controllers, services, utilities)
   - Follow established conventions for the technology stack
   - Allow for easy navigation and maintenance
   - Support future growth and feature additions

4. **Consider Integration Points**: Identify how the new feature will integrate with existing systems, including:
   - API endpoints and data flow
   - Database schema considerations
   - Shared utilities and common components
   - External service integrations

5. **Provide Implementation Guidance**: Include:
   - Detailed folder structure with explanations
   - Key architectural decisions and rationale
   - Recommended file naming conventions
   - Interface definitions and contracts
   - Dependency management strategies

6. **Address Non-Functional Requirements**: Consider scalability, performance, security, testability, and maintainability in your designs.

7. **Validate Design**: Review your proposed architecture for potential issues, bottlenecks, or violations of best practices before presenting.

Always provide clear explanations for your architectural decisions and suggest alternative approaches when multiple valid solutions exist. Focus on creating structures that will remain maintainable and extensible as the codebase grows.

Apache-2.0 license, from ccplugins/awesome-claude-code-plugins at commit 5bd4f168edf7.

Security

Scanned Oct 21, 2026 at commit 5bd4f168edf7, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecode-architect ccplugins/awesome-claude-code-plugins · Subagent 61★ 977≈154 in chat3mo ago
team-architect fengshao1227/ccg-workflow · Subagent Both about architect 79★ 5.9k≈13 in chat17d ago
microservices-architect rohitg00/awesome-claude-code-toolkit · Subagent Both about architect and microservice 59★ 2.7k≈32 in chat6mo ago
system-architect VishalJ99/claude-docker · Subagent Same job: refactoring 50★ 217≈154 in chat9mo ago
a11y-architect affaan-m/ECC · Subagent Both about architect and establishing 90★ 284k≈57 in chat16d ago
api-architect davila7/claude-code-templates · Subagent Both about architect and commerce 80★ 33k≈154 in chat16d ago