system-design
Skill3 starsChanged 9 months agoMITView on GitHub
Use when designing system architecture for a new project or major feature — service boundaries, data flow, API contracts, and technical trade-offs
35 other projects use a version of this.
Adopted by
Most recently taken up by
- yahyabedirhan/skillstheir own version, first seen Oct 1, 2026
- codeMaestro78/system_design_skilltheir own version, first seen Oct 1, 2026
- kleosr/bridletheir own version, first seen Sep 29, 2026
- mike22890/opencode-skills-cntheir own version, first seen Sep 13, 2026
- alizafarbati/opencode-agents-mcptheir own version, first seen Sep 8, 2026
- Cool-Coder174/engineering-skillstheir own version, first seen Sep 8, 2026
Used with
Projects with it also use web-design-guidelines, git-workflow and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 5 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 3 projects that use this
OpenAISkillverification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- anthropics/knowledge-work-plugins★ 26ksame name
- wondelai/skills★ 2.3ksame name
- ninehills/skills★ 280same name
- NoobyGains/godmode★ 107same name
- proyecto26/system-design-skills★ 85same name
- qodex-ai/ai-agent-skills★ 45same name
- ftvision/system-design-skill★ 37same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- pinchen147/system-design-skill★ 24same name
- s-hiraoku/synapse-a2a★ 16same name
25 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- adrSkill
- analyticsSkill
- api-contractSkill
- api-designSkill
- ci-pipelineSkill
- claude-mdSkill
- code-qualitySkill
- data-modelSkill
- db-migrateSkill
- debugSkill
- deploySkill
- dep-updateSkill
- disk-cleanupSkill
- docker-buildSkill
- eng-leadSkill
- event-drivenSkill
- fullstack-healthcheckSkill
- go-featureSkill
- go-integration-testSkill
- go-refactorSkill
- go-scaffoldSkill
- incident-responseSkill
- interactive-clarifySkill
- observabilitySkill
- onboardingSkill
- product-specSkill
- py-featureSkill
- py-integration-testSkill
- py-migrateSkill
- py-refactorSkill
- py-scaffoldSkill
- react-featureSkill
- react-refactorSkill
- react-scaffoldSkill
- review-codeSkill
- securitySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
After product-spec, before scaffolding
- Very specific: line 107
REQUIRED: Use data-model skill for detailed schema design.
- Distinctive: line 111
Document every significant technical decision:
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
System Design
Overview
Design the architecture before writing code. Define service boundaries, data flow, API contracts, and infrastructure. Make trade-off decisions explicit.
Core principle: Architecture mistakes are 100x more expensive to fix than code mistakes. Think first, build second.
When to Use
- Starting a new project or microservice
- Adding a major feature that changes system boundaries
- Scaling beyond current architecture
- After
product-spec, before scaffolding
Design Process
1. Requirements Extraction
From the product spec, extract:
## Technical Requirements
### Functional
- [What the system must do — derived from user stories]
### Non-Functional
- **Throughput:** [requests/sec, messages/sec]
- **Latency:** [p50, p95, p99 targets]
- **Availability:** [uptime target, e.g., 99.9%]
- **Data volume:** [storage growth rate, retention policy]
- **Consistency:** [strong vs eventual, where each applies]
- **Security:** [auth, encryption, compliance]2. High-Level Architecture
Define the system components and how they interact:
## Architecture
### Components
- **API Gateway** — entry point, auth, rate limiting
- **Service A** — handles [domain area]
- **Service B** — handles [domain area]
- **Database** — PostgreSQL for [what data]
- **Cache** — Redis for [what purpose]
- **Queue** — [Redis Pub/Sub / NATS / Kafka] for [what events]
### Data Flow
[Client] → [API Gateway] → [Service] → [Database]
→ [Cache]
→ [Queue] → [Worker]For most indie/startup projects, start as a modular monolith:
Single Go/Python service with clean architecture
→ Split into microservices only when you have a clear reason
→ Reasons: independent scaling, different team ownership, different deploy cadence3. API Contract Design
Define the interface between components before implementing:
## API Contracts
### POST /api/v1/resources
Request: { field: type }
Response: { data: Resource }
Errors: 400 (validation), 401 (auth), 409 (conflict)
### GET /api/v1/resources?limit=20&offset=0
Response: { items: Resource[], pagination: { limit, offset, total } }4. Data Model
High-level entity relationships:
## Data Model
### Entities
- User (id, email, name, role, created_at)
- Organization (id, name, plan, created_at)
- Membership (user_id, org_id, role)
### Relationships
- User → many Organizations (through Membership)
- Organization → many Users (through Membership)
### Indexes
- users: email (unique), org_id
- memberships: (user_id, org_id) unique, org_idREQUIRED: Use data-model skill for detailed schema design.
5. Trade-Off Decisions
Document every significant technical decision:
## Trade-Offs
### Decision: Monolith vs Microservices
- **Chose:** Modular monolith
- **Why:** Team of 1-3, single deploy pipeline, shared database is fine at current scale
- **Revisit when:** Service needs independent scaling or different team owns a domain
### Decision: PostgreSQL vs [alternative]
- **Chose:** PostgreSQL
- **Why:** ACID transactions, JSONB for flexible data, mature ecosystem
- **Trade-off:** Horizontal scaling harder than NoSQL (acceptable at our scale)6. Infrastructure
## Infrastructure
### Local Development
- Docker Compose: API + Postgres + Redis
- Hot reload: air (Go) / uvicorn --reload (Python)
### Production
- [Cloud provider]: [services used]
- Database: managed Postgres
- Cache: managed Redis
- CDN: [for frontend assets]
- CI/CD: GitHub Actions → Docker → [deployment target]7. Risk Assessment
## Risks & Mitigations
| Risk | Impact | Mitigation |
|------|--------|-----------|
| DB becomes bottleneck | High | Read replicas, query optimization, caching layer |
| Third-party API downtime | Medium | Circuit breaker, retry with backoff, fallback |
| Data loss | Critical | Automated backups, point-in-time recovery |Quick Reference: When to Split Services
| Signal | Action |
| Same team, same deploy cadence | Keep as monolith |
| Different scaling needs (CPU vs I/O) | Consider splitting |
| Different data ownership | Consider splitting |
| Shared database works fine | Keep as monolith |
| Cross-service transactions needed | Keep as monolith |
| Team > 5 engineers on same codebase | Consider splitting |
Chains
- Before:
product-specfor requirements - After:
data-modelfor detailed schema →adrfor documenting decisions - Then: Scaffold skills for implementation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

