7 Production Engineering Case Studies

Real-world architecture & QA systems.

Deep dives into the systems I’ve architected: decoupling tens of millions of data validations from production databases, building dual-target Claude Code & Cursor plugins with 19 sub-agents, and designing low-token self-healing locator maps.

CASE STUDY 01 · DEVELOPER TOOLING 2,800+ Servers · Zero Leak

MCP Builder Studio: In-Browser Config & Crypto Vault

Catalogs 2,800+ Model Context Protocol servers, encrypts secrets locally in the browser via Web Crypto API, detects ID conflicts, and generates valid configs for 10+ AI coding clients.

Case Study 01 · Open Developer Tooling

MCP Builder Studio: Zero-Leak Config Generator

2,800+ MCP Servers Web Crypto API 10+ AI Clients

1. The Problem

Discovering MCP servers and hand-writing JSON/TOML/YAML configs across Claude Code, Cursor, Windsurf, VS Code, Codex, and Gemini is tedious, and pasting secrets into third-party web tools is a security risk.

2. Architecture & Design

  • Zero-Network Vault: Uses the browser’s native Web Crypto API so API tokens never leave the user’s device.
  • Unified Registry Pipeline: Indexes and scores 2,800+ MCP servers with transport metadata and required environment fields.

3. Engineering Impact

  • 10+ Client Exporters: Generates validated configs and CLI install commands in one click.
  • Conflict Guard: Automatically detects duplicate server IDs and missing required secrets.
Model Context Protocol Web Crypto API Cloudflare Workers JavaScript
Launch MCP Builder Studio →
Case Study 02 · Open Source & AI DevX

claude-changes: JetBrains Diff & 3-Way Merge Review for Claude Code

8 JetBrains IDEs Checkpoint Baselines 3-Way Merge Write-Back

1. The Problem

Claude Code renders edits as walls of +/- text in chat, while raw git diff mixes AI edits with your prior uncommitted work, mishandles untracked files, and offers no way to accept only part of an edit.

2. Architecture & Design

  • Checkpoint-Isolated Baselines: session scope compares against Claude Code’s own pre-edit checkpoints rather than git HEAD, isolating AI edits cleanly even on already-modified or brand-new files.
  • Interactive & Inline Modes: /cc opens a live arrow-key terminal picker tab (ccr) with single-key actions (d diff, m 3-way merge, t checkpoint timeline, g vs-remote); /cci runs inline in chat with native dialogs or args like /cci m 3.
  • Zero-Config IDE Detection: Auto-detects PyCharm, WebStorm, IntelliJ IDEA, Android Studio, CLion, GoLand, RubyMine, or PhpStorm plus your terminal from the process tree.

3. Engineering Impact

  • Partial hunk acceptance: Opens a 3-way merge (baseline left, Claude right, editable center) so you keep only the hunks you want and write straight back to disk.
  • Per-edit regression hunting: Timeline mode (/cci t) steps through a file’s checkpoints one edit at a time to pinpoint which change broke behavior.
  • Built-in Stop hook pattern: Ships a session-change recap hook that prints colored per-file +/- summaries after each response.
🤖 Claude Code Edits → 🔖 Checkpoint Baseline → ⌨️ /cc or /cci Picker → 🔀 JetBrains Diff / 3-Way Merge → 💾 Selective Write-Back
Claude Code Plugin JetBrains IDEs 3-Way Merge Bash / jq / git macOS Open Source
View on GitHub →
Case Study 03 · Data Quality Engineering

Scalable Data Quality Validation Platform

Tens of Millions of Validations 0 Prod DB Load Parquet + DuckDB

1. The Problem

Running millions of complex schema, geospatial, and nullability checks directly against operational transactional databases caused CPU contention, slowed down production queries, and lacked auditable historical lineage.

2. Architecture & Design

  • Immutable Snapshots: Extract approved records into date-partitioned Parquet files in AWS S3.
  • Dagster Orchestration: Software-defined assets manage partition dependencies, sensors, and bounded retries.
  • In-Process Compute: DuckDB queries Parquet directly inside ECS tasks with zero warehouse spin-up overhead.

3. Engineering Impact

  • Tens of millions of automated validations executed reliably without touching live production database CPU.
  • Versioned expectations: Great Expectations + custom SQL rules versioned in Git.
  • Fast triage: Streamlit dashboard surfaces failing partitions, sample records, and rule history.
🗄️ Source Extracts → 📦 S3 Parquet Partitions → ⚙️ Dagster Assets → 🦆 DuckDB Columnar SQL → ✅ Great Expectations (Tens of Millions) → 📊 Streamlit Triage UI
Dagster DuckDB Parquet / AWS S3 Great Expectations Streamlit
Read Full Reference Case Study →
Case Study 04 · Agentic AI Engineering

Dual-Target Agentic Quality Plugin (Claude Code & Cursor)

19 Sub-Agents 18 Rules · 7 Hooks 12+ MCP Servers

1. The Problem

Engineering and QA teams using both Claude Code and Cursor struggled with fragmented rules, manual credential setup across environments, unverified AI-generated test code, and maintaining duplicate plugin repositories.

