- Split CODING_GUIDELINES.md into 19 indexed standards files under .claude/standards/ - 9 from CODING_GUIDELINES (conventions, powershell, security, api, git, gururmm) - 10 from session log tribal knowledge (syncro, ssh, gitea, python, client, gururmm) - Add .claude/standards/index.yml for cheap relevance-based lookup - Add /inject-standards command: load targeted standards per task instead of full guidelines - Add /shape-spec command: pre-implementation spec for GuruRMM features (plan.md, shape.md, references.md, standards.md) with mandatory out-of-scope gate - Add docs/tech-stack.md and docs/mission.md for ClaudeTools API - Add projects/msp-tools/guru-rmm/docs/tech-stack.md and mission.md for GuruRMM - Update CLAUDE.md commands table with /inject-standards and /shape-spec Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
---
|
|
name: no-emojis
|
|
description: Never use emojis in code, scripts, config, or output; use ASCII markers instead
|
|
applies-to: all
|
|
---
|
|
|
|
# No Emojis — Ever
|
|
|
|
Never use emojis in code, scripts, config files, log messages, or output strings.
|
|
|
|
## Rationale
|
|
|
|
Causes PowerShell parsing errors, encoding issues, and terminal rendering problems. PowerShell profile scripts that interact with emoji characters can trigger codepage changes (`chcp 65001`) which alter the Claude Code CLI font and break rendering. Emoji bytes can also corrupt log files that are read by tools expecting ASCII or Latin-1.
|
|
|
|
## Use instead
|
|
|
|
```
|
|
[OK] [SUCCESS] [INFO] [WARNING] [ERROR] [CRITICAL]
|
|
```
|
|
|
|
These are the mandatory ASCII status markers for all scripts, tools, session logs, commit messages, and any output visible in a terminal or log file.
|
|
|
|
## Exception
|
|
|
|
User-facing web UI with proper UTF-8 handling. If a React component or HTML page is intentionally rendering emoji for end users, that is acceptable. The prohibition is on everything else: server logs, CLI output, scripts, config files, PowerShell, Bash, Python print statements, and any text that may flow through a terminal.
|
|
|
|
## Scope
|
|
|
|
This applies to:
|
|
- All scripts (PowerShell, Bash, Python)
|
|
- Config files (YAML, TOML, JSON comments)
|
|
- Log messages and print statements
|
|
- Git commit messages
|
|
- Markdown documentation in `.claude/`
|
|
- Syncro ticket comments
|
|
- Session logs
|
|
- Any output written to a terminal or log file
|