Skip to content
FunCoding

demo-rehearsal

Star
749
Category
Other
License
MIT
Last commit
Oct 22, 2026

skills/demo-rehearsal/SKILL.md

View on GitHub

demo-rehearsal

The first time the team sees the timer is on stage, the run is bad. The rehearsal exists so the second time — also on stage — is the good one. This skill structures the rehearsal into scored segments.

Input contract

Required:

  • demo_path: ordered list of steps from .hackathon/state/plan.json
  • time_remaining_minutes: minutes until the live slot (>= 30)

Optional:

  • target_total_seconds: budget for the whole demo (default 180 = 3 min)
  • per_step_seconds: per-step budget override (default: scale target by step count)
  • audience_count: integer (affects pause tolerance)
  • run_number: integer, increments each rehearsal (default 1)

Execution

1. Announce the run

Print one line: "Rehearsal #N — total budget Xs — start NOW."

2. Time each segment

For each step in demo_path:

  • Print [step N/MAX] action at t=0.
  • Caller types done when the step finishes; record actual_seconds.
  • Compute delta = actual_seconds - per_step_seconds.

3. Score

score = max(0, 10 - |delta| * 2) — symmetric penalty around the budget. Below 6 = "rushed" or "dragged"; below 3 = "rewrite this step".

4. Classify

For each step:

ScoreClassAction
8+on-timeno change
5-7drifttrim a sentence OR add a breath
<5brokenrewrite the step, not just trim

5. Emit fix list

Output one bullet per broken step with:

  • What to cut (1 sentence)
  • What to keep (1 sentence)
  • The new budget (seconds)

Helper

The skill ships scripts/rehearse.py which drives the timed rehearsal: it reads plan.json, prompts the operator between segments, scores each one against the budget, classifies it as on-time/drift/broken, and writes .hackathon/state/rehearsal.json plus .hackathon/artifacts/rehearsal-log.md. Run it with:

python3 skills/demo-rehearsal/scripts/rehearse.py \ --cwd .hackathon \ --target-total-seconds 180 \ --dry-run # use --dry-run for non-interactive smoke testing

Output contract

  • .hackathon/state/rehearsal.json (matches rehearsal.schema.json)
  • .hackathon/artifacts/rehearsal-log.md — timestamped transcript

In v1.6, rehearsal.json also emits:

  • finished_at, total_seconds, and within_budget
  • verdict: all-green, mixed, or rewrite-needed
  • risks: the drift/broken steps that recovery-runbook can read directly

Acceptance criteria

  • Every step in demo_path has a recorded actual_seconds.
  • Total run time is within target_total_seconds +/- 15%.
  • At least one step scored below 8 OR an explicit note "all-green".
  • Fix list has one bullet per broken step, with cut / keep / new-budget.
  • No step runs more than 2x its per_step_seconds (refuse; suggest pivot).

Failure modes

  • time_remaining_minutes < 30 -> refuse; suggest recovery-runbook instead.
  • demo_path empty -> refuse; run scope-knife first.
  • Run #1 with score >= 9 on every step -> warn "suspicious; likely skipped steps".
  • Network failure during live-timer lookup -> fall back to caller-reported seconds.

Trigger phrases (for agent intent matching)

  • "let's rehearse"
  • "practice the demo"
  • "timing run"
  • "mock demo"
  • "stopwatch run"

Similar Skills

claude-handoff

MAmattpocock/skills337k4,978 new stars in the last 7 days

software-factory

MAmattpocock/skills337k4,978 new stars in the last 7 days

agent-payment-x402

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

agent-self-evaluation

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

bengali-nlp

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

ponytail-gain

DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days