一键导入
tp-spike-plan
Generate an experiment plan.md from a spike-flavored design.md — phases of hypothesis-driven tasks for exploratory work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate an experiment plan.md from a spike-flavored design.md — phases of hypothesis-driven tasks for exploratory work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convene the Council of High Intelligence — multi-persona deliberation with historical thinkers for deeper analysis of complex problems.
Design Audit — multi-angle review of a detailed design against the actual codebase before implementation.
Mark a TDD design as complete — stamp completion, archive handoff.md, archive to three-pillars-docs/completed-tp-designs/, and optionally commit + open a PR merging the design branch back to the base branch.
Scaffold architecture.md, product_roadmap.md, and known_issues.md in three-pillars-docs/ from codebase analysis. Creates the three project docs that the TDD pipeline reads for context. Assumes three-pillars-docs/vision.md already exists — if missing, recommends /tp-setup first.
Read project docs and propose what to do next. Surfaces highest-impact work from roadmap, known issues, and in-flight designs.
Final audit of a completed plan — verify the full implementation against both design.md and detailed-design.md.
| name | tp-spike-plan |
| description | Generate an experiment plan.md from a spike-flavored design.md — phases of hypothesis-driven tasks for exploratory work. |
| argument-hint | {spike-name} [--auto] [--force-takeover] |
Turn a spike design into a structured experiment plan with hypothesis-driven tasks.
Arguments:
{spike-name} (required) — must match an existing directory under three-pillars-docs/tp-designs/.--auto (optional) — autonomous mode. Skips user confirmation, self-reviews plan, logs decisions to decisions.md. See skills/_shared/auto-mode.md for convention.three-pillars-docs/tp-designs/{spike-name}/design.md must exist and be spike-flavored (exploratory, not implementation). If not, tell the user to create one first and stop.Run first-run preflight per skills/_shared/first-run.md.
Run collaboration preflight per skills/_shared/collaboration.md with phase: "spike-plan". This verifies the branch and refreshes the lock for this spike. Honor --force-takeover if passed. In --auto mode, do not prompt — if the lock is held by another developer, log the conflict to decisions.md and stop.
Read design.md from the design directory.
Identify the experiments described in the design. Group them into phases — each phase explores one facet of the spike.
Break each phase into 2-5 tasks. Each task is a single experiment:
Write three-pillars-docs/tp-designs/{spike-name}/plan.md using this exact format:
# <Spike Name> — Experiment Plan
## Phase 1: {description}
**Deliverable**: What the user reviews at phase end
### Task 1.1: {description}
**Hypothesis**: What we expect to happen
**Try**: What to implement/run
**Evaluate**: How to judge the result (visual check, metric, test)
**Status**: Pending
### Task 1.2: ...
## Phase 2: {description}
**Deliverable**: ...
--auto mode: Self-review the plan against design.md — verify every experiment in the design maps to at least one task, success criteria are testable, and phases are logically ordered. Log a decision entry to decisions.md summarizing plan structure choices (how experiments were grouped into phases, any design experiments that were split or combined, and why). Auto-approve and continue.skills/_shared/commit-after-work.md. Artifact paths to stage:
three-pillars-docs/tp-designs/{spike-name}/plan.mdthree-pillars-docs/tp-designs/{spike-name}/lock.json (if refreshed)
Commit message: Spike: {spike-name} plan.{spike-name} per skills/_shared/validate-name.md.skills/_shared/collaboration.md — the preflight step can refuse to proceed if another developer holds this spike.three-pillars-docs/tp-designs/<spike-name>/demos/, not /tmp/. Pure scratch state (test-project clones, container images) can stay in /tmp/<spike-name>/. See the "Demo / artifact convention" rule in tp-spike-implement for the boundary.plan.md and ask before overwriting (in --auto mode, overwrite without asking).--auto mode: Follow the auto-mode convention in skills/_shared/auto-mode.md. Initialize decisions.md if it doesn't exist. Append decision entries for plan structure choices. Never prompt the user.