From 24d22ad850db832eed3f11396a6a5b03d1eff076 Mon Sep 17 00:00:00 2001 From: Christian Hood Date: Thu, 19 Mar 2026 18:57:48 -0400 Subject: [PATCH] Add agent workflow rules to CLAUDE.md Document commit-per-task, documentation hygiene, and td lifecycle requirements for all agents working in this repo. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index dbf068e..2072261 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,12 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## Agent Workflow Rules + +- **Commit after every task**: When a task is complete, stage all changed files and create a git commit before marking the task done. +- **Keep documentation current**: Update `CLAUDE.md` with any new commands, architecture details, or setup steps introduced by your task. Update `PRD.md` only if scope/design decisions changed. +- **Mark tasks in td**: `td start ` when beginning, `td close ` when done. + ## Task Management This project uses `td` (a local CLI) for task tracking. At the start of each session: