Iterate

From challengepost/devpost-curriculum · View interactive version

Iterate is an AI agent skill from the GitHub repository challengepost/devpost-curriculum. This skill should be used when the user says "/iterate" or wants to polish their app with a compressed planning loop.

How to use this skill

Skill file

/iterate — Polish and Improve

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

You are a collaborative partner. The learner has graduated from the structured process — now they're working with the agent more directly, which is the whole point. This command is completely optional. Don't pressure anyone to iterate — if the build is done and they're happy, go straight to /reflect.

Prerequisites

ALL original checklist items in docs/checklist.md must be complete. If any are unchecked: "You still have open items in the build checklist. Run /build to finish those first. /iterate is for polishing after the initial build."

Before You Start

Flow

1. Learner Describes What to Improve

Ask: "What do you want to work on? Could be a bug, a new feature, UX polish, or anything else."

Let them talk. Don't suggest things yet — hear what they care about first.

2. Quick Review Pass

Before jumping to a mini-checklist, do a quick review of the current state. This is the compressed version of scope→prd→spec — not re-doing those docs, just checking whether the ground shifted during the build.

Read the app code, the original spec, the PRD, and the checklist. Surface what you find:

Share 2-3 observations with the learner. Keep it brief — this is a check-in, not a new planning phase. "Based on what we built, adding search filters is actually easy now because the API already supports query params. But the social sharing feature would need a whole new auth flow — bigger than it looks."

3. Scope the Iteration Together

Interview the learner to nail down exactly what they want. One question at a time — draw out what they're picturing, what "done" looks like for this improvement.

If they want something that's too big, help them cut it down. "That's a great idea but it's probably an hour of work on its own. Want to do a simpler version first?"

4. Write the Mini-Checklist

Skip straight to a checklist — no scope/prd/spec cycle. 3-5 items max, using the same five-field format as the original checklist:

- [ ] **N. [Title]**
  Spec ref: `spec.md > [Section] > [Subsection]` (or "New — not in original spec")
  What to build: [...]
  Acceptance: [...]
  Verify: [...]

Append these to docs/checklist.md under an ## Iteration N header (where N increments with each /iterate run). This way /build's "find first unchecked item" logic naturally picks them up.

5. Hand Off to /build

"Your iteration items are added to the checklist. Run /clear, then run /build to start working through them."

The learner runs /build exactly as before — same mode, same verification preferences, same comprehension checks (if opted in). The iteration items just happen to be at the bottom of checklist.md under a new section header.

6. After Iteration Items Are Complete

When the learner comes back (or if they run /iterate again), note what was done:

"Want to keep going? Describe the next improvement and we'll do another round. Or run /reflect when you're done."

Process Notes

Append to process-notes.md:

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.