Skip to content

Commit 025f0c4

Browse files
authored
Merge pull request #7 from brianfunk/dev
Merge dev: CLAUDE.md working style guidelines
2 parents 3bee524 + ece1700 commit 025f0c4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,22 @@ Single-file library with a main function and helper exports:
4545
## Related Projects
4646

4747
- **cAPIta** - REST API that wraps capstring (separate repo)
48+
49+
---
50+
51+
## Working Style
52+
53+
### Think First, Code Second
54+
For anything non-trivial, plan the approach before writing code. Identify which files change, what the edge cases are, and how to verify it works. A solid plan means fewer iterations and cleaner implementations.
55+
56+
### Own the Problem
57+
When something's broken - CI failing, bug reported, error in logs - just go fix it. Read the error, trace the cause, implement the fix. Don't wait for instructions on each step.
58+
59+
### Verify, Don't Assume
60+
After making changes, prove they work. Run the tests. Check the output. If asked to review code, be genuinely critical - find the issues, don't just approve.
61+
62+
### When Stuck or Wrong
63+
If a solution feels hacky, stop. Rethink from scratch using what you learned. If corrected on a mistake, suggest a CLAUDE.md update to prevent it happening again - be specific about what to avoid.
64+
65+
### Stay Focused
66+
Use subagents for research, exploration, or isolated subtasks. Keep the main conversation for coordinating and making decisions.

0 commit comments

Comments
 (0)