backend-architecture
Guides backend and API architecture — service layers, REST/GraphQL design, databases, caching, async jobs, and scalability trade-offs.
Skill by Vinayak-RZ
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vinayak-rz-backend-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, devops, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backend-architecture
What's inside
- Skill name
backend-architecture- Description
- Guides backend and API architecture — service layers, REST/GraphQL design, databases, caching, async jobs, and scalability trade-offs. Use when designing APIs, microservices vs monolith boundaries, data models, authentication flows, or infrastructure-facing code.
- License
- Apache-2.0
- Instructions
- 84 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- patterns.md · references/
SKILL.md (first lines)
# Backend Architecture
Apply before new services, API surfaces, database schemas, or auth/payment flows.
## Decision checklist
1. **Topology** — monolith module vs separate service vs serverless functions
2. **API style** — REST, GraphQL, RPC, events
3. **Data store** — relational, document, cache, queue
4. **Consistency** — strong vs eventual; saga/outbox needs
5. **Auth model** — session, JWT, OAuth, API keys; where authZ runs
6. **Failure model** — timeouts, retries, idempotency, circuit breakers
## Layer boundaries (non-negotiable default)
```text
HTTP / transport → routes, controllers, handlers (thin)
Service layer → business rules, orchestration, authZ checks
Domain / models → entities, invariants, domain errors
Data access → repositories, queries (parameterized only)
Infrastructure → email, queues, third-party clients
```
**Rules:**
- Handlers validate input shape; services enforce business rules
- No SQL/ORM in route handlers
- AuthZ in service layer, not only at route edge
- External calls have timeouts and structured errors
## API design defaults
| Concern | Default |
|---------|---------|
| Errors | `{ success, error: { code, message, details? } }` + correct HTTP status |
| Lists | Cursor or offset pagination; never unbounded |
| Versioning | `/v1/` prefix or header when public API |
| Idempotency | `Idempotency-Key` for payments/writes |
| Validation | Schema at boundary (Zod, Pydantic, etc.) |
## Trade-offs to surface
| Decision | Options | Default for greenfield |
|----------|---------|------------------------|
| Architecture | Modular monolith vs microservices | Modular monolith until team/scale forces split |
| DB | PostgreSQL vs MongoDB | PostgreSQL unless document model is dominant |
| Cache | None vs in-process vs Redis | None first; Redis when measured need |
| Async | Sync handler vs job queue | Queue when work >500ms or retries needed |
| Consistency | Strong vs eventual | Strong for money/auth; eventual for analytics |
Document chosen trade-offs in ADR or plan using `trade-offs.mdc`.
## Scalability checklist
- [ ] Stateless app tier where possible
- [ ] Connection pooling for DB
- [ ] Indexes on hot query paths
- [ ] No N+1 queries
- [ ] Rate limits on auth and public endpoints
- [ ] Secrets from environment only
## Anti-patterns to reject
- Anemic domain — all logic in controllers
- God service class
- String-interpolated SQL
- Swallowed exceptions
- Distributed monolith (microservices sharing one DB with tight coupling)
## Output when architecting
Produce **Backend Architecture Note**:
1. Topology and module boundaries
2. API contract sketch (resources, auth)
3. Data model overview
4. Async/cache/retry strategy
5. Security and observability hooks
6. Phased rollout plan
## Additional reference
See [references/patterns.md](references/patterns.md).From Vinayak-RZ/ARC, Apache-2.0.
More from Vinayak-RZ/ARC
- 0.563score
graphify
Vinayak-RZ
Turn a folder into a knowledge graph (HTML, JSON, GRAPH_REPORT.md).
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
agentic-system-design
Vinayak-RZ
Guides architecture for AI agent systems — tool use, memory, RAG, orchestration, guardrails, evals, and cost/latency trade-offs.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
frontend-architecture
Vinayak-RZ
Guides frontend architecture decisions for React, Next.js, and modern SPAs — component boundaries, state, data fetching, rendering strategy, and design-system…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
learn-while-building
Vinayak-RZ
Keeps the user learning while coding — research unfamiliar topics, explain decisions in plain language, surface trade-offs, and end phases with concise "what…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
graph-engineering
Vinayak-RZ
Builds a graph-of-plans for end-to-end one-shots: research then questions (must ask; do not guess), then a master graph covering docs-in, architecture…
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
copywriting
Vinayak-RZ
Writes and audits public copy others will see: product READMEs, landing pages, headlines, CTAs, marketing pages, and other shipped prose.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
extensive-readme
Vinayak-RZ
Authors a separate internals companion: how the repo runs, domain concepts, then every first-party package and why important files exist.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
graph-of-loops
Vinayak-RZ
Full product one-shot as a graph of loops: ask every product and technical question first, lock users/P0/non-goals, architecture ADRs, then execute build…
SkillBFreshness: B★ 2Claude Code +9 - 0.537score
gsap-framer-scroll-animation
Utkarsh Patrikar
Use this skill whenever the user wants to build scroll animations, scroll effects, parallax, scroll-triggered reveals, pinned sections, horizontal scroll…
SkillBFreshness: B★ 2Claude Code +9 - 0.533score
impeccable
Vinayak-RZ
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
find-skills
Vinayak-RZ
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Vinayak-RZ/ARC
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Vinayak-RZ
- 0.563score
frontend-architecture
Vinayak-RZ
Guides frontend architecture decisions for React, Next.js, and modern SPAs — component boundaries, state, data fetching, rendering strategy, and design-system…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
agentic-system-design
Vinayak-RZ
Guides architecture for AI agent systems — tool use, memory, RAG, orchestration, guardrails, evals, and cost/latency trade-offs.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
graphify
Vinayak-RZ
Turn a folder into a knowledge graph (HTML, JSON, GRAPH_REPORT.md).
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
extensive-readme
Vinayak-RZ
Authors a separate internals companion: how the repo runs, domain concepts, then every first-party package and why important files exist.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
copywriting
Vinayak-RZ
Writes and audits public copy others will see: product READMEs, landing pages, headlines, CTAs, marketing pages, and other shipped prose.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
graph-engineering
Vinayak-RZ
Builds a graph-of-plans for end-to-end one-shots: research then questions (must ask; do not guess), then a master graph covering docs-in, architecture…
SkillBFreshness: B★ 2Claude Code +9
Cite this page
backend-architecture skill. Agent Mart. https://agentmart.dev/skills/vinayak-rz-backend-architecture (last updated 2026-10-24)