backend-architect
Skill72 starsChanged 7 months agoMITView on GitHub
Cache-aside rule: read → cache miss → DB → cache set → return. Never write to cache directly on writes — let TTL or event invalidate.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- mcabreradev/hermes-sdd-agencytheir own version, first seen Sep 17, 2026
- kravetsone/skillstheir own version, first seen Aug 13, 2026
- k1lgor/virtual-companytheir own version, first seen Apr 30, 2026
- FlorianBruniaux/ccboardtheir own version, first seen Apr 29, 2026
- iCesofT/awesome-aitheir own version, first seen Apr 16, 2026
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- FlorianBruniaux/ccboard★ 96same name
- glincker/claude-code-marketplace★ 37same name
- xfstudio/skills★ 9same name
- k1lgor/virtual-company★ 4same name
- ai4brands-design/claude-skills★ 2same name
- kravetsone/skills★ 2same name
- iCesofT/awesome-ai★ 1same name
- mcabreradev/hermes-sdd-agency★ 1same name
- kognar-ai/claude-skills★ 0same name
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 repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-healthSkill
- agent-styleSkill
- angular-best-practicesSkill
- annotateSkill
- api-designSkill
- architecture-decision-recordsSkill
- aws-serverlessSkill
- backend-patternsSkill
- brainstormSkill
- bug-reportSkill
- changelogSkill
- claude-apiSkill
- cloud-architectSkill
- cloud-run-puppeteerSkill
- code-review-checklistSkill
- code-reviewSkill
- code-simplificationSkill
- codex-sddSkill
- commitSkill
- context-engineeringSkill
- database-architectSkill
- db-reviewSkill
- deep-interviewSkill
- design-reviewSkill
- design-systemSkill
- devops-deploySkill
- diagnoseSkill
- django-patternsSkill
- docker-patternsSkill
- dotnet-backend-patternsSkill
- dreamSkill
- drizzle-orm-expertSkill
- estimateSkill
- event-sourcing-architectSkill
- fastapi-proSkill
- fork-joinSkill
- freezeSkill
- frontend-designSkill
- frontend-patternsSkill
- frontend-ui-dark-tsSkill
- gate-checkSkill
- gemini-api-integrationSkill
- gitlab-ci-patternsSkill
- guardSkill
- handoffSkill
- hotfixSkill
- hybrid-cloud-architectSkill
- kubernetes-architectSkill
- laravel-patternsSkill
- launch-checklistSkill
- learnerSkill
- llm-app-patternsSkill
- localizeSkill
- map-systemsSkill
- map-workflowSkill
- markdown-injection-scannerSkill
- microservices-patternsSkill
- milestone-reviewSkill
- The first 60 shown.
The file
Files
Backend Architect
Workflow
- Capture requirements: Domain context, use cases, NFRs (scale, latency, consistency)
- Define service boundaries: DDD bounded contexts, service decomposition
- Design API contracts: REST/GraphQL/gRPC with versioning strategy
- Plan communication: Sync (REST, gRPC) vs async (queues, events)
- Build in resilience: Circuit breakers, retries, timeouts, graceful degradation
- Design observability: structured logging, RED metrics, distributed tracing
- Security: Auth/Z strategy, rate limiting, secrets management
- Caching: Layer strategy (app → API → CDN) with invalidation plan
- Document: Service diagram (Mermaid), ADRs, trade-offs
API design decision matrix
| Use case | Protocol | Reason |
| Standard CRUD API | REST | Widest tooling support |
| Client queries complex data | GraphQL | Reduces over-fetching |
| Internal service-to-service | gRPC | Typed contracts, low latency |
| Real-time bidirectional | WebSocket | Full duplex |
| Server push (one-way) | SSE | Simpler than WS for unidirectional |
| High-volume async work | SQS/Kafka | Decoupling, retry, backpressure |
Service boundary rules (non-obvious)
- Bounded context = 1 database — shared DB across services creates hidden coupling; eventual consistency is the price of independence
- Sync calls create latency chains — A → B → C means P99(A) = P99(A) + P99(B) + P99(C); use async for non-blocking flows
- Saga over 2PC — distributed transactions via saga (choreography or orchestration); 2PC blocks and creates distributed deadlocks
- Stateless for horizontal scale — session state in Redis/DynamoDB, not in memory
- Database per service, not schema per service — separate schemas in shared DB = shared schema migrations = coupling still exists
Resilience patterns (always include these)
Circuit Breaker: CLOSED → [failures > threshold] → OPEN → [timeout] → HALF-OPEN → [success] → CLOSED
Retry: exponential backoff with jitter — base_delay * 2^attempt + random(0, base_delay)
Timeout: always set; propagate deadline via context/headers
Bulkhead: separate thread pools per dependency; one slow dep shouldn't starve others
Idempotency: every mutating operation needs idempotency key; store result, return on duplicateObservability essentials
Logs: structured JSON, always include: traceId, userId, duration, status
Metrics (RED): Rate (req/s), Errors (%), Duration (p50/p95/p99)
Traces: OpenTelemetry → Jaeger/Tempo; trace every cross-service call
Alerts: error rate > 1%, p99 latency > SLO, queue depth > thresholdCaching strategy
| Layer | Tool | Pattern | Invalidation |
| App | Redis | Cache-aside | TTL + event-driven |
| API | CDN (CloudFront) | Read-through | Cache-Control headers |
| DB reads | Read replica | Direct query | N/A (replica lag) |
Cache-aside rule: read → cache miss → DB → cache set → return. Never write to cache directly on writes — let TTL or event invalidate.
Auth patterns
- User auth: OAuth2 + OIDC, JWT access token (15 min TTL) + refresh token (7 days, rotated)
- Service-to-service: mTLS or signed JWT with short expiry; never share user tokens between services
- API keys: Hash on storage (SHA-256), include key prefix in metadata for lookup
Deliver
- Service diagram (Mermaid) showing communication patterns + boundaries
- API contract excerpt (OpenAPI or Protobuf)
- Auth/Z strategy
- Resilience patterns per dependency
- Caching plan with invalidation strategy
- Tech recommendations with explicit rationale
- ADR for each major decision
Scope boundaries
- Database schema design →
database-architect - Infrastructure + cloud services →
cloud-architect - Comprehensive security audit →
security-auditor - System-wide performance optimization →
performance-engineer
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.

