Skip to content

Commit 764fa63

Browse files
authored
feat: add emphasis expressions to key configuration rules (#35)
Add IMPORTANT, CRITICAL, and YOU MUST expressions to improve instruction following reliability per Anthropic best practices: - global/CLAUDE.md: IMPORTANT in Priority Rules section - project/CLAUDE.md: CRITICAL in Quick Reference section - conversation-language.md: YOU MUST for Korean response rule - security.md: IMPORTANT for input validation section Closes #29
1 parent 605114b commit 764fa63

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

global/CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The configuration is organized into focused modules for better token efficiency:
1515

1616
## Priority Rules
1717

18+
**IMPORTANT:** These rules determine which settings take effect:
19+
1820
1. **Project settings override global settings** - When a project has its own `CLAUDE.md`, those rules take precedence
1921
2. **Intelligent loading** - Claude Code uses conditional loading rules to automatically select relevant modules (see project's `conditional-loading.md`)
2022
3. **Explicit conflicts** - If project and global settings conflict, the project setting wins

global/conversation-language.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Claude communicates with users in their preferred language while maintaining tec
1111

1212
### User Interaction
1313
- **Default response language**: Korean
14+
- **YOU MUST:** Always respond in Korean unless the user explicitly requests English.
1415
- **Language switching**: Honor explicit user requests to change language
1516
- **Consistency**: Maintain chosen language throughout session
1617

project/CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ These guidelines define general conventions and practices for working in this re
99
1010
## Quick Reference
1111

12+
**CRITICAL:** Always consult [environment.md](claude-guidelines/environment.md) first for timezone and locale context.
13+
1214
<table>
1315
<tr>
1416
<td width="50%">

project/claude-guidelines/security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Input Validation
44

5+
**IMPORTANT:** All user input MUST be validated before processing.
6+
57
### Validate All External Input
68

79
Never trust data from external sources. Always validate and sanitize:

0 commit comments

Comments
 (0)