一键导入
tp-spike-auto
Autonomous spike pipeline — interactive design, then hands-off plan/audit/implement/results with a decision log for morning review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Autonomous spike pipeline — interactive design, then hands-off plan/audit/implement/results with a decision log for morning review.
用 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-auto |
| description | Autonomous spike pipeline — interactive design, then hands-off plan/audit/implement/results with a decision log for morning review. |
| argument-hint | {spike-name} [--parent {design-name}] [--force-takeover] |
Two-phase spike: interactive design conversation, then autonomous execution of the full pipeline. Produces a decision log for human review.
Arguments:
{spike-name} (required) — kebab-case name, becomes the directory under three-pillars-docs/tp-designs/.--parent {design-name} (optional) — links this spike to a parent design.Run first-run preflight per skills/_shared/first-run.md.
Validate {spike-name}: must match [a-z0-9-]+.
Resolve the design directory: three-pillars-docs/tp-designs/{spike-name}/. Create if needed.
Run collaboration preflight per skills/_shared/collaboration.md with phase: "design". This is interactive (Phase 1), so prompt the user for branch creation or takeover as described in the shared doc. Honor --force-takeover if passed. Phase 2 will refresh the same lock through each delegated skill.
Check for existing design.md. If exists, ask the user whether to revise or start fresh.
If --parent is given, verify parent design exists and read it.
Have a spike conversation. Draw out through questions:
Write design.md using the standard spike design format (see /tp-spike for template).
Ask the user: "Design complete. Ready to go autonomous? Once you confirm, I'll run plan → audit → implement → results without stopping. You can review decisions.md in the morning."
Write three-pillars-docs/tp-designs/{spike-name}/decisions.md:
# Autonomous Spike — Decision Log
## Run Metadata
**Started**: <ISO timestamp>
**Spike**: {spike-name}
**Design**: three-pillars-docs/tp-designs/{spike-name}/design.md
Follow the instructions in skills/tp-spike-plan/SKILL.md with --auto flag:
Follow the instructions in skills/tp-plan-audit/SKILL.md with --spike --auto flags:
python3 "$TP_ROOT"/skills/tp-plan-audit/scripts/audit_plan.py "$DESIGN_DIR" --spikeFollow the instructions in skills/tp-spike-implement/SKILL.md with --auto flag:
Follow the instructions in skills/tp-spike-results/SKILL.md with --auto flag:
Follow skills/tp-spike-learn/SKILL.md with the --auto flag:
product_roadmap.md / architecture.md / known_issues.md; update the Design Inventory status with the verdict.verify_learn.py over {default}...tp/{spike-name}) — advisory, flagged stale refs logged to decisions.md.vision.md — flags tensions to decisions.md only.This is the closeout-before-merge discipline (design merged-design-closeout): spike-auto no longer defers learn to a manual post-review step, so a spike can't strand its findings across the ship boundary. The roadmap is propagated within the autonomous run; /tp-design-complete (archival + completion PR) remains the human-gated next step.
Append to decisions.md:
## Run Complete
**Finished**: <ISO timestamp>
**Verdict**: <GO/PARTIAL/NO-GO>
**Artifacts**: design.md, plan.md, spike-results.md, decisions.md
**Summary**: <2-3 sentence summary of what was learned>
Tell the user:
Autonomous spike complete. Review
decisions.mdfor the full decision trail andspike-results.mdfor findings.Closeout already ran (Step 5.5):
/tp-spike-learn --autopropagated findings intoproduct_roadmap.md,architecture.md, andknown_issues.md, updated the Design Inventory status with the verdict, ran learn-verify, and (if NO-GO) marked dependent designs blocked. Review those diffs +decisions.md. No separate manual/tp-spike-learnis needed — it is no longer deferred.Next step (after human review):
/tp-design-complete {spike-name}to archive the spike and open the completion PR.
{spike-name} per skills/_shared/validate-name.md.skills/_shared/collaboration.md — Phase 1's preflight can refuse to proceed if another developer holds this spike. Phase 2 delegates through skills that each re-verify the lock.--auto (and --spike for plan-audit) behavior.three-pillars-docs/tp-designs/<spike-name>/demos/ and are tracked (committed alongside each experiment). See the "Demo / artifact convention" rule in tp-spike-implement for what belongs there.