Build Atlas
System design has shared words like database, queue and cache. Building with AI needs the same kind of words for everything else, so you can name what you need and tell an agent to build it. Each entry says what a component is, when you need it, the popular choices, and what to tell your agent.
What are you trying to do?
- Know it works
- Property-based testingComponent and end-to-end testsFuzzerVisual regression testingFormal specs and verification
- Keep bad code out
- Custom lint rules and architecture checksGit hooks and CI gatesAI code reviewSecret scanningDuplication and dead-code scanners
- Keep data correct
- Runtime schema validationDatabase and migrationsTyped errors and effectsState machine / statechart
- See what’s happening
- Telemetry (traces, metrics, logs)Canaries and synthetic checksLLM tracing and prompt managementProduct analytics
- Make AI features reliable
- LLM evalsLLM tracing and prompt managementDocument parsing for RAGAgent and MCP security scanner
- Give agents context and limits
- Agent instructions file (AGENTS.md)Agent skillsSpecs and execution plansAgent sandbox
- Let AI assistants use your product
- MCP server for your productAuthenticationAgent and MCP security scanner
In your app’s code
Libraries and patterns inside the software you ship.
- App frameworkThe foundation that handles routing, rendering and server code for a web or mobile app.SvelteKit · Next.js · TanStack Start · Astro · Expo / React Native
- AuthenticationSigns users in, keeps them signed in, and controls what they can access.Better Auth · Clerk · Auth.js · Supabase Auth
- Background jobs and durable workflowsRuns slow or multi-step work outside the request, with retries, so it finishes even when something fails.Trigger.dev · Inngest · Cloudflare Workflows and Queues · Temporal · BullMQ · Graphile Worker
- Database and migrationsStores your app's data and changes its structure safely as the app grows.Postgres · SQLite / Cloudflare D1 / Turso · Supabase · Drizzle ORM · Prisma · Atlas · PGlite
- Headless browser and scrapingLoads and controls real web pages from code, to collect data or complete tasks on sites without an API.Playwright · Crawlee · Cheerio · Browserbase · Cloudflare Browser Rendering · Stagehand / Browser Use
- Payments and billingTakes money, manages subscriptions and keeps your app in sync with what each customer has paid for.Stripe · Paddle · Lemon Squeezy · Polar
- Runtime schema validationChecks that data coming into your app has the shape you expect, at the moment it arrives.Zod · Valibot · Effect Schema · Pydantic
- State machine / statechartWrites complex logic as explicit states and transitions instead of scattered flags.XState · Zag · Plain reducers
- Typed errors and effectsMakes the ways a function can fail part of its type, so callers have to handle them.Effect · Effect language service · neverthrow
In your AI features
Components for products that call language models.
- Document parsing for RAGTurns PDFs, Word files and slides into clean text and structure that a model can use.Docling · Unstructured · LlamaParse · MarkItDown
- LLM evalsAutomated tests for AI features, which score outputs against examples and criteria.DeepEval · Promptfoo · Langfuse / Braintrust · Prompt-injection suites · Frozen test sets · Autoevals
- LLM SDKOne API for calling different AI models, with tool calling and structured output built in.Vercel AI SDK · OpenAI Agents SDK · Mastra · LiteLLM
- LLM tracing and prompt managementRecords every model call, with its prompt, output, cost and latency, so you can debug AI features.Langfuse · AI SDK telemetry · Arize Phoenix · LangSmith · Braintrust
- MCP server for your productLets AI assistants and agents use your product directly, with the user's permission.MCP TypeScript SDK / Python SDK · FastMCP · Cloudflare Agents SDK · Better Auth MCP and OAuth provider plugins · MCP Inspector
- Voice agent pipelineConnects speech recognition, a language model and speech synthesis into a real-time conversation.LiveKit · Pipecat · Vapi · Retell AI
Tests
Checks that show the software does what it should.
- Accessibility checkerAutomatically finds accessibility problems like missing labels, low contrast and broken keyboard access.axe-core · Storybook a11y addon · Pa11y · Lighthouse
- Component and end-to-end testsTests the UI in a real browser, from single components up to full user journeys.Vitest Browser Mode · Playwright · Storybook test runner · MSW (Mock Service Worker) · Cloudflare Vitest integration · PGlite · Testcontainers
- Formal specs and verificationWrites down how a flow must behave, then has a checker search every path for a broken rule.Quint · TLA+ · LemmaScript
- FuzzerThrows huge numbers of generated, often malformed inputs at your code to find crashes.Jazzer.js · Atheris · Go native fuzzing · cargo-fuzz · libFuzzer · AFL++ · Schemathesis · RESTler · WuppieFuzz · OSS-Fuzz
- Property-based testingTests a rule against hundreds of generated inputs instead of a few you picked by hand.fast-check · Hypothesis · Separate CI workflow · Schemathesis
- Visual regression testingCatches unintended visual changes by comparing screenshots against a saved baseline.Playwright screenshots · Chromatic · Argos
Guardrails
Checks and tools in your repo that keep bad code from getting in.
- AI code reviewA separate agent that reviews changes against the spec and your standards before a human does.Claude Code GitHub Action / Codex GitHub Action · CodeRabbit · PR-Agent (Qodo) · A review skill or `REVIEW.md`
- Custom lint rules and architecture checksTurns your team's rules into checks that fail the build, with error messages that tell the agent how to fix it.ESLint / Oxlint / Biome · ast-grep · dependency-cruiser · Language-level boundaries
- Duplication and dead-code scannersFinds copy-pasted logic and unused code, giving cleanup work a concrete list.Knip · jscpd · ast-grep
- Git hooks and CI gatesRuns your checks automatically before commits and merges, so broken work can't slip through.Husky + lint-staged · Lefthook · pre-commit / prek · GitHub Actions · Agent hooks
- Secret scanningCatches API keys, passwords and tokens before they get committed or pushed.Gitleaks · TruffleHog · GitHub secret scanning and push protection · detect-secrets
- UI component workshopA place to build and check UI components in every state, outside the full app.Storybook · Ladle · Histoire
In production
What runs and measures your app once people use it.
- Canaries and synthetic checksScripted checks that keep testing your real app after it's deployed, so you hear about breakage before users do.Checkly · Playwright on a schedule · Datadog Synthetic Monitoring / Grafana Synthetic Monitoring · Uptime Kuma · Gradual rollouts
- Feature flagsTurn features on and off without redeploying, and release to a few users first.PostHog · GrowthBook · Unleash · LaunchDarkly · OpenFeature
- Infrastructure from codeDeclares databases, queues and services in code, so the same setup runs locally and in the cloud.Encore · SST · Pulumi · Terraform / OpenTofu
- Product analyticsShows what people actually do in your product, so you can tell what's working.PostHog · Plausible · Google Analytics 4 · Microsoft Clarity
- Telemetry (traces, metrics, logs)Records what your running system is doing, so people and agents can see why something went wrong.OpenTelemetry SDK + Grafana Cloud · Sentry · Honeycomb · Structured log files
- Transactional emailSends the emails your app triggers, like sign-in links, receipts and alerts, so they actually arrive.Resend · Postmark · Amazon SES · Cloudflare Email Sending · React Email
Around the agent
The context, tools and limits you give a coding agent.
- Agent and MCP security scannerChecks AI agents, MCP servers and skills for prompt injection, tool poisoning and leaked secrets.Agent Scan · Promptfoo red-teaming · garak
- Agent instructions file (AGENTS.md)A file in your repo that tells coding agents how the project works and how to check their work.AGENTS.md · CLAUDE.md · Kiro steering files · Reference: [opencode's AGENTS.md](https://github.com/anomalyco/opencode/blob/dev/AGENTS.md)
- Agent sandboxLimits what an agent can touch on your machine and network, so it can work unattended safely.Built-in sandboxes · Dev containers / Docker · E2B · Cloud agents
- Agent skillsPackaged procedures and know-how that an agent loads only when a task needs them.Write your own · Matt Pocock's skills · Compound Engineering plugin (Every) · Anthropic and OpenAI skill catalogs
- Agent task trackerA task list agents can read and update themselves, so long-running work doesn't get lost between sessions.Beads (`bd`) · GitHub Issues + `gh` CLI · Linear
- Specs and execution plansWritten requirements and a living plan, so agents build the right thing and long work survives across sessions.GitHub Spec Kit · OpenSpec · PLANS.md · Interview first