# Design Before Build — Stop Agents Coding the Wrong Thing

> Write a design doc, a critique, a clickable mockup and a ticket list before your AI agent writes any code. A checker script fails the run if a section, the mockup or the tickets are missing. A wrong line of code costs a minute; a wrong design costs a rebuild.

Design Before Build — Stop Agents Coding the Wrong Thing is a paid AI agent skill on Agensi by CryptoJitt, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [CryptoJitt](https://www.agensi.io/creators/cryptojitt)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.2
- Last updated: 2026-11-22
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/design-before-build-stop-agents-coding-the-wrong-thing
- Tags: ai-agents, software-architecture, prototyping, project-management, product-design

## About this skill

Forces four artifacts to exist before any implementation code gets written on a build: a plain-English technical design doc (user path, stack, edge cases, security, explicit out-of-scope list), an adversarial critique pass on that doc, a clickable HTML mockup gate for anything with a UI, and a 3–8 ticket breakdown detailed enough to hand off cold. For freelancers, the design doc doubles as a scope document — anything a client asks for later that isn't in it is a change order, not free rework. Sized to the job: one page for a landing page, no ten-page ceremony on a two-hour task. Repeat-use on every new build.

New in v3: an included checker script that fails the run on a missing section, an empty critique, the wrong ticket count, a missing mockup, or any implementation file written too early, plus a job-sizing rule (under 4 hours gets one page), a client-build security checklist and fill-in ticket and final-reply templates.

**Ask your agent:** "plan this build", "write a design doc", "spec this out before we build", "make a mockup first", "break this into tickets".

**Not for:** one-line fixes, or choosing between visual options for a single section.

## Requires

- Python

## Known limitations

Does not write production code or framework scaffolding. Mocks are plain HTML/CSS only. Requires a manual review pass by the user to answer 'Open Questions' surfaced during design.

## 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 Design Before Build — Stop Agents Coding the Wrong Thing 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

### Will this skill write the final production code for my application?

This skill is a "pre-production" specialist; it focuses exclusively on architecture, logic, and UI mockups, explicitly stopping before the implementation phase to ensure your design is bulletproof before you spend time or tokens on coding.

### What specific assets are included in this purchase?

You will receive a modular agent configuration that includes the multi-step design gate sequence, templates for technical design docs, and a structured framework for generating clickable HTML prototypes.

### Which AI agents or models is this skill compatible with?

This skill is designed to be compatible with leading agentic platforms and LLMs (like GPT-4o and Claude 3.5 Sonnet) that support multi-step reasoning and long-form document generation.

### Can I use this for adding features to an existing project, or is it only for new builds?

Absolutely—while it excels at new features, you can provide an existing codebase as context, and the skill will design the new module's architecture and UI to ensure it integrates seamlessly without breaking existing logic.

### How does the 'adversary-style critique' phase actually help my project?

The "Adversary Critique" is a dedicated phase where the agent adopts a skeptical persona to intentionally look for security holes, race conditions, and UX friction points that a standard coding prompt would typically overlook.

### How are updates handled if the design frameworks or best practices change?

Updates are provided via the marketplace dashboard; when the developer refines the design templates or adds new critique parameters, you will be notified to sync the latest version to your agent.

---

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.
