engineering-backend-architect

engineering-backend-architect is a skill for Claude Code from PeterHdd/agent-skills. It costs 78 tokens per session (2,417 once invoked), scanned A, original, MIT.

A guide for designing the server-side parts of software, including databases, APIs, services, and cloud infrastructure. It covers how these parts should be organized and communicate.

In plain words
What is it for?
Use it to choose between a monolith and separate services, design database schemas and indexes, version APIs, build event-driven systems, and improve reliability and performance.
Why use it?
It helps avoid systems that are difficult to scale, change, monitor, or recover when something fails.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills plugin — 9 skills shipped together

Good fit Use it to choose between a monolith and separate services, design database…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peterhdd/agent-skills/engineering-backend-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PeterHdd/agent-skills --skill engineering-backend-architect
Clone the repo
git clone --depth 1 https://github.com/PeterHdd/agent-skills

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for engineering-backend-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/peterhdd/agent-skills/engineering-backend-architect.svg)](https://agentmods.dev/skills/peterhdd/agent-skills/engineering-backend-architect)
Your own site
<a href="https://agentmods.dev/skills/peterhdd/agent-skills/engineering-backend-architect"><img src="https://agentmods.dev/badge/skills/peterhdd/agent-skills/engineering-backend-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,417 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02417
Opus 5 $0.00039 $0.01208
Sonnet 5 $0.00016 $0.00483
Haiku 4.5 $0.00008 $0.00242

Measured 7d ago against content hash 7e100681a9fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

engineering-backend-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze_schema.py, scripts/check_api_health.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/engineering-backend-architect/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend Architecture Guide

Overview

This guide covers scalable backend system design, database architecture, API development, and cloud infrastructure patterns. Use it when making decisions about data schemas, service boundaries, caching strategies, security architecture, or performance optimization.

Architecture Decision Rules

System Design

  • When choosing between microservices and a monolith, start with a modular monolith unless the team already operates multiple services in production -- microservices add deployment and observability cost that slows small teams.
  • When designing database schemas, add partial indexes on high-cardinality columns filtered by common WHERE clauses (e.g., WHERE is_active = true) because full-table indexes waste I/O on rows that queries never touch.
  • When versioning APIs, use URL-prefix versioning (/v1/, /v2/) for public APIs and header versioning for internal APIs because URL prefixes are easier for external consumers to discover and cache.
  • When building event-driven systems, ensure every event includes a unique idempotency key and a schema version field so consumers can safely retry and handle schema evolution.

Reliability

  • When a downstream service is unreliable, wrap calls in a circuit breaker (e.g., opossum for Node.js) -- open after 5 consecutive failures, half-open after 30 seconds, close after 3 successes.
  • When designing backup strategies, combine continuous WAL archiving with daily base backups and test restores weekly against a staging database to verify RTO/RPO targets.
  • When implementing health checks, expose /health/live (process is running) and /health/ready (dependencies are reachable) as separate endpoints because Kubernetes liveness and readiness probes serve different purposes.

Performance

  • When Redis is used for caching, set TTLs explicitly on every key and use cache-aside (lazy loading) rather than write-through unless write latency is more important than read consistency.
  • When processing large datasets, use cursor-based pagination instead of OFFSET/LIMIT because OFFSET scans and discards rows, degrading linearly with page depth.
  • When designing a new service, ensure it is stateless so any instance can handle any request; store session data in Redis or a database so horizontal scaling requires only adding instances behind the load balancer.
  • When adding a new query path, run EXPLAIN ANALYZE before merging and reject any query that performs a sequential scan on a table with more than 10k rows -- add an index or rewrite the query.
  • When introducing a cache layer, define an explicit invalidation strategy (TTL, event-driven purge, or versioned keys) in the design doc before implementation to prevent stale reads.

Read the full file on GitHub · 113 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 113 lines · 78 tokens per session scan A 7e100681a9fc

Subscribe to this mod's changes

engineering-backend-architect is a skill published in the GitHub repository PeterHdd/agent-skills (11 stars, last pushed 6mo ago), licensed MIT. It adds 78 tokens to every session and 2,417 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

stripe-projects

Provision SaaS services + sync creds via Stripe Projects.

NousResearch/hermes-agent · 15 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

workers-best-practices

Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from…

cloudflare/skills · 72 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens