/ai_dev:task_finishfrom ai_dev
Closes a single task in the project's tasks/ backlog by marking it finished or deferred, archiving the file, updating links, and relinting.
Ships in ai_dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
<task_finish_skill>
task_finish closes out a single task in the project's `tasks/` backlog. It executes the base `task` skill's `` workflow end to end, including the optional `ARCHITECTURE.md` refresh when the rule's trigger holds. It is the *action* counterpart to `task_audit`, the read-only *gate* that answers "is this genuinely done?". task_finish answers "now close it." It is the skill form of the base `task` skill's `` workflow, triggerable on its own, and it owns both closure paths: `finished` (done and shipped) and `deferred` (parked or dropped).<when_to_activate> Activate when the user wants one task closed out:
<task> done" / "this task is implemented."<task>" / "drop this for now."Route elsewhere when the user wants to create a task (task_create or the base task skill), assess readiness before building (task_check), automatically repair readiness issues before building (task_auto_check), choose what to work on next (task_select), do the implementation work (task_implement), verify a believed-done task against the codebase (task_audit), or list / query / update tasks (the base task skill).
</when_to_activate>
<path_resolution>
The bundled scripts (discover_tasks.sh, lint.py) ship in scripts/ next to the base task skill's SKILL.md, not next to this one. After reading that base SKILL.md (per <authority>), resolve each script's absolute path by combining the directory you loaded it from with scripts/<script-name> and invoke that absolute path, never a bare scripts/..., which resolves against the current working directory (the target project) rather than the skill, and so finds the project's own scripts/ or nothing. If the first invocation reports a missing file, re-resolve the absolute path once before treating the script as failed.
</path_resolution>
<discover> step to resolve tasks/, and confirm which single task file is being closed. Read it so you know its current status, links, and the work it claims. A task already archived as finished or deferred keeps that status for good under the base <status_discipline> rule, so report it as closed and change nothing.finished when the work is done and shipped, or deferred when the task is parked or dropped and not pursued for now. When the user's intent is ambiguous between the two, ask before changing anything.finished close when needed. Marking a task finished asserts the work is genuinely done, so make the verification decision from the task's current status: when it is audited, treat the codebase-verification gate as already satisfied and proceed to close-out; when it is implemented or any other non-audited live status being closed as finished, run task_audit (the read-only gate) or carry out its check, and resolve or report any gap before closing. Trust a current audited stamp; when you have concrete evidence the code changed since that audit, re-verify rather than relying on the stamp. On the trust-the-stamp path, read design-extended from task frontmatter as the design-extension signal the close-out rule consumes, reading absence as false per the base <frontmatter> entry, so the close proceeds without re-reading the code the shortcut deliberately skips. Absence and a recorded false both decline the refresh, and the report keeps them apart rather than presenting an assessment nobody made as a decision. A deferred close skips this step, since parking a task makes no claim about completion. Mark a task finished on codebase evidence, not on prose. This trust-the-stamp gate is the lifecycle-scale instance of the base <verification_economy> rule: the audit is the prior run whose evidence stands until an input changes, and code that changed since the audit is that input change, so the stamp is trusted by default and re-verification fires exactly on fresh evidence.<archive> close-out. Follow the task skill's <archive> workflow end to end, including the ARCHITECTURE.md presence gate and refresh decision the base step defines. Those rules live in the base skill; follow them there rather than restating them here.
<output_contract>
Report the task's new path under archive/, the status you set, the cross-references you re-pointed, and a clean linter result. Report the ARCHITECTURE.md disposition in one of three states: refreshed (with what changed), declined (naming whether that rested on a recorded design-extended: false or on no record at all, which reads as false), or the doc absent. When a finished close relied on an existing audited stamp, state that explicitly. Surface any assumption you made about the finished-vs-deferred outcome so the user can correct it.
</output_contract>
task_create: write one task filetask_check: readiness gate before building (read-only)task_auto_check: autonomously repair one task until task_check reports readytask_explain: explain one task at a high level (read-only)task_select: choose and rank the next eligible task/action (read-only)task_implement: do the worktask_audit: verify a believed-done task against the codebase (read-only)task_finish: close out (set status, bump updated, archive) (this skill)task_fix: audit and repair the whole tasks treeThese ship together as a family; any sibling may be absent if a deployment excluded it. The default manual chain is create → check → implement → audit → finish, with task_auto_check as an opt-in readiness repair loop, task_select a read-only chooser for what to work on next, and task_fix maintaining the tree.
</task_finish_skill>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub theafh/ai-modules --plugin ai_dev27 skills in this plugin
/agent_spinnerRun helper agents from an orchestrating agent under one quality contract, whatever the host offers. Establishes the capability tier, declares a phase plan, picks an orchestration shape and width, contains each helper to one path, checks work refute-by-default, and merges cited findings into one verdict-first report. Use when deciding how to run helper agents, sub-agents, or subagents: sizing a fan-out over files, spawning parallel helpers, splitting a review into lenses, running a judge or verifier pass, cross-checking agents' work, containing concurrent writers, aggregating helper reports, recovering failed helpers, or running a serial implement-then-audit loop until the task is stamped audited, in sub-agents. Use it for a multi-agent run plan. Route a backlog-only request to task_* and a wiki request to wiki_fix unless the user names agent_spinner or asks for helpers; those families keep their own contracts. Per-harness facts stay with harness_portability.
/ai_instruction_formattingOrganize AI-consumed content (prompts, rules, skills, commands, agents, system instructions) into pseudo-XML by wrapping each semantic concern in a dedicated tag for role, policy, inputs, and output contract. Use when structuring or reorganizing the body of a SKILL.md, agent or sub-agent definition, command file, rules document (.mdc), CLAUDE.md, AGENTS.md, or GEMINI.md configuration, prompt template, or system prompt into semantic tags, when choosing tag boundaries, or when checking whether an instruction file follows the pseudo-XML convention. This is the structure-and-tags skill; its sibling ai_instruction_writing governs the wording./ai_instruction_writingWrite AI-consumed content using positive, action-oriented language as the primary carrier of every instruction. Use when creating or editing any artifact an AI reads at inference time. Those artifacts include SKILL.md files, .mdc rule files, CLAUDE.md/AGENTS.md/GEMINI.md configuration, prompt templates, system prompts, commands, agent and sub-agent definitions, instruction sets, and persona definitions./format_markdownApply markdown linting compliance and best practices when creating or editing markdown files (.md, .mdc). Covers blank-line rules around block elements, consistent bullet style, fenced code blocks with language identifiers, table alignment syntax, header level progression, list indentation and spacing, and link/image conventions./format_pythonApply formatting standards, code quality rules, structure conventions, linting prevention, and best practices when generating or editing Python code (.py). Covers indentation, quoting, imports, naming, line length, type hints, error handling, logging, data structures, testing, and security practices aligned with common linters (flake8, ruff, pylint)./format_rustApply clippy-aligned Rust practices when writing or editing Rust code (.rs). Covers procedural flow, clippy-driven clarity improvements, minimal imports, Result/Option idioms, the error-versus-invariant model with panic discipline and clippy unwrap_used enforcement, fallible builders following the error idiom by consumer, string prefix/suffix handling, borrowing clarity, iteration style, string building, and function signature grouping.Other plugins' skills for the same job