Skip to content
Agentguiden.no
Submit

Give the coding agent a design spec before it builds

Founder Wilbert Liu built his personal site with Codex CLI. He copied the long design prompt from the Anthropic frontend design plugin into a local markdown file, and asked Codex to read it as the design spec before writing any code. The result was nearly right on the first try, and a few rounds fixed the rest. He can reuse the file in other projects, but he still has to supply the taste and direction himself.

Done with CodexModerate

What was done

Founder Wilbert Liu built his personal site with Codex CLI. He copied the long design prompt from the Anthropic frontend design plugin into a local markdown file, and asked Codex to read it as the design spec before writing any code. The result was nearly right on the first try, and a few rounds fixed the rest. He can reuse the file in other projects, but he still has to supply the taste and direction himself.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with Codex

Read [design file] and use it as the design spec for [website]. Summarise the rules for typography, spacing, colour and structure in your own words. Then build the front page and [pages] in [framework] following those rules. Show me the summary before you write code. You are done when the pages run locally, follow the spec and you have listed the places where you had to make your own choices.

Replace text in brackets with your own.

Read the original

wilbertliu.com ·

  • Add a new feature from a screenshot with an arrow

    A developer showed his wife a list app he has built and asked whether she would change anything. She wanted a way to create a new list from the items that were not ticked off. He wrote the request to the agent in Cursor and attached a screenshot with an arrow showing where the button should go. Minutes later the change was in, and seconds later it was live. He writes that there is still more to do.

    Cursor@adam_bobowski on X ·

  • Build your own markdown viewer that opens instantly

    A developer on Hacker News asked Claude Code to build a markdown viewer for macOS, from the same codebase as the JSON viewer he already had. He asked for it to open fast. He now says it opens and displays a file faster than any other app he uses on macOS. He offers it as an example that you can build small personal programs yourself, but he shows no measurements of the speed.

    Claude CodeHacker News ·

Five agents a day

A short daily email with five concrete examples of AI agents. Nothing else.