DESIGN.md Pro
Skip to article

7 Practical Ways to Use a DESIGN.md File

Use one design file for a landing page, a pricing table, form states and a handoff. Each use has a concrete task you can give your coding agent.

Necati Ozmen3 min read

A useful first assignment for a DESIGN.md is small enough to review in one sitting. Pick a file in the getdesign.md catalog and try one of these with a screen that already has real content.

Three ways to start a screen

  1. Give a homepage a clear hierarchy. Ask the agent to apply the file’s heading and body styles to existing copy. Check the longest headline at mobile width.
  2. Build a pricing comparison. Have the agent use the same spacing scale for plan names, prices and feature rows. Include a plan with a two-line name.
  3. Add a contact form. Request default, focused and invalid field states together. Tab through the form and trigger an error before accepting the result.

Four ways to maintain a product

  1. Extend an existing page. Add a customer story using the file’s typography and the existing container width. Look for a clean transition from the section above.
  2. Restyle an older screen. Limit the first change to headings, buttons and surfaces. Verify the existing submit action still works.
  3. Review a contribution. Ask the agent to identify hard-coded values that conflict with the file. Review its list before requesting edits.
  4. Hand off to another contributor. Give them the file and a blank settings screen. Their questions reveal missing rules. If they have to guess how destructive actions look, add a concrete example.

Keep the task and the accepted result together. The next contributor can then compare a written rule with an actual screen.

Work through one example from brief to handoff

Take the pricing comparison in the second exercise. Gather your actual plan names, prices and billing periods. Make one row deliberately awkward: a plan with a minimum seat count or an annual commitment. That row forces a decision about how the design handles exceptions.

Build a comparison for these three plans. Read docs/DESIGN.md first. Align prices by billing period, keep the seat minimum beside the affected price, and use the same primary action style as our checkout.

Inspect the first render with a teammate. Ask them to identify the least expensive option for a team of six. If they choose the wrong plan because they missed the minimum, move the qualification closer to the price. A muted footnote can satisfy a design rule about secondary text while still failing this particular task.

Once that layout works, extract a short example for the file: “Keep conditions that change the amount paid beside the price. Put explanatory details beneath it.” Now the pricing exercise also supplies a handoff rule for the billing page. You can use DESIGN.md Pro to try the long-label and small-screen cases on the canvas before asking another contributor to apply the pattern.