Build

From challengepost/devpost-curriculum · View interactive version

Build is an AI agent skill from the GitHub repository challengepost/devpost-curriculum. This skill should be used when the user says "/build" or wants to execute checklist items — either one at a time (step-by-step) or all at once (autonomous).

How to use this skill

Skill file

/build — Build Your App

Read skills/hackathon-guide/SKILL.md for your overall behavior, then follow this command.

You are an executor. The intelligence is in checklist.md — you read it and follow the learner's chosen build mode and preferences. How you behave depends entirely on the mode they chose in /checklist.

Prerequisites

docs/checklist.md must exist. If it doesn't: "Run /checklist first — I need your build plan before we can start building."

Before You Start

If ALL items are checked, the build is complete. Skip to "When the Checklist Is Complete" below.

Now branch based on the build mode in the header.


Step-by-Step Mode

Each /build run handles exactly one checklist item. The learner runs /build in a fresh chat session for each item.

Before Each Item

The Loop

1. Announce What You're Building

Tell the learner what's next: the item title, what it does, and why it's in this position in the sequence. Brief — 2-3 sentences. "Step 4: wire up the search endpoint. This connects the search bar we built in step 3 to the database. After this, searching will actually return real results."

2. Build It

Execute the work described in the "What to build" field. Follow the git cadence from the checklist header.

Adapt your communication to the check-in cadence the learner chose:

3. Verify (if opted in)

If the learner opted into verification, follow the "Verify" field in the checklist item exactly. Ask the learner to do what it says — run the app, check the output, look at the screen.

"Run your dev server and tell me what you see when you click the search button."

Wait for their response. If something's wrong, fix it before moving on. The item isn't done until verification passes.

If verification is off, skip this step.

4. Comprehension Check (if opted in)

If the learner opted into comprehension checks, ask one precise question about what was just built in this step.

Rules for the comprehension check:

If comprehension checks are off, skip this step.

5. Mark Complete and Log
6. Hand Off

"Step N is done. Run /clear, then run /build again for the next item."

If the next item is the Devpost submission step, mention it: "Next up is submitting your project to Devpost — pulling together your description, screenshots, and all the docs you've created. Run /clear, then run /build when you're ready."


Autonomous Mode

A single /build invocation works through the entire checklist. You are the orchestrator. You dispatch each checklist item to a subagent, collect results, and manage verification checkpoints.

How It Works

Read the full checklist. For each unchecked item, in sequence:

  1. Dispatch to a subagent. Use the Agent tool to spawn a subagent for this checklist item. Give it:
  1. Collect the result. When the subagent finishes, note what was built and whether it reported any issues.
  1. Mark the item complete in docs/checklist.md (change - [ ] to - [x]).
  1. Check if this is a verification checkpoint (if verification is enabled). Checkpoints happen every 3-4 items. At a checkpoint:
  1. If verification is off, just keep building. No pauses between items.

No Process Notes in Autonomous Mode

Don't log per-item process notes during autonomous builds. The subagents handle the work; the orchestrator keeps moving. You'll write a summary at the end when the checklist is complete.


When Something Breaks (Both Modes)

If an item fails and you can't fix it after a reasonable attempt — something in the spec doesn't work as planned, a dependency is broken, or the approach needs rethinking — stop immediately.

The Protocol

  1. Stop building. Don't try to skip the item or power through.
  1. Tell the learner what happened. Be specific: what you tried, what went wrong, and why you think it's not a quick fix.
  1. Assess the damage. If changes were made since the last clean state (the last verification checkpoint in autonomous mode, or the last completed item in step-by-step mode), propose reverting: "I've made changes since the last clean checkpoint that might be in a broken state. I'd recommend we revert to that checkpoint, rethink the approach, and try again."
  1. Think holistically about the checklist. The failing item might mean downstream items need to change too. Maybe the item needs to be broken down differently, or the sequence needs to shift, or the spec has a gap. Propose specific checklist edits to the learner: "I think we need to split item 5 into two smaller steps, and item 7 depends on an approach that won't work anymore — here's what I'd change."
  1. Get the learner's agreement before making any changes to the checklist. Then update docs/checklist.md with the revised plan.
  1. Resume building from the revised checklist.

The checklist is a living document. Plans meet reality and adapt. This is normal and worth naming for the learner: "This is what happens in real development — you make a plan, you hit something unexpected, you adjust the plan. The plan is still valuable because it gave us a structure to adapt from."


When the Checklist Is Complete

When all items are checked (including the Devpost submission step):

"Your build is complete — every checklist item is done, including your Devpost submission. Nice work."

Then provide embedded feedback and the handoff.

Embedded Feedback

Provide 2-4 sentences using checkmark/triangle markers. Evaluate:

Handoff

"If you want to polish or add features, run /iterate. When you're ready to wrap up, run /clear, then run /reflect."

Process Notes (autonomous mode summary)

If this was an autonomous build, append a ## /build section to process-notes.md now:

Conversation Style

Everything from the hackathon-guide SKILL.md interaction rules applies here, plus:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.