본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ank-loop

The backlog was planned so this loop would not have to think about architecture. Consume tasks. Never redesign them.

The ank skill is the contract and applies here in full: own worktree, fresh branch from the default branch, ANK_AGENT set, criterion frozen at claim. This file adds the loop policy only.

One pass

ank status                       where you are, what others hold
ank graph                        what is genuinely unblocked
ank find --status open --free    open tasks no live claim overlaps
pick one task                    see below
ank claim <id>
ank log --method loop            record that this policy was loaded, once
ank show <id>                    the body carries the reasoning; read it first
ank context --since              at the top of every turn while the claim is held
work; ank log "<discovery>" as you learn, not when you finish
review your own diff             two axes, below; ank log what it found
ank done                         the close; it measures the tree, you never report it
next pass

Every turn under a claim

Other agents keep working while you do. Once the claim is held, start every turn with ank context --since: the entities whose file changed, and the claims and completions recorded, since your last work on the task. Names by id and never by content, so ank show <id> whatever you need to read whole.

Your last work is the claim's last renewal, so the cursor moves whenever the claim is renewed, and reading --since is one of those renewals: two calls in a row answer differently. Without a claim it is refused, because the cursor is the lease.

It does not replace the full ank context <path> taken before the claim. That one says what binds the perimeter and what is claimable; --since says only what moved, and a constraint never read in full is not one a diff of changes teaches you.

Picking

Three tests, all mandatory: unblocked in the graph, criterion executable as written, scope clear of every live claim. When no open task passes all three, stop and say so. An idle loop is cheaper than two agents rewriting one perimeter.

When a task is not ready

A task is underplanned when its criterion is ambiguous, rests on a false premise, or needs a decision no ADR has made. Do not invent the architecture. Do not soften the criterion.

one clause rests on a false premise    ank log "discrepancy: <assumed> vs <measured>", finish the rest
the whole criterion is wrong           ank release --reason "<why>", move on
a decision is missing                  ank release --reason "<which>", flag it for planning, move on
it names work your scope cannot reach  do the part you can, file the rest, then
                                       ank release --reason "<what is left, and where>"

That last row is not a failure and is the commonest of the four. A criterion that is right about the work and wrong about who can do it is answered by releasing it, not by widening a scope you were not given: say what you measured, what you finished, and which task carries the remainder.

Work you discover is a new task with blocked_by, left for a later pass. Never a detour in this one.

Reviewing your own diff

Before ank done, never after it, read the diff you are about to close on two axes.

against the criterion     every clause answered, and nothing it did not ask for
against the constraints   every ADR that binds the paths the diff touches

The first axis takes the frozen criterion clause by clause and points each one at a hunk. A clause you cannot point at is not done. A hunk no clause asked for is scope you took without being given it, and it comes back out.

The second axis takes the constraints, not your memory of them: run ank context <path> again over the paths the diff actually touches, which is rarely the set you ran it on at the start of the pass, and read the diff against what comes back.

Then ank log the outcome, whichever way it came out: the two axes, what each one found, and nothing found where nothing was. The log is what outlives the session, and a review nobody can read afterwards was not one.

A finding is acted on in the pass that found it. A constraint the diff breaks is fixed before the close; scope the criterion never asked for comes back out of the diff; a clause left unanswered is the release of the table above, and never a smaller criterion.

The review is not a grade and does not replace one. ank done still runs the verifiers and still measures. What the two axes catch is what a green suite cannot: a criterion answered beside the point, and a constraint no test encodes.

Never in the loop

No questions to a human. No new ADRs or specs. No edit to any criterion.

The loop ends when nothing claimable is safe or the human returns. Leave the report: what finished, what was released and why, and what planning owes the backlog.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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월 19일 업데이트

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월 19일 업데이트

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월 19일 업데이트

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월 19일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

haksolot/ank902026년 10월 19일 업데이트

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월 19일 업데이트

haksolot의 스킬 모두 보기

이 스킬의 문제 신고