done

A completion command that detects the kind of delivery needed, validates the code, and updates project documentation.

In plain words
What is it for?
Use it to finish quick changes, land feature-branch work, or deliver multi-phase projects while checking quality and updating status and changelog records.
Why use it?
It gathers final checks into one workflow and identifies issues such as secrets, failed tests, or unfinished plan items before delivery.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stranma/claude-code-python-template/done
Any agent
npx skills add stranma/claude-code-python-template --skill done
Clone the repo
git clone --depth 1 https://github.com/stranma/claude-code-python-template

Made for: Claude Code, Codex.

Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.01186
Opus 5 $0.00016 $0.00593
Sonnet 5 $0.00006 $0.00237
Haiku 4.5 $0.00003 $0.00119

Measured yesterday against content hash 4fdfb2061df0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

done scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/done/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Done

Universal completion command. Call this when work is finished to validate, ship, and document.

Phase 1: Detect Scope

Determine scope from workspace signals:

Signal Q (ship) S (land) P (deliver)
Branch main/master feature branch feature branch
Files changed <=3 >3 any
IMPLEMENTATION_PLAN.md no unchecked phases no unchecked phases has unchecked phases
Diff size <100 lines >=100 lines any

Decision logic (first match wins):

  1. If docs/IMPLEMENTATION_PLAN.md has unchecked phases -> P (deliver)
  2. If on a feature branch -> S (land)
  3. If on main/master AND small scope (<=3 files, <100 lines changed) -> Q (ship)
  4. If on main/master AND large scope -> warn user, suggest creating a feature branch

Always report the detected scope and accept user override.

Phase 2: Validate

Absorbs the former /ship checklist. Three tiers of checks:

Blockers (must ALL pass -- stop if any fail)

  1. No secrets in codebase

    • Search for: sk-, AKIA, ghp_, password=, secret=, -----BEGIN.*PRIVATE KEY
    • Zero matches in tracked files (exclude .env.example)
  2. No debug code

    • Search for: breakpoint(), pdb.set_trace() in non-test source files
    • These are hard blockers -- any match stops the process
  3. Pre-commit hygiene

    • Search for leftover TODO, FIXME, HACK markers in changed files
    • List all found with file:line for review

High Priority (run via agents in parallel)

Launch two agents simultaneously:

Agent File What it checks
Code Quality .claude/agents/code-quality-validator.md Lint (ruff check), format (ruff format --check), type check (pyright)
Test Coverage .claude/agents/test-coverage-validator.md All tests pass, coverage report

All agents use subagent_type: "general-purpose".

Recommended

  1. Git history -- check for WIP/fixup commits that should be squashed
  2. Branch up to date -- check if behind base branch

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 127 lines · 32 tokens per session scan A 4fdfb2061df0

Subscribe to this mod's changes

done is a skill published in the GitHub repository stranma/claude-code-python-template (2 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 1,186 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.