mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
docs: Enhance core coding principles with engineering best practices
Integrated five fundamental engineering principles at the start of Core Beliefs: - Good taste: eliminate edge cases for elegant logic - Extreme simplicity: complexity as root cause of issues - Pragmatism: solve real problems, not hypothetical ones - Data structures first: prioritize data design over code - Backward compatibility: preserve existing functionality These principles complement existing guidelines while emphasizing foundational software engineering wisdom. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -19,11 +19,14 @@ For all CLI tool usage, command syntax, and integration guidelines:
|
||||
|
||||
### Core Beliefs
|
||||
|
||||
- **Pursue good taste** - Eliminate edge cases to make code logic natural and elegant
|
||||
- **Embrace extreme simplicity** - Complexity is the root of all evil
|
||||
- **Be pragmatic** - Code must solve real-world problems, not hypothetical ones
|
||||
- **Data structures first** - Bad programmers worry about code; good programmers worry about data structures
|
||||
- **Never break backward compatibility** - Existing functionality is sacred and inviolable
|
||||
- **Incremental progress over big bangs** - Small changes that compile and pass tests
|
||||
- **Learning from existing code** - Study and plan before implementing
|
||||
- **Pragmatic over dogmatic** - Adapt to project reality
|
||||
- **Clear intent over clever code** - Be boring and obvious
|
||||
- **Simple solutions over complex architectures** - Avoid over-engineering and premature optimization
|
||||
- **Follow existing code style** - Match import patterns, naming conventions, and formatting of existing codebase
|
||||
|
||||
### Simplicity Means
|
||||
|
||||
Reference in New Issue
Block a user