wayfinder
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Forces a KEEP, CUT, or DEFER decision on every feature when scope is too large, no MVP consensus exists, or time is running out. Use for producing the minimum demo path and a next-steps task list.
Required:
repo_root: path to current project roottime_remaining_minutes: integer (>= 0)demo_goal: one-sentence string ("what should judges see at the end?")Optional:
.hackathon/state/plan.json (load if exists)features: array (else inferred from repo scan)Run scripts/scan_repo.py <repo_root> to produce a feature inventory:
| Status | Meaning |
|---|---|
implemented | Code present, tests pass |
half-implemented | Code exists but incomplete or tests failing |
unimplemented | In README/plan only |
broken | Was working, now failing |
Based on time_remaining_minutes:
| Time left | Minimum CUT rate |
|---|---|
> 6h | warn if < 30% |
3–6h | enforce >= 50% |
1–3h | enforce >= 70% |
< 1h | enforce >= 90% (demo path only) |
For every feature: KEEP / CUT / DEFER.
Hard rules:
Linear sequence: open URL → trigger core action → see result → understand value.
Every feature is written to plan.json with passes: false, acceptance_criteria,
and an empty evidence array. This is the default-FAIL contract: no feature is
considered done until an evaluator flips passes to true with machine-checkable
evidence. Scope-knife itself never marks a feature passing.
Acceptance criteria must describe user-visible end-to-end behavior, not an implementation detail. Example: "A user can open the app, sign up, save a note, and see it in the list." If a criterion can be checked only by reading source code, rewrite it as a behavior a judge could reproduce.
Priorities:
The skill ships scripts/classify.py (Python stdlib only). It reads a features inventory, applies the pressure table, and emits .hackathon/state/plan.json. The CLI now supports WSJF tie-breaking:
python3 skills/scope-knife/scripts/classify.py --inventory features.json --demo-goal user_signup --time-remaining 180 --enable-wsjf
When --enable-wsjf is set, every feature should carry WSJF inputs:
wsjf_score = (user_business_value + time_criticality + risk_reduction) / job_size
Off-demo-path features are sorted by WSJF before KEEP vs CUT vs DEFER is decided, so high-WSJF non-path features can be DEFERred rather than CUT when time pressure lets you.
Files written:
.hackathon/state/plan.json (matches src/state/schemas/plan.schema.json).hackathon/artifacts/scope-knife-output.md (human-readable)time_remaining_minutes.plan.json validates against plan.schema.json.passes: false with at least one acceptance criterion.| Mode | Behavior |
|---|---|
| Empty repo | Suggest running idea-clarify first |
Missing demo_goal | Ask once, refuse to guess |
| User rejects all cuts | Output pressure calc, ask once more |
| Schema mismatch | Fail loud with diff, do not silently coerce |
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star