The new names better reflect the compounding engineering philosophy: each documented solution compounds your team's knowledge. - /codify → /compound (old command shows deprecation notice) - codify-docs → compound-docs skill - Updated all docs, philosophy sections, and references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
880 B
Markdown
35 lines
880 B
Markdown
# Critical Pattern Template
|
|
|
|
Use this template when adding a pattern to `docs/solutions/patterns/cora-critical-patterns.md`:
|
|
|
|
---
|
|
|
|
## N. [Pattern Name] (ALWAYS REQUIRED)
|
|
|
|
### ❌ WRONG ([Will cause X error])
|
|
```[language]
|
|
[code showing wrong approach]
|
|
```
|
|
|
|
### ✅ CORRECT
|
|
```[language]
|
|
[code showing correct approach]
|
|
```
|
|
|
|
**Why:** [Technical explanation of why this is required]
|
|
|
|
**Placement/Context:** [When this applies]
|
|
|
|
**Documented in:** `docs/solutions/[category]/[filename].md`
|
|
|
|
---
|
|
|
|
**Instructions:**
|
|
1. Replace N with the next pattern number
|
|
2. Replace [Pattern Name] with descriptive title
|
|
3. Fill in WRONG example with code that causes the problem
|
|
4. Fill in CORRECT example with the solution
|
|
5. Explain the technical reason in "Why"
|
|
6. Clarify when this pattern applies in "Placement/Context"
|
|
7. Link to the full troubleshooting doc where this was originally solved
|