2. Architecture & Design

  • Single Source of Truth: Authored once in claude_plugin/.claude/ and auto-ported to cursor_plugin/.cursor/ via Python generators.
  • Specialist Mesh: 19 domain sub-agents (Backend, Frontend, iOS, Android, QA, Data, Load) coordinated by a Manager and read-only safety reviewers.
  • Custom Python MCPs: Bundled PostgreSQL, TestRail, ReportPortal, and Browser-Sessions MCPs alongside Playwright, Jenkins, and Jira.

3. Engineering Impact

  • 1-Command Team Onboarding: bash install.sh --both configures both IDEs, Python MCP venvs, and AWS SSM session credential caching.
  • Unified Slash Workflows: Whole team runs /run-qa, /web-test, /mobile-test, /api-test, and /rp-report out of the box.
⚡ Claude Source (19 Agents) → 🔄 Python Cursor Porter → 🛡️ 7 Hooks + AWS SSM Cache → 🔌 12+ Custom & Proxy MCPs → 👥 1-Cmd Team Distribution
Claude Code Cursor Plugin Python MCPs AWS SSM Playwright / Appium TestRail / ReportPortal
Explore Plugin Diagrams in CV →
Case Study 05 · Context Engineering & Resilient E2E

Project Knowledge Base & Self-Healing Locator Map

O(1) Code Lookup Low-Token Fixes Auto-Heal PRs

1. The Problem

UI refactors frequently break E2E selectors, and AI coding agents waste tens of thousands of tokens grepping across repositories to discover which frontend component owns a failing selector or route.

2. Architecture & Design

  • Living Architecture KB: Synthesizes repo topology, API schemas, and conventions into CLAUDE.md, AGENTS.md, and scoped rules.
  • Frontend Locator Map: Pre-indexes all data-testid, ARIA roles, and fallback paths mapped directly to exact component source files.
  • DOM + Diff Resolver: Matches live DOM snapshots and git diffs against the KB map on ElementNotFound.

3. Engineering Impact

  • Low-token bug & test fixes: Agents jump directly to the exact frontend file and line without scanning the whole repo.
  • Verified self-healing: Automatically patches the Page Object and KB map, re-runs the spec to verify green, and opens a clean PR diff.
🎨 Frontend AST Scan → 🗺️ KB Locator-to-Code Map → 🧪 E2E Failure Snapshot → 🩹 Low-Token Diff Resolver → ✅ Auto-Patch & Re-Run
CLAUDE.md Locator Map Low-Token AI Playwright Cypress
Inspect Self-Healing Diagram →
Case Study 06 · Performance & Reliability Engineering

Distributed Load & Stress Testing Grid on AWS ECS

AWS ECS Fleet p95 / p99 Gates Locust Python

1. The Problem

Single-instance load generators hit local CPU and socket limits long before cloud APIs reach realistic peak concurrency, masking tail-latency regressions and connection-pool exhaustion.

2. Architecture & Design

  • Master/Worker ECS Topology: A Locust Master container coordinates ramp-up rates across horizontally scaled ECS worker tasks.
  • Realistic User Journeys: Python scenarios model authenticated sessions, weighted endpoints, and realistic think-times.

3. Engineering Impact

  • On-demand scale: Spins up distributed worker fleets for stress, soak, and spike testing before major releases.
  • Tail-latency visibility: Correlates p95/p99 latency curves with CloudWatch container CPU/memory telemetry.
Locust AWS ECS Docker Python CloudWatch
Explore Execution Architectures →
Case Study 07 · Performance & Observability Engineering

k6 + Datadog Performance & MCP Observability Platform

k6 + Node Hybrid Datadog Series & Events Datadog MCP Triage

1. The Problem

Aggregate load metrics (http_req_duration) hide which individual REST or GraphQL endpoint degraded, k6’s built-in StatsD output was removed in v0.55+, and engineers had to manually cross-reference load test timestamps against Datadog logs and APM traces.

2. Architecture & Design

  • Node + k6 Split: run.mjs (Node) fetches AWS SSM secrets, tracks run history, computes run-over-run regression deltas, and parses sampled K6ERR| stderr lines; k6 executes isolated VUs with per-endpoint Trend metrics.
  • Datadog v2 Series & Events: Submits k6.* and k6.request.* metrics (p95, p99, over_budget, change_pct) plus k6_event:run events with runnable curl reproducers, with xk6-output-statsd / OTLP for live ECS sidecar streaming.
  • Datadog & k6 MCP Workflow: Performance specialist agents use datadog-mcp (get_datadog_metric, search_datadog_logs, search_datadog_monitors) alongside k6 delta reports and curl reproducers to pinpoint backend bottlenecks.

3. Engineering Impact

  • Per-endpoint regression gates: Automatically flags endpoints breaching latency budgets or degrading beyond rolling baseline thresholds.
  • Instant failure reproduction: Every sampled failure or degradation emits an exact, sanitized curl command and Datadog event link.
  • AI-accelerated root-cause triage: Agents correlate k6 spike windows directly with Datadog APM/logs in seconds.
🔐 Node + AWS SSM → ⚡ k6 Per-Endpoint Trends → 📊 Datadog Series + Deltas → 🔌 Datadog & k6 MCPs → 🩹 Root-Cause + curl Repro
k6 Node.js Datadog API v2 Datadog MCP AWS ECS Fargate AWS SSM
Explore MCPs in MCP Builder →