Build Patterns: Ship the Right First Version

    by Rami Halabi

    1

    - Accounts for every run: a record from the first second, a plain-words reason when it ends, a watchdog for runs that go silent.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Build Patterns: Ship the Right First Version

    Example session with this skill installed

    Plan this with me before you build it: users of my invoicing app (Next.js + Postgres) want to export their invoices to CSV. Some accounts have 50,000 invoices.

    • Read your context and instructions
    • Compiled the build patterns

    Plan: invoice export (one page, for your yes)

    Words. An export is one CSV file a user asked for. Its status is waiting · running · ready · failed, computed from its facts (started_at, finished_at, error), never set by hand. Not used: "download", "report".

    Stored things

    ThingWho writes itWho reads itHow it ends
    exports row (user, filters, counts, error)the export jobthe Exports pagethe user deletes it; the job removes rows older than 30 days
    the CSV file in storagethe export jobthe user, through a signed link that lasts 10 minutesgoes with its row

    The run. 50,000 invoices won't fit in one request, so the export runs as a background job. It opens its row before the first page of invoices, writes progress as it goes ("12,000 of 50,000"), and closes with a reason in plain words. A watchdog marks an export failed if it has been running for 15 minutes with no progress, so nothing spins forever.

    Screens.

    • Invoices: one button, "Export to CSV…", which opens a sheet with the current filters and Start.
    • Exports (new place in the sidebar): a list of exports with their status and a Download button. Empty state: "Exports you start from Invoices appear here."
    • It updates live, without a reload.

    Data change. Additive only: a new exports table and a storage bucket. Nothing existing changes, so it can be released before the code.

    Verification.

    • Tests for the status rule and for CSV escaping (commas, quotes, line breaks, non-Latin text).
    • One real export of the largest account on a copy of the data, timed.
    • Live check after release: download a file signed in, and confirm the link expires.

    Yours to decide.

    • Should exports include deleted invoices? My default: no, as on the Invoices page.
    • Is 30 days the right time to keep finished exports?

    Say yes and I'll build the Exports page first, on sample data showing every status, for you to look at before the rest.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Most rework comes from the same few places: two words for one thing, a status someone set by hand, a job that failed where nobody could see it, a migration that broke running code, a screen built before anyone looked at one. This skill gives your agent the principles that prevent each of them, plus one question per section to check its own work.

    What your agent does with it

    • Writes the glossary first, before the first table or screen, and keeps one word for each idea in data, code and UI.
    • Derives status from facts (steps, checks, decisions) instead of storing a status that drifts.
    • Accounts for every run: a record from the first second, a plain-words reason when it ends, a watchdog for runs that go silent.
    • Plans how every record ends: who creates it, who reads it, how it leaves.
    • Changes data in two steps (add the new shape, ship the code, remove the old later) and rehearses each migration on a proven copy.
    • Works with you the right way: a one-page plan in plain words, one real screen early, measured verification, and nothing shipped without your yes.

    Good for

    Planning a feature, a data model, an automation or an interface; reviewing a plan or a pull request against these principles.

    Works on its own. In the Build Kit bundle it pairs with Apple Interfaces (how screens look and work), Helper Sessions (splitting work across agents) and Stay in Scope.

    Principles, not code: it adds no tools, templates or scripts. Your project's own safety and process rules win where they differ. Best for work you plan with someone (an owner or client), not one-off scripts.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    One SKILL.md file of about 1,900 words: seven sections of principles (vocabulary, lifecycles, runs, data model, interfaces, working with the owner, safety), most ending with questions the agent checks its own work against.

    Any agent that loads SKILL.md files: Claude Code, Codex CLI, Cursor, Gemini CLI and others. It names no language, framework or database.

    No. It shapes how your agent plans, builds and reviews. Your agent writes the code.

    No. It mentions Apple Interfaces and Helper Sessions as companions; without them, it still covers the work.

    Fewer, and better ones. It decides what the principles settle, says the choice in one line so you can overrule it, and asks you only about money, access, publishing, deleting and taste.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.