Commit 75b0b62
docs: Add comprehensive guide on teaching AI your coding standards
Level 5 empathy example for the book - shows readers how to implement
preventive error detection in their own projects.
Guide covers (11,000 words):
- The problem: AI doesn't remember standards across sessions
- The solution: Project memory with .claude/ directory
- Real example: Our implementation for Empathy Framework
- Step-by-step: How to implement for any team/language
- Adapting style manuals: Convert existing 200-page guides
- Multi-language examples: Python, TypeScript, Go
- Case study: Real startup results (80 hours/month saved)
- Level 5 connection: Preventing errors before they happen
Sections:
1. The Problem (why repeating standards is wasteful)
2. The Solution (project memory structure)
3. Real Example (.claude/ implementation with 1,170-line reference)
4. How to Implement (5-step process with examples)
5. Incorporating Existing Style Manuals (3 options)
6. Language Examples (Python, TypeScript, Go patterns)
7. Maintaining Standards (start small, iterate, measure)
8. Advanced: Multi-Project Standards (shared company rules)
9. Troubleshooting (common issues and solutions)
10. Case Study (40% → 12% code review time, 0 security issues)
This demonstrates the framework's philosophy in practice:
Understanding needs before they're expressed (Level 5) and
providing standards that prevent violations at code generation time.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e1a4f2b commit 75b0b62
1 file changed
Lines changed: 742 additions & 0 deletions
0 commit comments