Add a Feature
Step-by-step process for implementing a new feature
CLAUDE.md
When asked to add a new feature:
- Read the existing codebase to understand current patterns, conventions, and architecture.
- Identify the files that need to change and any new files required.
- Write a failing test that describes the expected behavior.
- Implement the feature using the smallest change that satisfies the test.
- Run the full test suite to verify nothing is broken.
- Review your own changes for consistency with existing code style.
- If the feature has a UI component, start the dev server and verify it works visually.
Copy this workflow into your CLAUDE.md or agent config file so your agent follows this process automatically.