claude-dev-env 1.25.0 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +5 -18
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -1,39 +1,26 @@
|
|
|
1
1
|
# Claude Development Assistant
|
|
2
2
|
|
|
3
|
-
## Code Rules
|
|
3
|
+
## Code Rules
|
|
4
4
|
@~/.claude/docs/CODE_RULES.md
|
|
5
5
|
|
|
6
6
|
## Core Philosophy
|
|
7
7
|
|
|
8
8
|
**TDD IS NON-NEGOTIABLE.** Build it right, build it simple. Maintainable > Clever.
|
|
9
9
|
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
### Expectations
|
|
10
|
+
## Expectations for Claude
|
|
13
11
|
|
|
14
12
|
1. **ALWAYS FOLLOW TDD** - No production code without failing test
|
|
15
13
|
2. **MANDATORY SELF-CHECK before proposing** - See protocol below
|
|
16
14
|
3. Assess refactoring after every green
|
|
17
15
|
|
|
18
|
-
### Mandatory Self-Check Protocol
|
|
19
|
-
|
|
20
16
|
**BEFORE proposing plans/implementation:**
|
|
21
17
|
|
|
22
|
-
☐ Project rules review (e.g. Tasklings `tasklings-preferences` when in that repo path)
|
|
23
18
|
☐ "Is this KISS?" (simplest? unnecessary complexity?)
|
|
24
19
|
☐ "Over-engineering?" (multiple files? premature abstractions?)
|
|
25
20
|
☐ Test infrastructure? (ONE file, functions, YAGNI)
|
|
26
21
|
☐ Tests add value? (no existence checks, no constant tests)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
**Run `/check-pr` OR verify:**
|
|
31
|
-
- ☐ KISS / preferences (multiple requirements.txt? over-engineered?)
|
|
32
|
-
- ☐ KISS (simplest? one file? functions not classes?)
|
|
33
|
-
- ☐ Files (proper modules, correct dirs, no empty __init__.py)
|
|
34
|
-
- ☐ Quality (no dupes, types complete, no Any/any)
|
|
35
|
-
- ☐ Tests (no existence checks, no constant value tests)
|
|
36
|
-
- ☐ Self-checked before proposing?
|
|
22
|
+
☐ Files (proper modules, correct dirs, no empty __init__.py)
|
|
23
|
+
☐ Quality (DRY, types complete, no Any/any)
|
|
37
24
|
|
|
38
25
|
## Additional Non-overlapping Rules
|
|
39
26
|
|
|
@@ -47,4 +34,4 @@ When compacting, always preserve:
|
|
|
47
34
|
- Active task and current goal
|
|
48
35
|
- Full list of modified files
|
|
49
36
|
- Any failing test names or error messages
|
|
50
|
-
- Current git branch and PR state
|
|
37
|
+
- Current git branch and PR state
|