God-level product and system builder skill. Use when designing and building software products, systems, or services end-to-end. Covers: product thinking, requirements engineering, system design, API design, database design, scalability, reliability engineering, observability, DevOps/CI-CD, documentation, and launch readiness. Ensures no shortcut is taken from idea to production. Prevents the most common catastrophic engineering mistakes. Treats every architectural decision as a research question first.
A great product is not a collection of features. It is a system that solves a real problem reliably, securely, efficiently, and maintainably — at the scale it needs to operate today and in the foreseeable future. No part of that definition is optional.
You do not start building until you understand the problem completely. You do not ship until you have verified correctness, security, performance, and observability. You do not call something "done" until it can be operated, debugged, and improved by someone who didn't write it.
Phase 0: Problem Validation (Before Any Architecture)
0.1 Problem Statement Crystallization
Write a precise problem statement in this format:
"When [user/system] tries to [do X], they face [specific pain/friction/failure] which causes [measurable negative outcome]. This happens because [root cause]."
If you cannot fill in all blanks with specifics, you don't understand the problem yet.
0.2 User & Stakeholder Mapping
Who are the primary users? (who uses this every day)
Who are the secondary users? (who uses outputs or is affected)
Who are the decision stakeholders? (who owns success/failure)
What are the non-negotiable constraints from each stakeholder group?
0.3 Problem Verification
Has this problem been solved before? Why wasn't that solution adopted?
What is the cost of NOT solving it? (quantify if possible)
What is the minimum viable version that proves the solution works?
What would make this solution a failure even if it technically works?
Phase 1: Requirements Engineering
1.1 Functional Requirements
Write user stories in strict format:
"As a [specific user type], I want to [perform action] so that [business value]."
For each story:
Acceptance criteria (Given/When/Then)
Priority (Must-have / Should-have / Could-have / Won't-have this version)
Definition of done (exactly what makes this complete)
1.2 Non-Functional Requirements (NFRs)
Never skip any of these. Ask explicitly if unknown.
Normalize to 3NF by default; denormalize only when profiling shows it's necessary and justified
Every table needs: primary key, created_at, updated_at
Soft delete (deleted_at column) unless you have strong reasons for hard delete
Add indexes for every foreign key and every column in a WHERE clause
Plan for schema migrations from day one (use migration tools: Flyway, Alembic, golang-migrate)
Partition large tables by time or high-cardinality dimension from the start
2.4 API Design
REST API Standards
Use nouns for resources, not verbs: /users/{id} not /getUser
Use HTTP methods correctly: GET (idempotent read), POST (create), PUT (full replace), PATCH (partial update), DELETE (delete)
Use correct status codes: 200 OK, 201 Created, 204 No Content, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict, 422 Unprocessable Entity, 429 Too Many Requests, 500 Internal Server Error
Version from day one: /v1/users not /users
Paginate all list endpoints: cursor-based pagination for high-volume, offset for simple cases
No stage may be skipped. Failed stage blocks progression.
5.2 Deployment Strategies
Blue/Green: Two identical environments; switch traffic atomically. Zero downtime. Easy rollback.
Canary: Gradually shift traffic to new version (1% → 10% → 50% → 100%). Catch issues with limited blast radius.
Rolling: Replace instances one at a time. Simple but slower rollback.
Feature flags: Deploy code dark; enable feature selectively per user/group. Best for risky features.
Default recommendation: Canary + feature flags for most production services.
5.3 Container & Kubernetes Standards
# Dockerfile non-negotiables
FROM <official-base>:<specific-version> # Pin version exactly
USER nonroot # Never run as root
COPY --chown=nonroot:nonroot . . # Don't run as root
RUN <build-steps> # Separate RUN layers minimally
HEALTHCHECK --interval=30s CMD <check> # Always define health check
Kubernetes checklist:
Resource requests and limits set for every container
Liveness and readiness probes configured
Pod disruption budgets defined for critical services
HorizontalPodAutoscaler configured
NetworkPolicy restricting ingress/egress
RBAC for service accounts (principle of least privilege)
Secrets from secrets store, not Kubernetes Secrets (or use Sealed Secrets / External Secrets)
Pod security standards enforced
Phase 6: Documentation Standards
6.1 Required Documentation (Non-Negotiable)
README.md: What does this do? Why does it exist? How do I run it locally in 5 commands?
Architecture Decision Records (ADRs): One file per significant architectural decision. Format: Context → Decision → Consequences. Stored in /docs/adr/.
Runbook: How to operate this in production. How to restart. How to debug. Common failure modes and fixes.
API Reference: OpenAPI spec + human-readable usage examples
Data Dictionary: Every significant data model documented (fields, types, constraints, relationships, business meaning)
6.2 ADR Template
# ADR-001: [Short Title]
**Date**: YYYY-MM-DD
**Status**: Proposed | Accepted | Deprecated | Superseded by ADR-XXX
## Context
What is the situation requiring a decision? What forces are at play?
## Decision
What was decided?
## Consequences
What are the positive, negative, and neutral outcomes of this decision?
What is now easier? What is now harder?
## Alternatives Considered
What else was considered and why was it not chosen?
Phase 7: Pre-Launch Checklist
Before any production launch, verify all of the following:
Functionality
All acceptance criteria from requirements verified
All edge cases tested
Load tested to 2x expected peak traffic
Chaos testing: what happens when a dependency dies mid-operation?
Security
Penetration test performed (at minimum: automated scan with OWASP ZAP or Burp Suite)
Secret rotation process documented and tested
All dependencies up to date with no critical CVEs
Data encryption verified at rest and in transit
Access control reviewed by a second person
Operations
On-call rotation defined and runbook published
Alerting configured and tested (fire a test alert)
Rollback procedure documented and tested
Backup and restore procedure tested (not just set up — tested)
Incident response process defined
Compliance
Data retention policy implemented
GDPR/CCPA deletion mechanism implemented if applicable
Audit log implemented for all privileged operations
Privacy policy and terms of service updated
Self-Improvement Loop for Builders
After every system is built and deployed:
Run a post-launch review: what failed, what was harder than expected, what would you change?
Read the post-mortems of similar systems that failed (Google SRE Book, Jepsen analyses, AWS post-mortems)
Read the architecture papers of systems that scaled (Dynamo paper, Bigtable paper, Kafka paper)
Update your mental model. The next system will be better.
1---2name: god-dev-builder3description: God-level product and system builder skill. Use when designing and building software products, systems, or services end-to-end. Covers: product thinking, requirements engineering, system design, API design, database design, scalability, reliability engineering, observability, DevOps/CI-CD, documentation, and launch readiness. Ensures no shortcut is taken from idea to production. Prevents the most common catastrophic engineering mistakes. Treats every architectural decision as a research question first.4---56# God-Level Product Builder78## Prime Directive910A great product is not a collection of features. It is a system that solves a real problem reliably, securely, efficiently, and maintainably — at the scale it needs to operate today and in the foreseeable future. No part of that definition is optional.1112You do not start building until you understand the problem completely. You do not ship until you have verified correctness, security, performance, and observability. You do not call something "done" until it can be operated, debugged, and improved by someone who didn't write it.1314---1516## Phase 0: Problem Validation (Before Any Architecture)1718### 0.1 Problem Statement Crystallization19Write a precise problem statement in this format:20> "When [user/system] tries to [do X], they face [specific pain/friction/failure] which causes [measurable negative outcome]. This happens because [root cause]."2122If you cannot fill in all blanks with specifics, you don't understand the problem yet.2324### 0.2 User & Stakeholder Mapping25- Who are the primary users? (who uses this every day)26- Who are the secondary users? (who uses outputs or is affected)27- Who are the decision stakeholders? (who owns success/failure)28- What are the non-negotiable constraints from each stakeholder group?2930### 0.3 Problem Verification31- Has this problem been solved before? Why wasn't that solution adopted?32- What is the cost of NOT solving it? (quantify if possible)33- What is the minimum viable version that proves the solution works?34- What would make this solution a failure even if it technically works?3536---3738## Phase 1: Requirements Engineering3940### 1.1 Functional Requirements41Write user stories in strict format:42> "As a [specific user type], I want to [perform action] so that [business value]."4344For each story:45- Acceptance criteria (Given/When/Then)46- Priority (Must-have / Should-have / Could-have / Won't-have this version)47- Definition of done (exactly what makes this complete)4849### 1.2 Non-Functional Requirements (NFRs)5051**Never skip any of these. Ask explicitly if unknown.**5253| Category | Specific Questions |54|----------|-------------------|55| **Performance** | P50/P95/P99 latency targets? Throughput (RPS/QPS/TPS)? |56| **Scalability** | Current load? 6-month projection? 2-year projection? |57| **Availability** | SLA? (99% = 87h/year downtime; 99.9% = 8.7h; 99.99% = 52min) |58| **Durability** | What data loss is acceptable? RPO and RTO? |59| **Security** | Compliance requirements? (SOC2, HIPAA, PCI, GDPR) Threat model? |60| **Consistency** | Strong vs eventual consistency? Which operations require which? |61| **Maintainability** | Team size? On-call rotation? Deployment frequency target? |62| **Cost** | Compute budget? Per-request cost ceiling? |63| **Observability** | Logging requirements? Audit trail requirements? |6465### 1.3 Constraints66- Language/runtime mandated? Why? Is that constraint still valid?67- Cloud provider mandated?68- Existing systems that must be integrated?69- Regulatory / geographic data residency requirements?70- Timeline constraints? (and their impact on scope)7172---7374## Phase 2: System Design7576### 2.1 Design Research77Before drawing any architecture:781. Search for: `"<your system type> system design"` on GitHub, arXiv, engineering blogs792. Read how similar systems were designed at scale: Dynamo, Spanner, Kafka, Cassandra, Zookeeper, Redis, Nginx, Envoy803. Identify the core technical challenge(s) — the parts where the design can fail814. Find academic papers on those challenges8283### 2.2 High-Level Architecture8485**Choose your architecture pattern and justify the choice**:8687| Pattern | Use when |88|---------|---------|89| Monolith | Team < 5, domain poorly understood, startup pace, simple deployment |90| Modular monolith | Monolith but with clear domain boundaries, easier to extract later |91| Microservices | Team > 20, domains clearly separated, independent scaling needs, polyglot |92| Event-driven | High throughput, async workflows, audit trail needed, temporal decoupling |93| Lambda/Serverless | Spiky/unpredictable traffic, stateless operations, cost-sensitivity |94| CQRS | Read/write load asymmetric, complex query requirements, audit trail |95| Hexagonal (Ports & Adapters) | Domain logic must be isolated from infrastructure, testability critical |9697**Never choose microservices by default. Distributed systems are hard. The overhead is real.**9899### 2.3 Data Architecture100101#### Storage Selection Criteria102Ask for every dataset:103- What is the access pattern? (read-heavy, write-heavy, mixed)104- What are the query patterns? (point lookups, range scans, full-text search, graph traversal)105- What is the consistency requirement? (strong, eventual, causal)106- What is the scale? (rows, bytes, operations per second)107- What is the schema evolution story?108109| Need | Solution |110|------|---------|111| Relational, ACID, complex queries | PostgreSQL (prefer over MySQL for new projects) |112| Time-series data | TimescaleDB, InfluxDB, Prometheus |113| Document store | MongoDB, Firestore (for flexible schema) |114| Key-value cache | Redis (also: Pub/Sub, queues, rate limiting, sessions) |115| Wide-column / high write throughput | Cassandra, ScyllaDB |116| Graph data | Neo4j, Amazon Neptune, DGraph |117| Full-text search | Elasticsearch, OpenSearch, Typesense |118| Blob/object storage | S3, GCS, MinIO |119| Message queue | Kafka (high throughput), RabbitMQ (complex routing), SQS (managed simplicity) |120| OLAP / Analytics | ClickHouse, BigQuery, Redshift, DuckDB |121122#### Schema Design Rules123- Normalize to 3NF by default; denormalize only when profiling shows it's necessary and justified124- Every table needs: primary key, created_at, updated_at125- Soft delete (deleted_at column) unless you have strong reasons for hard delete126- Add indexes for every foreign key and every column in a WHERE clause127- Plan for schema migrations from day one (use migration tools: Flyway, Alembic, golang-migrate)128- Partition large tables by time or high-cardinality dimension from the start129130### 2.4 API Design131132#### REST API Standards133- Use nouns for resources, not verbs: `/users/{id}` not `/getUser`134- Use HTTP methods correctly: GET (idempotent read), POST (create), PUT (full replace), PATCH (partial update), DELETE (delete)135- Use correct status codes: 200 OK, 201 Created, 204 No Content, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict, 422 Unprocessable Entity, 429 Too Many Requests, 500 Internal Server Error136- Version from day one: `/v1/users` not `/users`137- Paginate all list endpoints: cursor-based pagination for high-volume, offset for simple cases138- Use consistent error response format: `{ "error": { "code": "RESOURCE_NOT_FOUND", "message": "...", "details": {...} } }`139140#### API Quality Checklist141- [ ] OpenAPI/Swagger spec written before or alongside implementation142- [ ] All inputs validated (type, length, format, allowed values)143- [ ] All endpoints authenticated (explicitly note which are public)144- [ ] Rate limiting defined per endpoint per user/IP145- [ ] Idempotency keys supported for mutating operations146- [ ] Long-running operations use async pattern (return 202, provide status endpoint)147- [ ] Webhooks designed with retry, signing, and event schema versioning148- [ ] Breaking change policy documented149150### 2.5 Scalability Design151152**Scale dimensions**: User count, data volume, request rate, geographic distribution, feature complexity153154**Scaling strategies** (apply in order, not all at once):1551. Optimize the code and queries first (free)1562. Vertical scaling (bigger machine) — simplest, has limits1573. Caching: in-process cache → shared cache (Redis) → CDN → HTTP caching headers1584. Read replicas for read-heavy databases1595. CQRS for asymmetric read/write patterns1606. Horizontal scaling: stateless services + load balancer1617. Database sharding: consistent hashing, range-based1628. Event streaming for decoupling and buffering load spikes1639. Geographic distribution: multi-region, data residency164165**CAP Theorem**: For any distributed data store, choose two: Consistency, Availability, Partition Tolerance. Know which you chose and why.166167### 2.6 Reliability Design168169**Failure Mode Analysis**: For every external dependency and critical path:170- What happens if it is slow? (timeout + circuit breaker)171- What happens if it fails? (retry with exponential backoff + jitter, fallback)172- What happens if it returns wrong data? (validation, dead letter queue)173- What is the cascade failure risk? (bulkhead pattern)174175**Resilience patterns**:176- **Timeout**: Every external call has an explicit timeout. No infinite waits.177- **Retry**: Retry transient errors. Never retry non-idempotent operations without idempotency keys.178- **Circuit Breaker**: Open circuit after N failures; half-open to test recovery179- **Bulkhead**: Isolate resources per dependency (separate thread pools, connection pools)180- **Fallback**: Degrade gracefully — serve stale data, return empty rather than error, use local computation181- **Health checks**: Every service exposes `/health` (liveness) and `/ready` (readiness)182- **Graceful shutdown**: Drain in-flight requests before terminating183184---185186## Phase 3: Implementation Standards187188### 3.1 Project Setup Non-Negotiables189Before writing business logic:190- [ ] Version control initialized with `.gitignore` for secrets, binaries, dependencies191- [ ] Pre-commit hooks: linting, formatting, secret scanning (use `pre-commit` framework)192- [ ] Dependency management file committed with locked versions193- [ ] Environment configuration via environment variables (never hardcoded)194- [ ] Logging framework configured (structured JSON logging)195- [ ] Metrics collection setup (Prometheus, StatsD, or cloud-native)196- [ ] Distributed tracing setup (OpenTelemetry)197- [ ] Error tracking setup (Sentry or equivalent)198- [ ] Local development environment documented and scripted (docker-compose or devcontainer)199- [ ] Makefile or task runner with: `build`, `test`, `lint`, `run-local`, `clean`200201### 3.2 Twelve-Factor App Compliance202Verify each factor for every service:2031. **Codebase**: One repo per service; no shared code via file system2042. **Dependencies**: Explicit declaration; no system-level dependencies assumed2053. **Config**: All config in environment variables; no config files in repo2064. **Backing services**: Treat databases, queues, etc. as attached resources2075. **Build/Release/Run**: Strictly separate build, release (config injection), and run stages2086. **Processes**: Stateless processes; persist nothing in memory across requests2097. **Port binding**: Service exports itself via a port; no runtime web server injection2108. **Concurrency**: Scale out via process model2119. **Disposability**: Fast startup; graceful shutdown on SIGTERM21210. **Dev/prod parity**: Keep dev, staging, and production as similar as possible21311. **Logs**: Treat logs as event streams; write to stdout only21412. **Admin processes**: Run admin/management tasks as one-off processes215216### 3.3 Security-by-Default Implementation217- Secrets: use a secrets manager (AWS Secrets Manager, Vault, Doppler) — never `.env` files in production218- TLS: all inter-service communication over mTLS in production219- Authorization: implement RBAC or ABAC from day one — add permissions before you add features220- Input sanitization: validate at every system boundary using a schema validation library221- Output encoding: never trust data leaving the system to be safe — HTML encode, JSON escape, etc.222- Dependency updates: automate with Dependabot or Renovate from day one223224---225226## Phase 4: Observability (The Production Safety Net)227228A service that cannot be observed cannot be operated. Observability is not optional.229230### 4.1 The Three Pillars231232**Metrics** (what is happening):233- RED method per service: Request rate, Error rate, Duration (latency distribution)234- USE method per resource: Utilization, Saturation, Errors (CPU, memory, disk, network)235- Business metrics: active users, conversion rate, revenue events236- Define SLIs (Service Level Indicators) and SLOs (Service Level Objectives) from day one237238**Logs** (why it happened):239- Structured JSON: `{"level": "error", "service": "payment", "trace_id": "...", "user_id": "...", "error": "..."}`240- Log at boundaries, not inside functions241- Include: trace_id, span_id, user_id, request_id, operation, duration_ms242- Log levels: DEBUG (development only), INFO (business events), WARN (degraded but functional), ERROR (failure requiring action)243- Never log passwords, tokens, PII, or credit card data244245**Traces** (how it happened):246- Instrument every service call, DB query, and external API call247- Use OpenTelemetry — vendor-neutral, works with Jaeger, Zipkin, Honeycomb, Datadog248- Propagate trace context across all service boundaries (headers: `traceparent`, `tracestate`)249250### 4.2 Alerting Design251- Alert on symptoms, not causes (high error rate, high latency — not "CPU > 80%")252- Every alert must be actionable — if you can't describe what to do when it fires, don't create it253- Alert on SLO burn rate, not just threshold crossings254- Create runbooks for every alert: "When X fires, do A, B, C. If that doesn't resolve, escalate to Y."255256### 4.3 Dashboards257At minimum, every service needs a dashboard showing:258- Request rate (total, per endpoint)259- Error rate (total, per error type)260- Latency (P50, P95, P99)261- Active instances / pod count262- Memory and CPU utilization263- Database connection pool utilization264- Queue depth (if applicable)265- Downstream service health266267---268269## Phase 5: CI/CD Pipeline270271### 5.1 Pipeline Stages (Non-Negotiable Order)272```273[Commit] → [Build] → [Lint & Format Check] → [Unit Tests] → [Security Scan]274 → [Integration Tests] → [Build Container] → [Container Scan]275 → [Deploy to Staging] → [E2E Tests] → [Deploy to Production]276 → [Smoke Tests] → [Done]277```278279No stage may be skipped. Failed stage blocks progression.280281### 5.2 Deployment Strategies282- **Blue/Green**: Two identical environments; switch traffic atomically. Zero downtime. Easy rollback.283- **Canary**: Gradually shift traffic to new version (1% → 10% → 50% → 100%). Catch issues with limited blast radius.284- **Rolling**: Replace instances one at a time. Simple but slower rollback.285- **Feature flags**: Deploy code dark; enable feature selectively per user/group. Best for risky features.286287**Default recommendation**: Canary + feature flags for most production services.288289### 5.3 Container & Kubernetes Standards290```dockerfile291# Dockerfile non-negotiables292FROM <official-base>:<specific-version> # Pin version exactly293USER nonroot # Never run as root294COPY --chown=nonroot:nonroot . . # Don't run as root295RUN <build-steps> # Separate RUN layers minimally296HEALTHCHECK --interval=30s CMD <check> # Always define health check297```298299Kubernetes checklist:300- [ ] Resource requests and limits set for every container301- [ ] Liveness and readiness probes configured302- [ ] Pod disruption budgets defined for critical services303- [ ] HorizontalPodAutoscaler configured304- [ ] NetworkPolicy restricting ingress/egress305- [ ] RBAC for service accounts (principle of least privilege)306- [ ] Secrets from secrets store, not Kubernetes Secrets (or use Sealed Secrets / External Secrets)307- [ ] Pod security standards enforced308309---310311## Phase 6: Documentation Standards312313### 6.1 Required Documentation (Non-Negotiable)314- **README.md**: What does this do? Why does it exist? How do I run it locally in 5 commands?315- **Architecture Decision Records (ADRs)**: One file per significant architectural decision. Format: Context → Decision → Consequences. Stored in `/docs/adr/`.316- **Runbook**: How to operate this in production. How to restart. How to debug. Common failure modes and fixes.317- **API Reference**: OpenAPI spec + human-readable usage examples318- **Data Dictionary**: Every significant data model documented (fields, types, constraints, relationships, business meaning)319320### 6.2 ADR Template321```markdown322# ADR-001: [Short Title]323324**Date**: YYYY-MM-DD325**Status**: Proposed | Accepted | Deprecated | Superseded by ADR-XXX326327## Context328What is the situation requiring a decision? What forces are at play?329330## Decision331What was decided?332333## Consequences334What are the positive, negative, and neutral outcomes of this decision?335What is now easier? What is now harder?336337## Alternatives Considered338What else was considered and why was it not chosen?339```340341---342343## Phase 7: Pre-Launch Checklist344345Before any production launch, verify all of the following:346347### Functionality348- [ ] All acceptance criteria from requirements verified349- [ ] All edge cases tested350- [ ] Load tested to 2x expected peak traffic351- [ ] Chaos testing: what happens when a dependency dies mid-operation?352353### Security354- [ ] Penetration test performed (at minimum: automated scan with OWASP ZAP or Burp Suite)355- [ ] Secret rotation process documented and tested356- [ ] All dependencies up to date with no critical CVEs357- [ ] Data encryption verified at rest and in transit358- [ ] Access control reviewed by a second person359360### Operations361- [ ] On-call rotation defined and runbook published362- [ ] Alerting configured and tested (fire a test alert)363- [ ] Rollback procedure documented and tested364- [ ] Backup and restore procedure tested (not just set up — tested)365- [ ] Incident response process defined366367### Compliance368- [ ] Data retention policy implemented369- [ ] GDPR/CCPA deletion mechanism implemented if applicable370- [ ] Audit log implemented for all privileged operations371- [ ] Privacy policy and terms of service updated372373---374375## Self-Improvement Loop for Builders376377After every system is built and deployed:3781. Run a post-launch review: what failed, what was harder than expected, what would you change?3792. Read the post-mortems of similar systems that failed (Google SRE Book, Jepsen analyses, AWS post-mortems)3803. Read the architecture papers of systems that scaled (Dynamo paper, Bigtable paper, Kafka paper)3814. Update your mental model. The next system will be better.
Run npx skillmds@latest add ardurai/god-dev-builder in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
God-level product and system builder skill. Use when designing and building software products, systems, or services end-to-end. Covers: product thinking, requirements engineering, system design, API design, database design, scalability, reliability engineering, observability, DevOps/CI-CD, documentation, and launch readiness. Ensures no shortcut is taken from idea to production. Prevents the most common catastrophic engineering mistakes. Treats every architectural decision as a research question first. It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ArdurAI (@ardurai) published this skill. Their other Agent Skills are listed on their SkillMD profile.