planning-with-files
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Design and run an auditable playbook when no narrower one fits: scaled rigor, a hypothesis loop, and a logged decision trail. Use for /figure-it-out, 'figure it out', a large migration, or unattended work a human reviews later.
$ npx -y skills add khaneliman/khanelinix --skill figure-it-out --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/figure-it-outContext preview
The summary Claude sees to decide when to auto-load this skill.
Design and run an auditable playbook when no narrower one fits: scaled rigor, a hypothesis loop, and a logged decision trail. Use for /figure-it-out, 'figure it out', a large migration, or unattended work a human reviews later.
name: figure-it-out description: "Design and run an auditable playbook when no narrower one fits: scaled rigor, a hypothesis loop, and a logged decision trail. Use for /figure-it-out, 'figure it out', a large migration, or unattended work a human reviews later."
When no playbook matches, design one. Reuse an adequate existing plan or adapt it into a phase sequence that scales rigor, tests hypotheses, and leaves a decision trail a human can audit after stepping away. Bias toward rigor because wrong work costs more.
Route a focused single-unit task to its matching playbook instead. Use this skill for the large or cross-cutting version: a migration across many call sites, an ambitious multi-part change, or work the user reviews after stepping away.
Track these phases in the existing plan or task list; create one only if needed.
Do not start the run until you can state:
prove-it-works principle in `engineering-principles`). Reuse an adequate existing predicate; it need not be numerical.
sequencing or a decision; do not invent precision. Raise blockers before spending hours on work they prevent.
many paths earn more rigor. Reversible low-stakes steps earn less. Rigor means checks and reviewable evidence, not extra documents or "try harder".
Present the framing and tradeoffs before committing to a long run. Reversible work proceeds within existing authority. Duration alone adds no approval gate; honor requested checkpoints and surface material unresolved choices.
Use independently landable units: verify and commit each separately. Before writes, use `git-toolkit` to plan the stack and its rollback boundaries. Sequence the riskiest unknown first. Reuse the acceptance summary from `engineering-workflow`'s phase-handoff method when it helps transfer work.
opt-in, not a requirement to scaffold a harness before every change.
It selects one sketch or competing candidates according to the decision risk. Skip design artifacts for mechanical work whose shape is already concrete.
worktree so no two writers share mutable state. Use `git-toolkit` cleanup mode to record ownership and the integration target before allocation.
compaction, persist the plan and findings in existing task notes; use `planning-with-files` when adequate durable notes are missing.
Update the task list with the concrete steps it does not already cover. Run each step under the Phase C loop and update the Phase D trail as each step lands.
This skill owns the program lifecycle, hypotheses, and audit trail. `verified-slice` stays a unit method and does not own program lifecycle, architecture, or audit trail.
Reuse a valid hypothesis and predicate or state new ones. Run each planned unit through the `verified-slice` method in `engineering-principles`. It handles baseline, implementation, proportional verification, review, correction, and exact candidate preparation. With `local-commit`, commit the candidate, then confirm occurrence. Without commit authority, preserve an exact patch or isolated worktree. Advance after verified evidence and a durable rollback boundary. Confirm the commit contains the verified change; honor standing commit authority.
Inspect the real artifact, never a self-report. Apply the slice's proportional review gate; do not add a judge for every worker on top of slice review. Use VERIFIED, NOT_VERIFIED, or INCONCLUSIVE. An inconclusive result does not pass.
Keep consequential decisions, hypotheses, slice results, and evidence links in existing task notes. Record what changed the plan and why; do not duplicate adequate evidence in a separate log. Use `show-me-your-work` only when the user requests its structured trail. Preserve evidence needed to review the result with the delivered artifact: commit it with local-commit authority, otherwise keep it with the workspace-only artifact. Prefer reproducible evidence.
Complete `git-toolkit` cleanup mode after integrating worker results. Remove integrated task-owned resources, stop workers, and account for every retained path/ref with its reason and next action before claiming completion.
Check the whole against Phase A on the real product, not only the harness. For recurring corrections, consider existing checks, lint, or scripts (encode-lessons-in-structure in `engineering-principles`). Add enforcement only when its reliability benefit justifies maintenance; clear guidance may be enough.
**Reply:** the playbook you designed, the rigor level and why, the decision-trail path, what is verified against the predicate, and what is still open.
Run packages directly with: Or install from the packages output. For example:
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Audit coding-agent sessions and mine cross-harness history for recurring corrections, skill-routing gaps, and harness faults. Use…
Design and audit agent instructions, skills, plugins, subagents, prompts, hooks, and provider configuration. Use for AI-tool…
Sketch interfaces, state, and module structure before code. Use for explicit design-led implementation or as a caller-owned…
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…
Bevy workflows for ECS, migrations, first-party UI/input/rendering/assets/shaders, plugin selection, scenes, scheduling, hot…