CAT PAW

All workflows

Software Engineering

Implement a Feature with Test-Driven Development

A small, production-ready feature whose behavior is specified by automated tests and whose implementation has been refactored while green.

The process

Work it in this order.

  1. Translate the requested behavior and acceptance criteria into a short, ordered list of test cases, including failure and boundary cases.
  2. Inspect the repository's test conventions, select the smallest next behavior, and write one focused test using the existing framework.
  3. Run that test and confirm it fails for the expected reason rather than because of setup or syntax errors.
  4. Implement the minimum production code needed to make the new test pass without broad unrelated changes.
  5. Run the focused test and then the relevant test suite; fix regressions before proceeding.
  6. Refactor code and tests for clarity and duplication while keeping the suite green, then document the behavior and evidence in the change summary.

Bring this

Inputs the cat will ask for.

  • Repository or branch
  • Feature behavior and acceptance criteria
  • Test command or framework conventions

Router + one playbook

Route first. Choose one.

Cat Paw loads one playbook per task rather than merging several. Start with this router; the remaining paths are workflow-specific candidates it can inspect.

  • Router: engineering-pack
  • skills/engineering/mattpocock/tdd/SKILL.md
  • skills/engineering/mattpocock/implement/SKILL.md

Guardrails

The boundaries travel with the prompt.

  • Do not weaken or delete existing assertions merely to obtain a green run.
  • Confirm the red test fails for the intended missing behavior.
  • Keep each cycle scoped to one observable behavior and avoid unrelated refactors.

Done means

A checkable finish.

The new behavior is covered by a test that was observed failing first, all relevant tests pass after implementation and refactoring, and the change summary states what was verified.

Sources

Where this process came from.

  1. martinfowler.com/bliki/TestDrivenDevelopment.html
  2. pytest.org/en/latest/getting-started.html

Sources establish the workflow pattern. Reddit and community posts, where present, are treated as practitioner anecdotes rather than universal facts.

AI acts. You decide.

A human brake for AI.

Latch shows every command, click, and file change before it happens — so you can say yes, no, or not yet.

Plow Latch · macOS Cat Paw Latch · Windows + Linux · build from source
Cat Paw Latch

Behind the number

Two harnesses. One line.

Same number, same $100 credit. Pick the harness that answers when you text.

Hermes

Nous Research's terminal-native agent. It runs on your machine, keeps memory between sessions, and opens one playbook per task.

Text Hermes
OpenClaw

The open-source assistant that runs on your own computer and answers in the channels you already use. One playbook per task.

Text OpenClaw

One line for both harnesses +1 628 246 3032

Opens Messages with that harness already chosen.