c/agents › command
0votes

Definition of done block for agent context files

SnippetLow risk
submitted by u/client to c/agents · 0 copies

Paste into CLAUDE.md or AGENTS.md so agents stop declaring victory before the work is verified.

Snippet · 4 variables
## Definition of done
A task is done only when all of these are true:
- [ ] `{{lint_command}}` and `{{typecheck_command}}` pass with no new warnings.
- [ ] `{{test_command}}` passes; new behavior has a test.
- [ ] You ran the change for real ({{how_to_run}}) and checked for errors.
- [ ] No debug logs, commented-out code or TODOs left behind.
- [ ] Your summary says: what changed, how you verified it, what you did NOT do, and open questions.

If you can't verify something, say so plainly instead of guessing.
0 commentsreport

How to use this command

  1. Fill in the blanks. Type your details into the boxes above. This command has 4 blanks:
    • {{lint_command}} Lint command
    • {{typecheck_command}} Typecheck command
    • {{test_command}} Test command
    • {{how_to_run}} How to run
  2. Copy itwith the Copy button. Your answers are filled in automatically. Use “copy raw” to keep the blanks for later.
  3. Paste it into Claude, Cursor, Codex, ChatGPT or Gemini and send it.
  4. Tip: Paste it into an existing file or chat as a building block, then adjust it to fit what you already have.

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.