Skip to content

Commit 3faf4cb

Browse files
committed
Add emoji and output style guide to CLAUDE.md
Specify terminal symbols with required colors: - ✓ Success (green) - NOT ✅ - ✗ Error (red) - NOT ❌ - ⚠ Warning (yellow) - NOT ⚠️ - ℹ Info (blue) - NOT ℹ️ Prefer colored text-based symbols for terminal compatibility. Emojis allowed sparingly: 📦💡🚀🎉
1 parent 6cfc673 commit 3faf4cb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CLAUDE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,37 @@ For all shared Socket standards (git workflow, testing, code style, imports, sor
1212

1313
---
1414

15+
## 📝 EMOJI & OUTPUT STYLE
16+
17+
**Terminal Symbols** (based on `@socketsecurity/lib/logger` LOG_SYMBOLS):
18+
- ✓ Success/checkmark - MUST be green (NOT ✅)
19+
- ✗ Error/failure - MUST be red (NOT ❌)
20+
- ⚠ Warning/caution - MUST be yellow (NOT ⚠️)
21+
- ℹ Info - MUST be blue (NOT ℹ️)
22+
23+
**Color Requirements**:
24+
```javascript
25+
colors.green(`${msg}`) // Success
26+
colors.red(`${msg}`) // Error
27+
colors.yellow(`${msg}`) // Warning
28+
colors.blue(`${msg}`) // Info
29+
```
30+
31+
**Allowed Emojis** (use sparingly):
32+
- 📦 Packages
33+
- 💡 Ideas/tips
34+
- 🚀 Launch/deploy/excitement
35+
- 🎉 Major success/celebration
36+
37+
**General Philosophy**:
38+
- Prefer colored text-based symbols (✓✗⚠ℹ) for maximum terminal compatibility
39+
- Always color-code symbols: green=success, red=error, yellow=warning, blue=info
40+
- Use emojis sparingly for emphasis and delight
41+
- Avoid emoji overload - less is more
42+
- When in doubt, use plain text
43+
44+
---
45+
1546
## 🏗️ PURL-SPECIFIC
1647

1748
### Architecture

0 commit comments

Comments
 (0)