Skip to content
Back to skills

Hackathon

ASecurity

User-invoked side-route for a judged, time-boxed hackathon day: turns the event brief into a scored project choice, an over-full scope ladder re-planned from measured pace at fixed clock checkpoints, a production-grade build with a visible factory, and a table demo with judge Q&A drilled from a decision log. Not for an unjudged proof of concept (that's /lfg), not for production features, not model-invoked.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsgobashgitapidatabasesecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add chrislacey89/skills --skill hackathon --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hackathon?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hackathon
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chrislacey89-hackathon/badge)](https://www.skillsdirectory.com/skills/chrislacey89-hackathon)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hackathon
description: "User-invoked side-route for a judged, time-boxed hackathon day: turns the event brief into a scored project choice, an over-full scope ladder re-planned from measured pace at fixed clock checkpoints, a production-grade build with a visible factory, and a table demo with judge Q&A drilled from a decision log. Not for an unjudged proof of concept (that's /lfg), not for production features, not model-invoked."
disable-model-invocation: true
sources:
  primary:
    - "Shape Up — Ryan Singer"
    - "Hit Makers — Derek Thompson"
  secondary:
    - "The Pragmatic Programmer — Andrew Hunt & David Thomas"
    - "Noise: A Flaw in Human Judgment — Daniel Kahneman, Olivier Sibony & Cass Sunstein"
    - "The Checklist Manifesto — Atul Gawande"
---

# Hackathon

Plan, build, and demo one project inside a judged event's fixed build window.

A hackathon asks three questions that the normal pipeline does not, and this
skill exists to answer them:

1. **Which project wins?** The most useful project and the winning project are
   different choices. Judges see many tables in a row, rate noisily, and remember
   the best moment and the last one more than the average. Projects that win are
   *familiar surprises*: a frame the judge already knows, with one twist they
   did not expect, understood in seconds (Thompson's MAYA, "most advanced yet
   acceptable").
2. **How much fits?** Do not estimate in hours. An agent-assisted build does not
   move at human rates, and a model estimating its own throughput borrows human
   ones. Fix the time, vary the scope (Shape Up): plan more rungs than seem
   possible, **measure** how long rungs actually take on the day, and re-plan at
   fixed clock checkpoints from that measured pace. Your own measured rung time
   is the only reference class that counts.
3. **What does "done" mean when judges inspect it?** Many events judge the
   process as well as the product: tests, security, observability, and whether
   you can explain your decisions. The build keeps its tests and gates, and the
   process that produced the code (the *factory*) is something you show.

The time box is fixed. Scope, never the deadline, absorbs every surprise.

## Invocation Position

**Side-route, user-invoked only.** It fires when a human types `/hackathon
<brief-url-or-nothing>`; `disable-model-invocation: true` keeps its description
out of every other session's context. Send it as its own message, never as the
first message of a fresh workspace: a host that prepends text to a first message
displaces the slash command, and because this skill is hidden from the model it
cannot be looked up afterward (the same failure `/lfg` § Invocation Position
records).

It runs in **two sittings**: prep before the event (Phases 0–2) and the build day
(Phases 3–4). A second `/hackathon` with no argument resumes from the newest
dossier (see **State**).

**Boundary with `/lfg`.** `/lfg` takes an ask to an unattended proof-of-concept
PR and ends in `/pre-merge --loop`. Use it for a spike nobody judges. Use
`/hackathon` when a panel will judge the result inside a fixed window: it adds
project selection, clock checkpoints, and the demo, and it keeps a human in the
loop all day.

**Reconnects to the main workflow:** nowhere by default; the event is the end of
the line. If the project continues after the event, start it at `/shape` with the
dossier and `DECISIONS.md` as input. If the day exposed friction in the pack
itself, recommend `/improve-pipeline`.

**Mode.** HITL by default, one question per turn. A rung runs AFK only after its
row in the ladder names its done-condition and its tracer test.

**What this skill never does.** It never invents a judging rubric, weight, or
prize the brief does not state. It never pushes to the event repo before the
event's start time. It never moves the freeze or the submission deadline: when
time runs short it cuts rungs. It never writes the review-currency stamp, never
merges, and never runs `/closeout`.

## Locked vocabulary

Every phase reads these values. Change one here and nowhere else.

| Name | Value |
|---|---|
| Candidate count | 5–8 projects scored in Phase 1 |
| Score scale | 1–5 per dimension, anchored in **Phase 1** |
| Disagreement threshold | a blind second scorer differs by 2 or more on a cell |
| Ladder minimum | 6 rungs, at least 2 of them marked `~` (stretch) |
| Kickoff block | the first 20 minutes of the build window |
| Checkpoint interval | every 90 minutes from the end of the kickoff block, until the freeze |
| Freeze | 75 minutes before the submission deadline |
| Submission buffer | submit at least 60 minutes before the deadline, then keep editing the page until it closes |
| Story checkpoint | the last checkpoint before the freeze, or the freeze itself when no checkpoint comes before it: by then the submission page has every required section and the video is recorded |
| First Q&A drill | at the second checkpoint, or at the first when the freeze comes before a second one, or at the freeze when it comes before the first |
| Restyle cutoff | no visual redesign after the second checkpoint, or after the first when the freeze comes before a second one, or after the freeze when it comes before the first |
| Table script length | 60 seconds |
| Acceptance script length | 3 minutes, on a phone |
| Dossier prefix | `hackathon-` |

## State

Two homes, split on purpose.

- **Prep lives off-tree**, in the project's sidecar (the pack's private, local
  git repo outside the working tree), as one dossier:
  `<sidecar>/research/hackathon-<YYYY-MM-DD>.md`. Events often require the repo
  to be empty until the start, so nothing from prep may be committed there.
  The dossier's shape is
  [references/dossier-template.md](references/dossier-template.md).
- **From the start time on, two files live in the event repo:** `PLAN.md` (the
  ladder, the clock plan, and a `## Submission draft` section holding the
  submission page's text) and `DECISIONS.md` (the decision log). This is a
  scoped exception to the pack's rule that durable state never lives in the
  project tree. Here the repo *is* the judged deliverable, and judges read the
  decision log. The exception covers those two files in an event repo and
  nothing else.

Set up the sidecar in the directory that will become the event repo. Create it
with `git init` and **no commits and nothing pushed**, so the empty-until-start
rule holds. Ask the user for the event repo's remote URL (the empty repo they
create on the forge) and record it with `git remote add`, which pushes nothing,
**before** `init`: `init` reads the remotes once to set `forge.kind` and the
write permissions, so a sidecar created with no remote records `none` and
routes PRDs, slices, and the review stamp to the sidecar instead of GitHub. The
resolver has no command that re-derives `forge.kind` later (`config set mode`
re-derives only the write permissions), so if the URL is not known yet, do not
leave the remote off. Ask which forge host the event repo will use, put a
placeholder on that host in the `<event repo remote URL>` slot below (for
example `https://github.com/placeholder/event-repo.git`), and when the real URL
arrives run `git remote set-url origin <real URL>`; the sidecar still resolves
and `forge.kind` stays as recorded. The resolver is the bundled
[references/sidecar.sh](references/sidecar.sh), at its absolute installed path:

```bash
SC="<this skill's directory>/references/sidecar.sh"
git rev-parse --git-dir >/dev/null 2>&1 || git init -q
# The URL the user gave for the event repo. Adds the remote only; pushes nothing.
git remote get-url origin >/dev/null 2>&1 || git remote add origin "<event repo remote URL>"
if git rev-parse --verify -q HEAD >/dev/null; then
  echo "note: this repo already has commits; if the event requires an empty repo until the start, stop and use a fresh directory" >&2
fi
SC_ERR="$(mktemp)"
if bash "$SC" resolve 2>"$SC_ERR"; then
  echo "sidecar: resolved (a hit; do not run init)"
elif grep -q '^SIDECAR MISS' "$SC_ERR"; then
  cat "$SC_ERR" >&2
  echo "sidecar: miss; ask the mode question below, then run init" >&2
else
  cat "$SC_ERR" >&2
  echo "sidecar: resolve failed without a SIDECAR MISS line; stop and relay it as printed" >&2
  rm -f "$SC_ERR"
  exit 1
fi
rm -f "$SC_ERR"
```

Creating a sidecar is a human decision, so run `init` only on the `SIDECAR MISS`
line above. On any other failure, stop and relay what the block printed, with no
questions and no `init`. On a miss, ask **one question**: is the event repo
`owned` (the user's own, so the pack may write issues and PRs on its forge) or
`guest` (the organizer's or someone else's, so the pack writes nothing to its
forge)? Recommend `guest` when the repo sits in an organizer's or sponsor's org.
Then run `init` with the miss line's suggested `--name` and the answer:

```bash
SC="<this skill's directory>/references/sidecar.sh"
bash "$SC" init --name <suggested name from the miss line> --mode <owned|guest> --write sidecar --in-tree-path none --no-migrate-archive
```

Relay an `init` refusal as printed. Then, on a hit or after `init`:

```bash
SC="<this skill's directory>/references/sidecar.sh"
research_dir="$(bash "$SC" path research)" || exit 1
echo "dossier: $research_dir/hackathon-$(date +%F).md"
```

Commit the dossier to the sidecar at the end of each phase. Set the dossier's
`phase:` first, to the phase that comes next (`choose` after Phase 0, `shape`
after Phase 1, `build` after Phase 2, `demo` at the freeze, `done` after
Phase 4), so a resume starts where the work stopped:

```bash
SC="<this skill's directory>/references/sidecar.sh"
bash "$SC" commit -- "<dossier path>" -m "hackathon: <phase name>"
```

**Resume.** With no argument, find the newest dossier, read it, and continue
from the `phase:` its frontmatter records (`demo` resumes at Phase 4). A `build`
resume skips the kickoff block when `PLAN.md` is already committed in the event
repo:

```bash
SC="<this skill's directory>/references/sidecar.sh"
research_dir="$(bash "$SC" path research)" || exit 1
newest="$(find "$research_dir" -maxdepth 1 -name 'hackathon-*.md' | sort | tail -n 1)"
if [ -z "$newest" ]; then
  echo "no dossier in $research_dir; start at Phase 0" >&2
  exit 1
fi
echo "$newest"
sed -n '2,/^---$/p' "$newest"
```

## Process

### Phase 0. Event profile

Take the brief as a URL (fetch it, and any rules, FAQ, or judging page it links)
or as pasted text. Fill the dossier's **Event profile** table. Mark every field
`stated` (with a short verbatim quote) or `not stated`:

- start time, build window, submission deadline, and submission platform
- judging format (stage pitch, floor or table visits, video) and length
- judging criteria and any weights
- tracks and prize categories, including sponsor prizes
- whether a team enters one category or every entry is eligible for every
  award. When every entry is eligible, there are no lanes to pick, only awards
  to be the clearest example of
- stated values about what wins (for example "an ambitious idea that mostly
  works can beat a safe one that's flawless"), quoted
- team size; rules on pre-built code, templates, and installed tooling
- allowed tools and models; required artifacts (repo, video, write-up)

**Kickoff remarks are part of the brief.** Organizers often say aloud what
they are looking for: an example of a winning idea for each award, how many
judges will visit each table. Record those remarks as `stated`, quoting the
speaker, as soon as you hear them, and recheck the chosen project against them
in the kickoff block.

Never fill a `not stated` field with a typical value. A rubric you invented
steers every later score toward a judge who does not exist. Instead, list each
gap as a question for the organizers in the dossier's **Open questions**.
Whether your own installed tooling counts as pre-built code is always on that
list unless the rules state it.

**Recheck before the build.** When a rules guide or judging guide arrives later,
redo this phase against it before Phase 3.

**Team.** Then ask, one question at a time, who is on the team and what each
person will do on the day: who writes code, and who does not. Record each person
in the dossier's **Team** table with the accounts they need logged in. A team is
rarely all builders. A common shape is one developer driving agents plus a
product, design, or domain person who writes no code, and that person is not a
spare pair of hands. They are the one independent reader the build has, and
Phases 1–4 give them work only a non-builder can do well (see **Lanes** in
Phase 2).

### Phase 1. Choose the project

1. **Reference class.** Look at what this event, or the same series, picked
   before: a past-winners gallery (Devpost and similar list them), a recap post,
   or sponsor-track winners. Note in one line each what the winners had in
   common. If there is no history, record `none found` and move on.
2. **Generate candidates.** Ask the user, one question at a time, what problems
   they care about and what the tracks invite. Then propose candidates up to the
   Locked count. Include at least one that is *familiar* and one that is
   *ambitious*, so the scoring has range.
3. **Score each dimension across all candidates before totaling anything.**
   Score dimension by dimension, column by column, never candidate by
   candidate. A strong first impression of one candidate then cannot raise its
   other scores (Noise's decomposition move: independent assessments first, one
   holistic judgment last). Anchors, 1 → 5:

   | Dimension | 1 | 5 |
   |---|---|---|
   | **Fit** | fits no stated track or criterion | the clearest example in the room of one stated award, and hits every stated criterion |
   | **Familiar surprise** | either a clone of a known thing, or nothing a judge can map to anything | sayable as "a known X, for / with an unexpected Y" |
   | **Peak moment** | nothing visibly happens in a demo | one moment the judge does not predict, happening live, ideally from the judge's own input |
   | **60-second legibility** | needs a setup talk before it makes sense | a judge gets it from the first screen and one sentence |
   | **Factory showcase** | the process behind it would be invisible | building it exercises tests, gates, and agents you can tour |
   | **Slow-dependency risk** (higher is safer) | needs approvals, hardware, scarce data, or a paid tier | runs on accounts you already have, with public or synthetic data |
   | **Why you** | no reason you, specifically, built this | a reason you can say in one sentence that a judge will believe |

   Weights follow the brief's stated weights. When none are stated, weight the
   dimensions equally and say so; do not invent a weighting.

   **Ambition check.** On an AI-themed event, ask of each candidate what the AI
   does that a judge can watch. Drafting text that a person then approves is
   the safe floor. Reading messy input, deciding, explaining a choice, or
   producing working code is what judges remember. A candidate whose AI only
   drafts scores no higher than 3 on **Peak moment**. Keep the human approval
   step when the domain needs one; put the ambitious work in front of it.
4. **Blind second scorer.** Spawn one fresh sub-agent. Give it only the event
   profile, the candidate one-liners, and the anchor table, never this
   conversation. Have it score the same grid. Discuss only the cells where the
   two grids differ by the Locked disagreement threshold. That spread is the
   noise in your own judgment. When the team includes a non-builder, have them
   score the grid too, on their own and before seeing either grid. A person who
   thinks like a user is the closest stand-in for a judge you have, and their
   column is worth more than a third model.
5. **Compare, then commit.** The Locked candidate count, scored on seven dimensions,
   meets the comparison threshold in
   [references/next-step-menu.md](references/next-step-menu.md) § Show the
   comparison before you take the choice. Show the grid as a table first, then
   ask the user to pick with an `AskUserQuestion` menu. The menu's option cap
   (see the same reference) is smaller than the candidate count, so offer only
   the top scorers that fit, top scorer first and marked recommended; the
   free-text "Other" hatch takes a pick from the rest of the table.
6. **Write the three lines everything else hangs on** into the dossier:
   - the **high-concept line** ("a known X, with Y"),
   - the **peak moment**: the one thing the judge watches happen, and
   - the **award line**: "the best <award> entry in the room because <reason>",
     using the organizers' own words for the award. Have someone outside the
     build (the non-builder, or a fresh sub-agent given only the line and the
     event profile) say back what the project is and why it wins. If they
     can't, rewrite the line or change the project.

   **Choose in the prep sitting, never on the build day.** A project first
   picked in the hour before kickoff pushes its name, its accounts, and its
   product rules into the build window, where each one costs an hour.

### Phase 2. Shape

Use `/shape`'s discipline compressed to one sitting; point at it rather than
re-deriving it. Fill the dossier:

- **Scope ladder.** List at least the Locked minimum of rungs, in build order.
  Plan more than seems possible on purpose: cutting a planned rung at a
  checkpoint is cheap, and an empty ladder at mid-afternoon wastes the day.
  - **Rung 1 is a tracer bullet** (Hunt & Thomas): the thinnest path that runs
    end to end through every real layer, demoable on its own, built with
    production structure rather than as a throwaway prototype. If only rung 1
    ships, you still have a demo.
  - Each later rung adds one thing a judge would notice, and it must be able to
    land on its own.
  - Mark nice-to-haves `~` (Shape Up's scope hammer). They are the first cut.
  - Give each rung a done-condition and the tracer test that proves it. A rung
    without both is not ready to run AFK.
  - Put the peak moment as early on the ladder as it can go.
  - The rung that carries the peak moment, and the rung where the AI does its
    most ambitious work, are never `~`. Cutting them at a checkpoint leaves a
    safe, forgettable demo; cut polish instead.
  - An integration earns a rung when a judge sees it happen: a message the
    judge sends, an email that lands on the judge's phone. Plumbing a judge
    never sees (bot checks, tracing, rate limits) belongs in the factory tour,
    not on the ladder.
  - **The submission is a rung**, with no code. The build lane's agent creates
    the platform page in the kickoff block with every required section stubbed,
    drafts each section from the dossier and `DECISIONS.md` as rungs land, in
    `PLAN.md`'s `## Submission draft` section (no new file), and re-pastes the
    page at each checkpoint. The demo-lane owner reviews it. The page is
    complete, video included, by the Locked story checkpoint. It is never `~`:
    cutting it at a checkpoint leaves nothing to judge.
- **Rabbit holes and no-gos.** Name what you will not build, and the parts most
  likely to swallow an hour, along with what you will do instead.
- **Slow-dependency work goes first.** Move to the kickoff block and rung 1
  everything an agent cannot speed up: API keys and quotas, OAuth and auth, the
  deploy target (its final hostname), the riskiest third-party integration, and
  data access. These fail slowly, and they fail late if left late.
- **Settle the identity and the rules before the build.** In prep, decide and
  record: the name and tagline, the domain, the email-sending domain (a
  sending domain created on the day lands in spam), any paid tiers the deploy
  target needs, and the visual direction and component library. Also write a
  **who sees what** table: each role, what it can see and do, and which abuse
  guards (rate limits, bot checks) are on. The non-builder signs it off. A
  question about who sees what that is first asked mid-build becomes a rework.
- **Name the real-world ground.** Write down the real system the project rests
  on: a public dataset, an official standard or format, a government
  directory. Lead the write-up with it. Judges read "built on the real thing"
  as evidence the project could ship.
- **Factory plan.** Decide which process artifacts to stand up at kickoff and
  show at the table: the pipeline hooks from `/init-pipeline`, CI running the
  tests on every push, a dependency or secret scan, structured logging or a
  health endpoint, and the decision log. Pick what the event's criteria reward.
  If the brief names none, default to tests, CI, and logs. When the criteria
  judge the factory, make its throughput visible as well as its discipline: if
  the build lane runs several agents, drive them from issues cut from the
  ladder, each agent in its own worktree with review before merge, so a judge
  can see work moving.
- **Lanes.** Split the day by lane, not by person, then give each lane an
  owner from the **Team** table. Record the owners in the dossier.
  - **Build lane** (whoever writes code, with agents): the rungs, the factory,
    the deploy, and the first draft of the submission page and table script.
    With several builders, give each a rung from the same ladder, choosing
    rungs that touch different files where possible. Every parallel agent
    session gets its own worktree; two sessions in one checkout commit each
    other's work.
  - **Demo lane** (a non-builder when there is one): owns the clock and calls
    each checkpoint; accepts each rung by using it on the deployed URL against
    its written acceptance script (below), not by reading code; seeds the demo
    data and rehearses the peak moment; keeps `DECISIONS.md` current by asking
    "why that one?" as decisions happen; reviews and edits the submission page
    and table script the build lane drafts; asks mentors and organizers the
    **Open questions** on the floor. Don't also hand this person the video
    edit, the write-up and every acceptance at once: one person holding all of
    those is where the afternoon stalls.
  - **Acceptance scripts.** For each rung, write the steps the demo-lane owner
    follows to accept it, short enough to run within the Locked acceptance
    script length, before the rung is built. Accepting is then a routine, not a
    conversation.
  - **Solo:** you hold both lanes. Put the demo-lane work into the checkpoint,
    so it happens at fixed times instead of never.
- **Seed the decision log.** Copy each decision made so far (project, stack,
  cuts), with the alternatives you rejected and why. Judges ask "why X over Y?",
  and the answer should already be written down.
- **Pre-flight checklist** for the night before (dossier template § Pre-flight):
  accounts logged in on the build machine, keys tested under the exact
  environment-variable names the code will read, the domain and paid tiers
  bought, the deploy target reachable, chargers and adapters packed, and the
  rules guide read with Phase 0 rechecked against it.

End prep: set `phase: build`, commit the dossier, and print the clock plan from
the next section so the user sees the day.

### Phase 3. Build day

**Clock plan.** Compute from the event profile, using the Locked vocabulary:

- the kickoff block's end (start time + kickoff block)
- each checkpoint (every checkpoint interval after that, while before the freeze)
- the Locked first Q&A drill and restyle cutoff
- the Locked story checkpoint
- the freeze (deadline − freeze)
- the submit-by time (deadline − submission buffer)

Write these times into `PLAN.md` and the dossier. Then hold them:
nothing in this phase moves the freeze or the submit-by time.

**Kickoff block** (after the start time and never before):

1. If the build actually starts at a time other than the event profile's start
   time, recompute the kickoff block's end and the checkpoints from the actual
   start, in `PLAN.md` and the dossier alike. The freeze and the submit-by time
   come from the deadline, so they stay. Add `PLAN.md` (State says what it
   holds) and `DECISIONS.md` (copied from the dossier's seeded log), make the
   first commit, then push it to the remote added in prep with
   `git push -u origin HEAD`.
2. Run `/init-pipeline` to scaffold the hooks and pre-commit gates. Then run
   `lefthook run pre-commit --all-files` once, locally, and commit whatever it
   changes as its own commit, before the CI config is pushed. The first commit
   (step 1) stays first and holds `PLAN.md` and `DECISIONS.md`, which no hook
   saw; this commit is where the hooks see them, so CI's first run does not
   fail on files committed before the hooks existed.

   Then add CI that runs `lefthook run pre-commit --all-files --fail-on-changes`
   and then `lefthook run pre-push`, so `lefthook.yml` stays the one source for
   what the hooks run. See [`lefthook run`](https://lefthook.dev/usage/commands/run/)
   for `--all-files` and [`fail_on_changes`](https://lefthook.dev/configuration/fail_on_changes/)
   for the failing-on-changes setting; `lefthook run --help` lists both flags.
   Never write a different command into CI: a CI step that checks other files
   than the hook fails on files every local commit passed.

   One CI step is the exception, and it is not taken from `lefthook.yml`: a
   secret scan of the repository's history. The scaffolded `gitleaks git
   --pre-commit --staged --redact` reads the staged changes, and in CI nothing
   is staged, so it would scan nothing. Add a step that runs `gitleaks git` from
   the repo root, on a checkout that carries the full history. Per
   [gitleaks' documentation](https://github.com/gitleaks/gitleaks#git), the
   `git` command scans a repository's commit history through `git log -p`, and
   scans the current directory when no path is given; its
   [exit codes](https://github.com/gitleaks/gitleaks#exit-codes) are 0 for no
   leaks and 1 for leaks or an error, so the step fails the run on a finding.
3. Deploy a hello-world to the deploy target, so the slowest unknown is resolved
   first.
4. Recheck the chosen project against the kickoff remarks (Phase 0, **Kickoff
   remarks are part of the brief**).
5. Stub the platform page with every required section (Phase 2, **The
   submission is a rung**), and put the stub in `PLAN.md`'s `## Submission
   draft` section (State).

**Rung loop.** For each rung, in ladder order:

1. Record its start time in the dossier.
2. Write the rung's tracer test first, then the code. Delegate to `/tdd` for
   behavior-heavy logic; invoking it creates `.claude/.tdd-active`. Once
   `/init-pipeline` has installed its hook, an implementation write is blocked
   unless a classification marker exists, so a rung that is visual, layout,
   styling, or copy only, and so does not go through `/tdd`, first creates
   the skip marker at the project root, where the hook looks, not in the
   current directory:

   ```bash
   ROOT="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}"
   mkdir -p "$ROOT/.claude" && touch "$ROOT/.claude/.tdd-skipped"
   ```
3. Run the tests, commit, and push. Then watch every CI run for the pushed
   commit until each finishes ([`gh run watch`](https://cli.github.com/manual/gh_run_watch)).
   A repo with a deploy workflow gets more than one run per push, and watching
   only the newest can report the deploy's green while CI is red. A run can take
   a few seconds to register, so the block polls for up to two minutes, and
   after it has watched the runs it found it lists again and watches any run
   that registered meanwhile, until a fresh list adds none. It exits 2 when
   `gh run list` fails and 3 when no run appears: neither is a CI result, so
   neither is green. On 2, fix `gh` (auth, network) and rerun the block without
   touching code. On 3, CI has no run for this commit: check that the push
   landed and that a workflow triggers on it:

   ```bash
   SHA="$(git rev-parse HEAD)"; IDS=; SEEN=; FAIL=
   for _ in $(seq 12); do
     IDS="$(gh run list --commit "$SHA" --json databaseId -q '.[].databaseId')" || exit 2
     test -n "$IDS" && break
     sleep 10
   done
   test -n "$IDS" || { echo "no CI run for $SHA" >&2; exit 3; }
   while test -n "$IDS"; do
     while IFS= read -r id; do
       test -n "$id" || continue
       gh run watch "$id" --exit-status || FAIL=1
       SEEN="$SEEN $id "
     done <<<"$IDS"
     ALL="$(gh run list --commit "$SHA" --json databaseId -q '.[].databaseId')" || exit 2
     IDS=
     while IFS= read -r id; do
       test -n "$id" || continue
       case "$SEEN" in *" $id "*) ;; *) IDS="$IDS$id"$'\n' ;; esac
     done <<<"$ALL"
   done
   test -z "$FAIL"
   ```

   On red, do not deploy and do not start the next rung: fixing the run is
   this rung's work: leave the classification marker in place, go back to
   step 2 to fix it, and repeat this step. Do not tick the rung yet (step 6
   does). Once every run is green, remove the rung's classification marker, as
   `/execute` Step 6 does, so the next rung classifies afresh and the gate
   stays closed between rungs:

   ```bash
   ROOT="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}"
   rm -f "$ROOT/.claude/.tdd-active" "$ROOT/.claude/.tdd-skipped" "$ROOT/.claude/.lfg-active" "$ROOT/.claude/.post-review-edit"
   ```
4. Deploy the green commit to the deploy target, or confirm CI's deploy
   shipped it, then give the demo-lane owner the URL. Acceptance below happens
   on that URL, so a rung that is not deployed cannot be accepted.
5. Append to `DECISIONS.md` any decision the rung forced, with the rejected
   alternative.
6. The demo-lane owner (you, when solo) accepts the rung: they run its
   acceptance script where a judge would, and either tick it in `PLAN.md` or
   name the gap. A rung is
   done only when accepted, so a builder's green commit does not make it done.
7. Record its end time when it is ticked.

The lanes from Phase 2 run in parallel. The checkpoint re-plan below still runs
on the whole ladder, and the demo-lane owner calls it.

**Only judged work in the window.** From the start time to submission, do no
process work the judges won't see: no improvements to the skill pack, no
retrospectives, no orientation documents, no polishing of internal guides.
When an idea for one comes up, add a line to the dossier's **After the event**
list and keep building. After the Locked restyle cutoff, fix visual defects
but start no redesign.

**Read the clock, don't recall it.** Before stating the time, a time left, or
a deadline, run `date`. An agent's sense of the time drifts late in a long
session, and a deadline warning given after the deadline is worse than none.

**Checkpoint** (at each checkpoint time; stop what you are doing):

1. **Measure.** From the dossier, compute the median time per accepted (ticked) rung.
   Leave rung 1 out once two later rungs exist, because it carries setup time.
2. **Re-plan from measured pace, never from a fresh estimate.** Rungs that fit
   ≈ (freeze − now) ÷ median rung time. Keep that many of the remaining rungs in
   ladder order. Cut `~` rungs first. If the time left exceeds the remaining
   ladder, add rungs: the ladder ran short, not the day.
3. **Circuit breaker.** If rung 1 is not green at the first checkpoint, make it
   thinner: stub the dependency that blocks it behind the same interface, and
   say so in `DECISIONS.md`. Pivot projects only if the idea itself is broken.
   A thinner tracer is almost always cheaper than a new idea.
4. Record the re-plan (kept, cut, added) in the dossier and `PLAN.md`. A
   changed ladder is a real fork, so confirm it with the user before going on.
5. **Story check.** Re-paste the submission page from the latest draft. At the
   Locked first Q&A drill, draft the five most likely judge questions from
   `DECISIONS.md` (Phase 4 step 4 says how), run them once, out loud, and note
   the weak answers. At the Locked story checkpoint, confirm the page has every
   required section and the video is recorded; if either is missing, it takes
   the next rung's slot.

**Freeze.** At the freeze, stop adding rungs. Whatever is unfinished either
works behind a flag or gets reverted. Set `phase: demo` and commit the dossier.
From here on, the only work is demo readiness. After the deadline, push
nothing to the event repo, judging included: a commit timestamped after the
close reads as work done after the deadline.

### Phase 4. Freeze → demo

1. **Pre-demo checklist** (dossier template § Pre-demo). Run it DO-CONFIRM
   style: do the work, then read the list aloud and confirm each item (Gawande).
   Things fail at the worst moment, so the checklist assumes the live demo will
   break; the template holds the one list.
2. **Submission.** The page has been drafted since kickoff, so this step
   finishes it. Check it against the event profile's required artifacts, one by
   one (known limitations are a common one to miss). It covers the problem, the
   high-concept line and the real-world ground, what shipped (the ticked rungs),
   how it was built (the factory), and what was cut. Every number on it (tests,
   commits, decisions) comes from one source and matches the README and the
   deployed site. Paste the final text from `PLAN.md`'s committed
   `## Submission draft` section, not from memory. Submit by the submit-by time.
3. **Table script** (Locked length): open on the high-concept line, show rung 1's
   path, and **end on the peak moment**. Judges remember the peak and the
   ending. Rehearse it until it fits the time, then rehearse the 15-second
   version for a judge who is already walking away.
4. **Judge Q&A.** From `DECISIONS.md`, draft the five most likely "why X over Y?"
   questions with a one-sentence answer each, plus a two-minute factory tour:
   the hooks, CI, the tests, and the decision log. Drill both with the user, one
   question at a time.
5. **Who says what at the table.** With a non-builder on the team, they open:
   the problem, the high-concept line, and the demo through the peak moment.
   The builder takes the factory tour and the "how did you build it" questions.
   Each "why X over Y?" goes to whoever made that decision in `DECISIONS.md`.

Before `phase: done`, tick the template's § Pre-handoff confirmations, then commit the dossier.

## Common Rationalizations

| Rationalization | Reality |
|---|---|
| "We can estimate this rung at about an hour." | That number borrows a human's pace. Measure the first rungs and re-plan from them. |
| "Push the freeze back 20 minutes; we're close." | The freeze protects the demo, which is what gets judged. Cut a rung instead. |
| "Skip the tests, it's only a hackathon." | When the criteria judge tested, secure, observable work, the tests are part of the score. |
| "This idea is the most useful, so it wins." | Usefulness that takes three minutes to explain loses to a familiar surprise a judge gets in ten seconds. Score legibility and the peak moment. |
| "The rubric probably weights technical depth." | If the brief does not say so, it is `not stated`. Ask the organizers. |
| "Score each idea as we go." | The first idea's halo then sets every later score. Score each dimension across all candidates first. |
| "Push the scaffold the night before to save time." | Most events require an empty repo until the start. Prep stays in the sidecar. |
| "The safe version works perfectly; ship that." | A flawless demo of a routine task is easy to forget. Keep the ambitious rung on the ladder and cut polish instead. |
| "We'll write the submission after the freeze." | The page is what judges read before and after the table. Draft it from kickoff; the freeze is for finishing it. |
| "More integrations will look more impressive." | Only the ones a judge sees happen count. The rest are factory evidence for the tour. |
| "File that pack improvement now, while it's fresh." | Log it under **After the event**. The build window is for work the judges see. |
| "We'll pick the project in the morning." | Then the name, the accounts, and the product rules get decided during the build. Choose in the prep sitting. |

## Red Flags

- A score or weight in the dossier with no `stated` quote behind it.
- A ladder with fewer rungs than the Locked minimum, or no `~` rungs.
- A checkpoint that re-estimated remaining rungs instead of using the measured median.
- A commit in the event repo dated before the start time.
- No recorded fallback video at the freeze.
- `DECISIONS.md` unchanged since kickoff.
- A project first chosen on the build day, or no award line in the dossier.
- The peak-moment rung or the most ambitious AI rung marked `~`, or cut at a checkpoint.
- No submission page by the end of the kickoff block, or a page missing a required section at the story checkpoint.
- Numbers on the submission page that differ from the README or the deployed site.
- A visual redesign started after the restyle cutoff.
- Pack improvements or internal documents made during the build window.
- A commit in the event repo dated after the submission deadline.

## Handoff

- **Expected input:** the event brief (a URL or pasted text) and the user, present for both sittings, plus who else is on the team and whether each writes code; a local directory that will become the event repo.
- **Produces:** the sidecar dossier (event profile, scored candidates, ladder, rung timings, checkpoint re-plans); in the event repo, `PLAN.md`, `DECISIONS.md`, the pipeline hooks, and CI; a submitted entry; a rehearsed table script and judge Q&A.
- **May invoke:** `/init-pipeline` (kickoff block), `/tdd` (rung loop), one blind-scorer sub-agent (Phase 1).
- **Returns control to:** the user at the judging table.
- **Comes next by default:** nothing. To continue the project after the event, start at `/shape` with the dossier and `DECISIONS.md`. For pack friction, use `/improve-pipeline`.

Print, substituting the real values:

```
**Next session:** /shape (only if the project continues)
**Input:** dossier <path> and DECISIONS.md in <repo> — a hackathon build; read its cut rungs before reshaping
```

Files in this skill

  • SKILL.md25.8 KB
  • references/dossier-template.md3.4 KB
  • references/next-step-menu.md11.8 KB
  • references/sidecar.sh92.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.