跳到正文
cccskills
免费在 GitHub 公开

ank-plan

Interview a goal into decisions and tasks recorded in .ank/. Use when someone brings a feature, change, or problem to plan before implementation in a repository with a .ank/ directory.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

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

ank-plan

Planning turns an intention into entities the loop can consume: decisions as ADRs, rules as specs, work as tasks, order as blocked_by. The interview is how uncertainty leaves the plan before an executor meets it.

The ank skill is the contract and applies here in full. This file adds the planning policy only.

Read before asking

Never ask a question the repository answers. Before the first question:

ank context <path>      what already binds this perimeter
ank find <query>        what already exists near the goal
ank find --type spec    the specification itself
ank scope <path>        everything covering the files in play
ank log <id>            what previous holders learned

Then read the code the goal touches. A question answered by reading, asked anyway, teaches the human to stop answering.

Re-measure what you are about to plan around. A number from an earlier session is a claim about a tree that has moved since, and a goal built on one is a goal aimed at the wrong place. Take the measurement again before the first question: the work may already be done, and where it is not, the shape of what remains is rarely the shape that was reported.

The interview

Work the frontier: the decisions whose prerequisites are already settled. Everything downstream of an open decision waits.

For each decision on the frontier:

  1. Check the repository has not already made it.
  2. Recommend one option, and say why.
  3. Ask.

One round holds only questions independent of each other. Fold the answers in, recompute the frontier, repeat. Stop when the frontier is empty: nothing important left silently assumed.

A question only running code can answer is not a question. It is a task with an experiment for a criterion.

Write the plan into the corpus

Each settled decision becomes exactly one kind of entity:

a durable architectural decision    ank new adr     lands proposed
a normative rule                    ank new spec    lands proposed
concrete bounded work               ank new task    a scope is mandatory
an ordering between tasks           ank amend --blocked-by
a passing observation               ank log

A task names the policy its shape calls for with ank new task --method <name>: diagnose when the criterion names a defect, tdd when it names behaviour to build. Leave it unset otherwise, since an absent method says only that nobody designated one. The name is the sibling's directory, never ank-tdd.

A done_criteria states what a verifier can check, not what an executor should attempt. If the criterion will not write, the decision is not settled: back to the frontier. new is not where it is enforced — it writes a task with no criterion and says nothing — claim is, and it refuses at 7. So a criterion left for later is a task nobody can start, and the plan is short one decision.

Where planning ends

Proposed ADRs and specs bind nobody until a human ratifies them: a signed accept, a ref that binds wherever the file is read once it reaches the remote. Say what is waiting and stop. Then ank graph and ank check on the result: a cycle, an orphan or a finding is a plan not finished.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

ank

免费

Read a repository's tasks and binding constraints, claim work, and finish it with proof. Use when working in a repo that has a .ank/ directory.

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

haksolot/ank902026年10月21日 更新

Work a defect back to its cause before changing anything, and close it with a regression test. Use when a claimed task's criterion names a defect in a repository with a .ank/ directory.

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

haksolot/ank902026年10月21日 更新

ank-drift

免费

Audit the decisions in .ank/ against the current code and report what no longer holds. Use when asked whether ADRs, specs, or tasks are still accurate, after a milestone, or when the corpus and the code seem to disagree.

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

haksolot/ank902026年10月21日 更新

ank-herdr

免费

Orchestrate several ank agents in parallel, each on its own task, worktree and branch. Use only inside a herdr pane, when asked to fan ank tasks out across agents in a repository with a .ank/ directory.

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

haksolot/ank902026年10月21日 更新

ank-loop

免费

Work through the open tasks in .ank/ without supervision, one claim at a time. Use when asked to work the backlog, chain tasks, or run autonomously in a repository with a .ank/ directory.

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

haksolot/ank902026年10月21日 更新

ank-tdd

免费

Drive an implementation test-first, red before green, against a claimed task's frozen criterion. Use when implementing a task in a repository with a .ank/ directory.

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

haksolot/ank902026年10月21日 更新

查看 haksolot 的全部技能

报告此技能的问题