agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when choosing or changing architecture, a database, an API style, authentication, caching, queues or background jobs, file and module organisation, hosting, or any external service, or when the user asks what to use, where to deploy, how to scale, or whether to split into
Claude Code
$ npx -y skills add NoobyGains/godmode --skill system-design --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill system-design -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill system-design -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill system-design -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill system-design -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill system-design -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill system-design -a windsurf -y
name: system-design description: "Use when choosing or changing architecture, a database, an API style, authentication, caching, queues or background jobs, file and module organisation, hosting, or any external service, or when the user asks what to use, where to deploy, how to scale, or whether to split into services."
Every component in an architecture is code to maintain, a bill, and a way to fail. This skill picks the simplest structure that meets a requirement the project has now, prefers what the user already runs over anything new, and records why. **Complexity must be paid for by a current, named requirement; "we might need it" pays for nothing.**
NO STRUCTURAL COMPLEXITY WITHOUT A CURRENT, NAMED REQUIREMENT
No exceptions. No workarounds. No shortcuts.
**Required:**
**Skip:**
1. **List the requirements and classify each.** For every need (data, auth, files, jobs, real-time, email, payments, search, hosting), mark it **required now** (cannot launch without it), **required soon** (needed within the first weeks of real use, with evidence), **nice to have**, or **speculative**. Design only for the first two. Ask the user one question at a time when a classification is unclear.
2. **Inventory what the user already has.** Invoke `godmode:environment-awareness` for the machine and project inventory: installed databases and runtimes, container tools, cloud and hosting CLIs that are logged in, running services, existing dependencies, configuration that references services. Also ask what accounts or platforms the user or their organisation already pays for. What exists and fits wins over anything new.
3. **Start from the defaults** in the decision tables below. Each default is the simplest option that covers most projects.
4. **Move off a default only for a named requirement.** Write the requirement next to the deviation: "Queue, because image processing takes 40 s and must not block the request." If you cannot write that sentence, keep the default.
5. **Verify every changeable fact** behind the choice (a service's limits, free tier, pricing, region, runtime support) on the vendor's current page through `godmode:grounding`, and cite it. Hosting terms change often; never quote a price or limit from memory.
6. **Look for a reference architecture** when the system is unusual (`godmode:reference-first`, architecture references).
7. **Present the recommendation** in the format below, with an alternative and the trigger for switching, and what you deliberately left out.
8. **Record the decision** as a short decision record (context, decision, consequences, sources) in the project's docs, so the reason survives the conversation.
| Situation | Choose | |---|---| | New project, one team | **Monolith** (default), organised by capability | | A growing codebase where teams step on each other | Modular monolith with enforced module boundaries | | A component needs independent scaling or deploys **now**, with evidence | Extract that one component | | Separate teams own separate domains with separate release cycles | Services along those team boundaries |
Martin Fowler's observation: successful microservice systems almost always started as a monolith; systems built as microservices from scratch often got into serious trouble. Shopify chose a modular monolith over microservices for one of the largest Rails codebases. <!-- https://martinfowler.com/bliki/MonolithFirst.html https://shopify.engineering/deconstructing-monolith-designing-software-maximizes-developer-productivity -->
| Requirement | Choose | |---|---| | Relational data, transactions, multiple users (most applications) | **PostgreSQL** (default) | | Single server or embedded, modest write concurrency, simplest operations | SQLite: one writer at a time, but writes take milliseconds; the SQLite authors say sites under 100K hits a day should work fine <!-- https://www.sqlite.org/whentouse.html --> | | Some records with variable shape | PostgreSQL `jsonb` columns before a document database <!-- https://www.postgresql.org/docs/current/datatype-json.html --> | | Text search over application data | PostgreSQL full-text search before a search engine <!-- https://www.postgresql.org/docs/current/textsearch.html --> | | Cache, sessions, rate-limit counters, ephemeral data | Redis or a compatible store, only once needed | | Search relevance, facets and scale beyond the database | A dedicated search engine | | Time-series, graph or analytics workloads that dominate the product | A specialised store, chosen with evidence |
Use the database the user already runs if it fits. One database until a second access pattern clearly needs its own store.
| Context | Choose | |---|---| | CRUD, public or partner API, browser clients | **REST** with JSON (default); design details from `godmode:reference-first` | | Many client shapes over nested data, client-controlled queries | GraphQL | | Internal service-to-service calls with measured throughput needs, streaming | gRPC | | Server pushes to the browser | Server-sent events for one-way streams; WebSockets for two-way <!-- https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events --> | | Notifying other systems of events | Signed webhooks (Standard Webhooks) |
A full-sta
Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration