software-factory
MAmattpocock/skills336k近 7 天新增 4,217 个 star
A hackathon is won or lost on the clock. scope-knife decides what to build; time-box decides when to build each piece. Together they form a viable plan: one says "no", the other says "now".
Required:
time_remaining_minutes: integer >= 0team_size: integer >= 1current_stage: one of idea | scope | build | verify | demo | shipOptional:
stage_progress: float in [0, 1] for the current stage (default 0)buffer_minutes: reserve at end of clock for ship/demo (default 90).hackathon/state/plan.json: load if exists, use KEEP list as scopeSubtract buffer_minutes from time_remaining_minutes to get
work_budget. Then split across the remaining stages:
| Remaining stages | Default split of work_budget |
|---|---|
build verify demo ship | 60 / 15 / 15 / 10 |
verify demo ship | 40 / 40 / 20 |
demo ship | 50 / 50 |
ship | 100 |
When current_stage = build, the verify/demo/ship windows are
forced from the table above — not user-negotiable.
per_person_minutes = stage_budget / team_size. Round down to 15.
If per-person is below 30 min, warn: "single-person stage; consider
combining roles".
For each remaining stage, emit one checkpoint:
T-?: minutes from now until stage startsalarm_at: minutes from now when the team should re-evaluateexit_criteria: one sentence describing "done enough"If current_stage = build and stage_progress < (elapsed / stage_budget),
flag slipping: true and recommend a CUT pass via scope-knife.
The skill ships scripts/compute.py which implements the stage-budget table above and writes both .hackathon/state/time-box.json and .hackathon/artifacts/time-box-schedule.md. Run it with:
python3 skills/time-box/scripts/compute.py \ --time-remaining 240 \ --team-size 4 \ --current-stage build \ --out-dir .hackathon
New in v1.2.1.5:
New in v1.6:
deadline_at, current_stage_started_at, current_stage_budget_minutes, and elapsed_minutes so the clock can be re-read later.hackathon status consumes those fields into a live pulse section with remaining time, current-stage burn rate, and the next alarm.hackathon status --watch --interval 30 refreshes that dashboard without rerunning compute.py.time-box.schema.json exactly.Files written:
.hackathon/state/time-box.json (NEW schema, see src/state/schemas/time-box.schema.json).hackathon/artifacts/time-box-schedule.md (human-readable timeline)time_remaining_minutes (no over-budget).| Mode | Behavior |
|---|---|
time_remaining_minutes = 0 | Refuse; suggest recovery-runbook |
team_size = 0 | Refuse; ask for valid input |
No plan.json yet | Suggest scope-knife first |
| Already past buffer | Output only ship stage; warn loudly |
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star