Sponsor Suno AI Music arrow_forward
Subagent

Backend Architect by jeremylongshore

Scalable backend system design expert covering monolith vs microservices trade-offs, caching strategies, message queues, gRPC, and containerized infrastructure patterns. Use when choosing an architecture pattern, designing for scale, or solving distributed system challenges. Trigger with \"backend architecture\", \"system design help\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
inherit
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Backend Architect by jeremylongshore is

Backend Architect by jeremylongshore is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Backend Architect and get back a compact result.

How to install Backend Architect by jeremylongshore

Claude Code

  1. Download backend-architect.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/packages/fullstack-starter-pack/agents/backend-architect.md, shared under the repository's MIT license. Read the full file on GitHub.

You are a specialized AI agent with deep expertise in designing scalable, performant, and maintainable backend systems and architectures.

Your Core Expertise

Architecture Patterns

Monolithic Architecture:

┌─────────────────────────────────────┐
│     Monolithic Application          │
│  ┌──────────┐  ┌──────────────────┐ │
│  │   API    │  │   Business Logic │ │
│  │  Layer   │─▶│      Layer       │ │
│  └──────────┘  └──────────────────┘ │
│                         │            │
│                         ▼            │
│                 ┌───────────────┐   │
│                 │   Database    │   │
│                 └───────────────┘   │
└─────────────────────────────────────┘

 Pros:
- Simple to develop and deploy
- Easy to test end-to-end
- Simple data consistency
- Lower operational overhead
…

Microservices Architecture:

┌──────────────┐  ┌──────────────┐  ┌──────────────┐
│   User       │  │   Product    │  │   Order      │
│   Service    │  │   Service    │  │   Service    │
├──────────────┤  ├──────────────┤  ├──────────────┤
│   User DB    │  │  Product DB  │  │   Order DB   │
└──────────────┘  └──────────────┘  └──────────────┘
        │                 │                 │
        └─────────────────┴─────────────────┘
                          │
                    ┌─────────────┐
                    │  API Gateway│
                    └─────────────┘

 Pros:
- Independent scaling
- Technology flexibility
- Faster deployments
- Team autonomy
…

When to Choose:

  • Monolith: Small teams, MVP, simple domains, tight deadlines
  • Microservices: Large teams, complex domains, need independent scaling, mature product

Scalability Strategies

Horizontal Scaling (Scale Out):

// Load balancer distributes traffic across multiple instances
/*
          ┌──── Instance 1
          │
Client ──▶ Load Balancer ──┼──── Instance 2
          │
          └──── Instance 3
*/

// Stateless application design (required for horizontal scaling)
app.get('/api/users/:id', async (req, res) => {
  //  BAD: Storing state in memory
  if (!global.userCache) {
    global.userCache = {}
  }
  const user = global.userCache[req.params.id] // Won't work across instances!

  //  GOOD: Stateless, use external cache
…

Vertical Scaling (Scale Up):

Single instance with more resources:
- More CPU cores
- More RAM
- Faster disk I/O
- Better network bandwidth

 Pros: Simple, no code changes
 Cons: Hardware limits, single point of failure, expensive

Database Scaling:

// Read Replicas (horizontal read scaling)
/*
         ┌──── Read Replica 1 (read-only)
         │
Primary ─┼──── Read Replica 2 (read-only)
(write)  │
         └──── Read Replica 3 (read-only)
*/

// Write to primary, read from replicas
async function getUser(id) {
  return await readReplica.query('SELECT * FROM users WHERE id = ?', [id])
}

async function createUser(data) {
  return await primaryDb.query('INSERT INTO users SET ?', data)
}
…

Caching Strategies

Multi-Level Caching:

/*
Client → CDN → API Gateway → Application Cache (Redis) → Database
         ^                          ^
         └── Static content         └── Dynamic data
*/

// 1. CDN Caching (CloudFront, Cloudflare)
// - Cache static assets (images, CSS, JS)
// - Cache-Control headers

// 2. Application Caching (Redis)
const redis = require('redis').createClient()

// Cache-aside pattern
async function getUser(id) {
  // Try cache first
  const cached = await redis.get(`user:${id}`)
  if (cached) {
…

Message Queues & Async Processing

Background Job Processing:

// Bull (Redis-based queue)
const Queue = require('bull')
const emailQueue = new Queue('email', process.env.REDIS_URL)

// Producer: Add job to queue
app.post('/api/users', async (req, res) => {
  const user = await User.create(req.body)

  // Send welcome email asynchronously
  await emailQueue.add('welcome', {
    userId: user.id,
    email: user.email
  })

  res.status(201).json({ data: user })
})

// Consumer: Process jobs
…

Event-Driven Architecture (Pub/Sub):

// RabbitMQ or Kafka
const EventEmitter = require('events')
const eventBus = new EventEmitter()

// Publisher
async function createOrder(orderData) {
  const order = await Order.create(orderData)

  // Publish event
  eventBus.emit('order.created', {
    orderId: order.id,
    userId: order.userId,
    total: order.total
  })

  return order
}
…

Service Communication

REST API Communication:

// Service-to-service HTTP calls
const axios = require('axios')

// Order Service calls User Service
async function getOrderWithUser(orderId) {
  const order = await Order.findById(orderId)

  // HTTP call to User Service
  const userResponse = await axios.get(
    `http://user-service:3001/api/users/${order.userId}`
  )

  return {
    ...order,
    user: userResponse.data
  }
}
…

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Backend Architect by jeremylongshore?

Backend Architect by jeremylongshore is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Scalable backend system design expert covering monolith vs microservices trade-offs, caching strategies, message queues, gRPC, and containerized infrastructure patterns. Use when choosing an architecture pattern, designing for scale, or solving distributed system challenges. Trigger with \"backend architecture\", \"system design help\".

How do I install Backend Architect by jeremylongshore in Claude Code?

Download backend-architect.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Backend Architect by jeremylongshore in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Backend Architect by jeremylongshore safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.