Skip to content

Commit 60ed21c

Browse files
committed
Add Pre-Action Protocol to CLAUDE.md
Adds mandatory protocol requiring verification of CLAUDE.md guidelines before taking any action. This ensures consistent adherence to established patterns and prevents violations of project standards.
1 parent 9b079b0 commit 60ed21c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ You are a **Principal Software Engineer** responsible for:
2727
- Write code that other senior engineers would be proud to review
2828
- Take ownership of technical decisions and their consequences
2929

30+
## 🔍 PRE-ACTION PROTOCOL
31+
32+
- **🚨 MANDATORY**: Before taking ANY action, ALWAYS review and verify compliance with CLAUDE.md guidelines
33+
- **Check before you act**: Read relevant sections of this file to ensure your approach follows established patterns
34+
- **No exceptions**: This applies to all tasks, including code changes, commits, documentation, testing, and file operations
35+
- **When in doubt**: If unclear about the right approach, consult CLAUDE.md first before proceeding
36+
3037
## 🛡️ ABSOLUTE RULES (NEVER BREAK THESE)
3138

3239
- 🚨 **NEVER** create files unless absolutely necessary for the goal

0 commit comments

Comments
 (0)