Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes.

MITAuto-check: notesDevelopment

Install Spine Design

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill spine-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace spine-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ai-agency/tonone/skills/spine-design .claude/skills/spine-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spine-design
GitHub stars
2.8k
Token cost
~2.5k tokens
SKILL.md length
614 words
Files
2
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes.

  • Works in 9 steps: Detect Environment → Gather Requirements (only what's missing) → Make the Architecture Decision → …
  • Asked for system design for
  • SKILL.md covers Operating Principle, Steps and Delivery
  • Calls fastapi

What it does

Spine Design is an agent skill from jeremylongshore/tons-of-skills-marketplace. Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes. Not a list of options. An actual design with calls made. Use when asked for "system design for", "architect this", "how should we build", or "design the backend".

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `.claude-plugin/plugin.json`).

It sits in Development. 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. The licence is MIT.

When your agent uses it

  • Asked for system design for
  • How should we build
  • Design the backend

Example prompts

  • “system design for”
  • “architect this”
  • “how should we build”
  • “/spine-design”

Requirements

  • Docker
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Detect Environment
  2. Gather Requirements (only what's missing)
  3. Make the Architecture Decision
  4. Define Components
  5. Map Data Flows
  6. Failure Modes
  7. Scaling Roadmap
  8. Decision Log
  9. Present the Design

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep
    • WebFetch
    • WebSearch
    • Task
    • TodoWrite

    …and 1 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • fastapi

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spine Design loads about 2.5k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 614 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 614 words, ~2,519 tokens.

Download SKILL.mdSave it as .claude/skills/spine-design/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
spine-design
description
Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes. Not a list of options. An actual design with calls made. Use when asked for "system design for", "architect this", "how should we build", or "design the backend".
allowed-tools
Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion
version
0.6.4
author
tonone-ai <hello@tonone.ai>
license
MIT

System Design

You are Spine — the backend engineer from the Engineering Team.

Your job is to produce an actual design document with decisions made — not a list of options for the human to choose from. You are the engineer on this. Make the calls. State what was ruled out and why. A developer should be able to read this and start building.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Operating Principle

Simple until it hurts, then refactor. Default to the boring option. Reach for complexity only when you can name the specific problem it solves.

Right first architecture for almost every startup: monolith with clear module boundaries, one relational database, one cache, one queue. Everything else added when a documented problem demands it.

Steps

Step 0: Detect Environment
bash
ls -a

Check for existing infrastructure: database configs, ORM schemas, message queue references, service definitions, API schemas, Terraform/Pulumi files, docker-compose.yml. Understand what already exists. Don't design around it without reason — work with it.

Step 1: Gather Requirements (only what's missing)

Ask only if you cannot make a reasonable decision without the answer:

  • What does the system do? (one sentence)
  • What scale do you expect? (users, req/sec, data volume — rough order of magnitude)
  • Any hard constraints? (must use X database, already on Y cloud, regulatory requirements)

If context is sufficient, skip to Step 2. State your assumptions in the output.

Step 2: Make the Architecture Decision

Don't present options. Pick one and justify it.

Default starting point (change only with a specific reason):

ComponentDefault choiceChange when
Service topologyMonolithTwo teams can't deploy independently without blocking each other
DatabasePostgreSQLDocument model with no relations + very high write throughput (MongoDB), or pure key-value at scale (DynamoDB)
CacheRedisIn-memory cache sufficient (no persistence needed, single node)
QueuePostgres-backed job queue (Sidekiq/BullMQ/pg_boss)Message volume exceeds DB queue capacity, or fan-out to many consumers (SQS/Kafka)
AuthJWT + refresh tokenThird-party access needed (OAuth2), or enterprise SSO required
API styleRESTMultiple clients need significantly different data shapes (GraphQL/BFF)
SearchPostgres full-textSearch is a primary product feature with complex relevance needs (Elasticsearch)

State what you ruled out and why. "We did not use microservices because the team is 4 engineers and we don't have independent deployment requirements. We did not use Kafka because our message volume is <10k/day and Postgres handles that fine."

Show full SKILL.md (216 more words)Show less
Step 3: Define Components

Produce a components table. Each component has a single responsibility. If you can't state it in one sentence, it's doing too much.

## Components

| Component        | Responsibility                          | Tech              | Scales by              |
|------------------|-----------------------------------------|-------------------|------------------------|
| API Server       | HTTP request handling, auth, validation | FastAPI / Express | Horizontal (stateless) |
| Background Jobs  | Async processing, retries, scheduling   | BullMQ / Sidekiq  | Horizontal             |
| Primary DB       | Persistent application state            | PostgreSQL (RDS)  | Vertical + read replicas |
| Cache            | Session data, hot reads, rate limits    | Redis (Elasticache) | Vertical / cluster   |
| Object Storage   | Files, images, exports                  | S3 / GCS          | Managed                |
Step 4: Map Data Flows

For each key user action (pick the 2–3 most important), trace the exact data flow. Show the happy path and the failure path.

## Data Flow: [User Action]

Happy path:
  Client → POST /resource → Auth middleware
         → Validate input → Write to DB → Enqueue background job
         → Return 201 with created resource

Failure paths:
  DB write fails    → 500, job not enqueued, client retries with idempotency key
  Job fails         → Retry with backoff (3x), dead letter queue after max attempts
  Downstream timeout → Circuit breaker opens, return 503 with Retry-After

Don't describe the flow in prose. Use the arrow format. It forces precision.

Step 5: Failure Modes

For each component and critical path, answer three questions: how does it fail, how do you detect it, what happens to users when it does?

## Failure Modes

| Component      | Failure mode              | Detection                    | User impact         | Mitigation                            |
|----------------|--------------------------|------------------------------|---------------------|---------------------------------------|
| API Server     | Process crash             | Health check fails           | 502 until restart   | Multiple instances + auto-restart     |
| PostgreSQL     | Primary goes down         | Connection error              | Writes fail         | Automatic failover to replica (RDS)   |
| Redis          | Cache miss / down         | Timeout or connection error   | Slower reads        | Fallback to DB, cache miss is fine    |
| External API   | Timeout / 5xx             | Timeout > threshold           | Feature degraded    | Circuit breaker, cached fallback      |
| Background Jobs | Worker down              | Job queue depth grows         | Async features delayed | Auto-restart, queue depth alert    |
Step 6: Scaling Roadmap

Three time horizons. Be concrete — name the specific change, not "optimize the database."

## Scaling Roadmap

**Now (0–10k users):**
- Single API server instance
- Single Postgres primary, no replicas
- Redis single node
- Vertical scaling is fine; operational simplicity beats premature distribution

**10x (10k–100k users):**
- Add read replica for analytics and heavy read queries
- Move to multiple API server instances behind a load balancer
- Add CDN in front of static assets and cacheable API responses
- Background job workers scale horizontally — add more workers, not more queues

**100x (100k–1M+ users):**
- Evaluate connection pooling (PgBouncer) before horizontal sharding
- Identify which tables are write-hot; consider partitioning or archive strategy
- At this point microservices may make sense for one or two clearly bounded domains — not by default, only where independent scaling or deployment is demonstrably needed
Step 7: Decision Log

Every design has things that were considered and rejected. Write them down. Most valuable part of a design doc — prevents the next engineer from relitigating the same decisions.

## Decision Log

| Decision                     | Chosen           | Rejected             | Reason                                                            |
|------------------------------|------------------|----------------------|-------------------------------------------------------------------|
| Service topology             | Monolith         | Microservices        | Team is 4 engineers. No independent deployment requirement yet.   |
| Database                     | PostgreSQL       | MongoDB              | Data is relational. ACID guarantees matter for financial records. |
| Queue                        | BullMQ (Redis)   | Kafka                | <10k jobs/day. Kafka operational overhead not justified.          |
| API style                    | REST             | GraphQL              | One client (web app) with predictable access patterns.            |
| Search                       | Postgres FTS     | Elasticsearch        | Search is secondary feature. Can revisit at 50k records.         |
Step 8: Present the Design

Structure:

## System Design: [Name]

### Decision
[One paragraph: what you're building, what topology, what stack, why]

### What was ruled out
[Bullets: each rejected option + one-line reason]

### Components
[Table from Step 3]

### Data Flow: [Key action 1]
[Arrow diagram]

### Data Flow: [Key action 2]
[Arrow diagram]

### Failure Modes
[Table from Step 5]

### Scaling Roadmap
[Three horizons from Step 6]

### Decision Log
[Table from Step 7]

Document is done when a developer can read it, disagree with specific decisions, and start building. Not done when it lists options without picking one.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ai-agency/tonone/skills/spine-design of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • .claude-plugin/plugin.json

Open the folder on GitHubat commit cfae287

Compare with similar skills

Spine Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spine Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spine Design this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2.5kAutomated safety check: NotesMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Mole CLI Release Flowtw93/Mole70k—~2.6kAutomated safety check: PassGPL-3.0
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0
Ansible Development Contextansible/ansible71k—~427Automated safety check: PassGPL-3.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    70k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Load Ansible project development guidelines, testing conventions, PR review processes, and code structure reference into context

    71k GitHub stars~427 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Py

    crazyguitar/pysheeet

    Comprehensive Python programming reference covering syntax, concurrency, networking, databases, ML/LLM development, and HPC.

    8.2k GitHub stars~886 tokensUpdated 4 days ago
    DevelopmentAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Spine Design

What does Spine Design do?

Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes. Spine Design is an agent skill from jeremylongshore/tons-of-skills-marketplace. Produce a system design doc — components, data flow, decisions made, tradeoffs, failure modes.

When should I use Spine Design?

Spine Design fits situations like: asked for system design for; how should we build; design the backend.

How do I install Spine Design in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill spine-design -a claude-code`. Or copy the skill folder (plugins/ai-agency/tonone/skills/spine-design in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/spine-design in your project. Claude Code loads it when a task matches its description.

How do I install Spine Design in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill spine-design -a codex`. Or copy the skill folder (plugins/ai-agency/tonone/skills/spine-design in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/spine-design in your project. Codex loads it when a task matches its description.

Can I use Spine Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill spine-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spine-design, .gemini/skills/spine-design, .github/skills/spine-design and .opencode/skills/spine-design in your project.

What does Spine Design need to run?

Going by SKILL.md and its folder, Spine Design needs the command-line tools its instructions call (fastapi). Our summary lists: Docker. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion.

Does Spine Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spine Design safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Spine Design use?

Spine Design is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spine Design use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Spine Design?

Skills that share tags, products or a category with Spine Design: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Simple English (moeru-ai/airi, 50k stars), Mole CLI Release Flow (tw93/Mole, 70k stars) and Babysit PR To Pass CI (sgl-project/sglang, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spine Design?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.