Skip to main content

What you’ll build

You’ll create an install.md file for a hypothetical CLI tool called “myapp”. Each step shows you what to add to your file.

Step 1: Title and description

Create install.md with the product name and a brief description:

Step 2: Success criteria

Add OBJECTIVE and DONE WHEN so the agent knows when it’s finished:
DONE WHEN should be specific and verifiable.

Step 3: TODO checklist

Add a checklist of tasks for the agent to complete:

Step 4: Detailed instructions

Expand each TODO item into sections with commands. Use directive language—“You need to”, “You must”—to make clear these are instructions for the agent:

Step 5: Closing directive

End with EXECUTE NOW to trigger execution:
Optionally reference an llms.txt file for additional context:

Complete install.md

Here’s everything together:

Test it

  1. Copy the install.md content above
  2. Paste it into Claude Code, Cursor, or another AI coding assistant
  3. Watch the agent execute each step
  4. Iterate until it works reliably
Always review what the agent plans to do before confirming execution.

Publish

Mintlify users: install.md is generated automatically at yourdocs.com/install.md. Everyone else: Host your install.md at a predictable URL:
Or from a GitHub repo:

Next steps

Format specification

Detailed breakdown of each required section.

See real examples

Production install.md files from Trigger.dev, Browserbase, Resend, and more.