# ERD: Engineering Requirements Document

> Turns an approved PRD into a system architecture, a program design, and a vertical-slice build order, with a human review gate after each phase.

ERD: Engineering Requirements Document is a paid AI agent skill on Agensi by Maulik Sompura, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.29 (one-time purchase)
- Creator: [Maulik Sompura](https://www.agensi.io/creators/maulik-sompura)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.1
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/erd-engineering-requirements-document
- Tags: ai-agents, software-architecture, technical-design, documentation, erd, software-factory, vertical-slices

## About this skill

Design the code before your coding agent writes it. This skill covers phases 2 to 4 of the software factory Dex Horthy (HumanLayer) describes in [Why Software Factories Fail](https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md). Each phase ends in a human review, so the reviewer settles the architecture, the shape of the code, and the build order before any code exists. ERD here means Engineering Requirements Document, not an entity-relationship diagram. The companion **PRD** skill covers phase 1.

### What it does

- **Reads the approved PRD** and carries its scope, out-of-scope list, and constraints forward. A refactor with no product change starts here directly.
- **Phase 2, system architecture.** Requirements, API contracts per user journey, capacity, data schemas and query shapes, sequence diagrams, logging and alerts, failure points, and security.
- **Phase 3, program design.** A file-tree diff, types and signatures, call-stack trees, test seams, pattern choices, and business rules.
- **Phase 4, vertical slices.** A build order of small end-to-end slices. Slice 1 is a tracer bullet, and each slice ends in something a reviewer can touch and a proving test.
- **Drafts one phase at a time** with a review gate after each. Ask for all three and it drafts them in one pass, then walks you through them in order.
- **Sends product gaps back** to the PRD owner with a proposed answer, and proceeds on a labeled `Assumption` instead of blocking.

### Sizing

Large changes get all three phases. Medium changes get one plan doc with the architecture sections that apply plus the file tree and signatures, built in one pass. Small changes skip the ERD entirely.

### Output

Markdown by default, so the coding agent reads it as context and Git diffs it cleanly. Each PR then lists its deviations from the ERD.

Pairs with the PRD skill, which writes the product requirements this skill starts from.

## Known limitations

It plans and does not write product code. It needs product intent first, either an approved PRD or a short product summary it confirms with you. Capacity numbers are estimates until someone measures them. Works best in an agent that can read your codebase.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ERD: Engineering Requirements Document skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is ERD an entity-relationship diagram?

No. Here ERD means Engineering Requirements Document, the technical design that turns an approved PRD into code a reviewer can trust. It does include data schemas and query shapes.

### Do I need the PRD skill first?

For a product change, yes, ideally. The ERD is written against an approved PRD. For a Medium change it can write a short product summary and confirm it with you, and a refactor with no product change starts at the ERD directly.

### Why one phase at a time?

Each phase builds on the one before, so a correction at the architecture gate costs minutes while the same correction in program design costs a redraft. Ask for all three at once and it drafts them in one pass, then walks you through them in order.

### Which agents does it work with?

Any agent that reads the SKILL.md format. It was written for Claude Code and Codex, and the bundled agents/openai.yaml adds an $erd command in Codex.

### What's in the download?

One folder, erd/, with SKILL.md and agents/openai.yaml. Unzip it into ~/.claude/skills for Claude Code or ~/.codex/skills for Codex. No scripts and no dependencies.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
