-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCLAUDE.md.template
More file actions
129 lines (97 loc) · 3.29 KB
/
CLAUDE.md.template
File metadata and controls
129 lines (97 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!--
⚠️ TARGET: UNDER 60 LINES (Anthropic Official Guidance)
This template is 117 lines to show all possibilities. Your CLAUDE.md should be MUCH shorter.
RULE: "Would removing this cause mistakes? If not, cut it."
KEEP: ✅ Project purpose (1-2 sentences) ✅ Key commands ✅ Known gotchas ✅ Current focus
CUT: ❌ Examples ❌ Essays ❌ Edge case docs ❌ Long command lists
See FOUNDATIONAL-PRINCIPLES.md for rationale.
-->
# {{PROJECT_NAME}} Project Context
## Project Purpose
{{PROJECT_PURPOSE}}
## Key Documentation Files
{{#if HAS_ARCHITECTURE}}
### ARCHITECTURE.md
**Purpose**: System architecture, directory structure, workflows
**Update Trigger**: Major milestones, infrastructure changes
{{/if}}
{{#if HAS_PLAN}}
### PLAN.md
**Purpose**: Current priorities, immediate next actions
**Update Trigger**: Weekly priority shifts, milestone completions
{{/if}}
{{#if HAS_INDEX}}
### INDEX.md
**Purpose**: Automated document inventory
**Update Trigger**: File structure changes
{{/if}}
## Current Phase
{{CURRENT_PHASE}}
## Project Structure
```
{{PROJECT_STRUCTURE}}
```
## Code Quality Standards
{{#if IS_CODING}}
- Write clean, maintainable code with clear intent
- Test-driven development where applicable
- Meaningful commit messages following conventional format
- No premature optimization
{{/if}}
{{#if IS_WRITING}}
- Evidence-based claims with documented sources
- Balanced perspective acknowledging trade-offs
- Academic quality suitable for peer review
- Intellectual honesty over marketing claims
{{/if}}
{{#if IS_RESEARCH}}
- Evidence tier classification for all claims
- Hypothesis tracking with confidence levels
- Source attribution and citation
- Reproducible methodology
{{/if}}
## Thinking Methodology
For deep analysis of complex topics, use the UltraThink methodology:
Apply the FRAME-ANALYZE-SYNTHESIZE protocol for:
- Technology evaluation and architecture decisions
- Problem-solving and strategic planning
- Complex debugging and root cause analysis
**FRAME**: Define problem, identify assumptions, clarify success criteria
**ANALYZE**: Evaluate alternatives, identify failure modes, assess trade-offs
**SYNTHESIZE**: Recommend approach, document rationale, plan implementation
## Claude Skills Infrastructure
### Personal Skills (6 universal skills)
Available via `~/.claude/skills/`:
- **systematic-debugger** - 4-phase root cause debugging
- **tdd-enforcer** - RED-GREEN-REFACTOR cycle
- **ultrathink-analyst** - FRAME-ANALYZE-SYNTHESIZE deep analysis
- **git-workflow-helper** - Commit message formatting
- **academic-citation-manager** - Evidence tier validation (Tier A-D)
- **voice-consistency-enforcer** - Intellectual honesty standards
{{#if PROJECT_SKILLS}}
### Project-Specific Skills
{{PROJECT_SKILLS}}
{{/if}}
## Git Workflow
Commit messages follow conventional format:
- `feat:` New features
- `fix:` Bug fixes
- `docs:` Documentation changes
- `refactor:` Code refactoring
- `test:` Test additions/changes
- `chore:` Maintenance tasks
{{#if EMOJI_COMMITS}}
Emoji prefixes:
- `✅` Milestone completions
- `📊` Research and analysis
- `🔧` Fixes and corrections
- `📚` Documentation improvements
- `📋` Session archives and updates
{{/if}}
{{#if SENSITIVE_DATA}}
## Sensitive Data
{{SENSITIVE_DATA}}
{{/if}}
---
*Generated by Claude Excellence Kit v1.0.0*
*Template: {{PRESET_TYPE}}*