Implement

From swissarmyhammer/swissarmyhammer · View interactive version

Implement is an AI agent skill from the GitHub repository swissarmyhammer/swissarmyhammer. Use this skill when the user says "/implement", "implement task", "implement the next task", "work the next task", "pick up a task", or "implement" followed by a task id. Picks up one kanban task and drives it from ready through doing, leaving it green and ready for review. Do NOT use this skill for

How to use this skill

Skill file

Implement

Pick up a kanban task and get it done.

Do NOT deviate from the plan. A problem you can't resolve within the plan → stop and ask the user.

The card is an order

The card is a decision, not a proposal. Delegation means the requester gets what the card says — all of it.

Here is what the user provided:

$ARGUMENTS

Guidelines

{% include "_partials/findings-are-requirements" %}

Invocation

/implement takes a required task id.

| Invocation | Meaning |

|------------|---------|

| /implement <task-id> (26-char ULID) | That specific task. Never call next task. |

| /implement ^<task-id> | That specific task. Never call next task. |

The ^<task-id> atom — like every id argument — accepts a full ULID, a 7-char short id, ^<short>, or a unique ULID prefix. When you name a task in prose or commits, quote its short_id field (^<short>); never hand-abbreviate the ULID by prefix.

Process

Read the task

{"op": "get task", "id": "<id>"}

Full description + subtasks. Understand before writing code. If you cannot find the task stop and report.

Move to doing

Using the id of the selected task

{"op": "move task", "id": "<id>", "column": "doing"}

Research before writing

Use the /explore skill to research the context provided in the task.

Record what you discovered on the task — {"op": "add comment", "task_id": "<id>", "text": "<discoveries>"}.

Know the rules

Get the rules that review will enforce, before you edit a file. Rules match by file pattern, so one example file for each extension gives the full rule set.

Collect the distinct extensions of the files you plan to edit. Pick one example file for each extension. Then make one call on the review tool with those example paths:

{"op": "dump validators", "paths": ["<one example file per extension>"]}

The call writes one markdown file and returns its path. Read that file whole, one time. The file carries every applicable rule body word for word.

Do not call again for more files with the same extensions. Call again only when a later edit targets a file with a new extension.

Obey each rule as you write the code, not after. Document each public item. Name each numeric constant. Do not copy blocks. Keep functions small and flat. Follow the project naming. Delete dead code.

Implement

Do the work in the task and subtasks. After changing any symbol's signature or behavior, re-run get callgraph (inbound) and confirm every blast-radius caller still works.

Self-review

Do NOT -- self review, you should have all the validators preloaded and keep them in mind as you code.

Let the /review skill and step take care of reviewing.

Leave the task in `doing` for review

Do not move it to review yourself.

Do not use complete task — it jumps to the terminal column, skipping the review gate entirely.

Cannot finish the work? Do NOT pretend it's done. Record what happened on the task — {"op": "add comment", "task_id": "<id>", "text": "<what blocked you>"} — and report the stuck outcome.

Record progress

{% include "_partials/record-progress" %}

{% include "_partials/step-record" %}

Implement reports changed, no-change, or stuck. The evidence is the list of files it touched.

step: implement
outcome: changed
evidence: 3 files — src/auth/login.rs, src/auth/mod.rs, tests/auth.rs
task: ^rc9rb4g

no-change is a real result, not a failure to report. It tells the orchestrator that this pass made no progress.

Report to the user

{% include "_partials/card-report" %}

After the block, tell the user the task is ready for /review (which moves it into review). The user decides next — no auto-continue.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.