跳到正文
cccskills
免费在 GitHub 公开

ca-spike

Exploratory spike on a throwaway branch — answer a named question with disposable code. Never merges; exits to a findings note or $ca-feature.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

$ca-spike — exploratory spike

The sanctioned lane for "I need to write code to find out." Spike code is disposable by contract: it never merges, never PRs, and never becomes the implementation. What survives a spike is the answer, written down — the code is burned.

Flow

  1. Name the question — a spike without a falsifiable question is just freelancing. Restate $ARGUMENTS as the question the spike answers and the timebox (default: one session). STOP for the user's confirmation.
  2. Branch — create spike/<slug> from the current branch. All exploratory code and experiments stay on it; only the completed findings file may later cross back to the parent.
  3. Explore — no tdd, no plan, no review fleet. Two rules survive even here: no secret leaves the approved store, and no irreversible operation (prod data, destructive migration) runs from a spike.
  4. Exit — exactly one of:
    • Answered → write the findings to <project-root>/.codearbiter/spikes/<slug>.md (the question, what was tried, the answer, what it implies), and commit only that findings file on spike/<slug>. Return to the parent branch and run git restore --source spike/<slug> -- .codearbiter/spikes/<slug>.md to transfer only the committed findings file, review it, and commit that one file through $ca-commit; do not merge the spike branch. Then delete the spike branch. If the answer warrants building, hand the findings to $ca-feature — the spike file seeds brainstorming (routines/brainstorming/SKILL.md); the spike code is reference material, never the implementation.
    • Timebox expired, no answer → record that in the findings file and use the same findings-only transfer before deleting the spike branch.

Hard gate

MUST NOT merge or PR a spike/* branch — its only exits are a findings file and deletion. Do not transfer spike code: the parent may receive only the committed findings file. MUST NOT copy spike code into an implementation branch wholesale; implementation re-enters through $ca-feature and tdd. Secret-handling and irreversibility rules hold even in a spike. Commits on a spike/* branch are exempt from commit-gate — the exemption is safe because no spike commit is merged and the parent may copy only the committed findings file's contents, never spike code.

When NOT to use

  • You already know what to build → $ca-feature.
  • Diagnosing a defect → $ca-debug (investigation with a structured exit).
  • A question answerable by reading code or docs → $ca-btw.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Refine feature and sprint intent into a useful specification. Capture scope, observable criteria and material choices without repeated artifact approval ceremonies.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

Vet a new or changed third-party dependency for license, provenance, and supply-chain risk before any install runs.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

ca-adr

免费

Record user-decided ADRs or inspect their health read-only. Preserve attribution and acceptance evidence.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

Inspect ADR health read-only; optionally select one ADR with --adr N.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

ca-audit

免费

Assemble the governance record for a range — commits, overrides, ADRs, sprint auto-decisions, open questions, checkpoint findings — into one dated audit packet. Read-only.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

ca-btw

免费

Lightweight Q&A about the project — answer from context and return, no routing, no state change.

中文简介正在准备中。当前显示原文说明。

arbiterForge/codeArbiter1492026年10月18日 更新

查看 arbiterForge 的全部技能

报告此技能的问题