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 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 18:57:48 -04:00
parent 0a88bb3d12
commit 24d22ad850

View File

@@ -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 <id>` when beginning, `td close <id>` when done.
## Task Management
This project uses `td` (a local CLI) for task tracking. At the start of each session: