docs: add usage note to CLAUDE_PERSONA explaining it's a reference template for YAML config

CodeRabbit noted that CLAUDE_PERSONA has no direct imports. This is
intentional — it's a reference template for users defining custom modes
via ~/.claude/modes/claude.yaml, not a programmatically imported constant.
This commit is contained in:
James Feng 2026-06-07 19:29:22 +08:00
parent 19e97f4bcc
commit e084d921a7

View File

@ -5,6 +5,12 @@
* This is NOT the full 70KB training constitution but a 3KB operational
* extract of the character traits and judgment principles that make Claude
* distinct. Designed to be injected as a mode's systemPrompt.
*
* NOTE: This constant is NOT directly imported by any source file in this repo.
* It serves as a **reference template** for users who define custom modes via
* `~/.claude/modes/claude.yaml`. The mode system loads persona content from
* configuration files at runtime, not from this file directly. Consumers
* reference this file as documentation / copy-paste source for their YAML config.
*/
export const CLAUDE_PERSONA = `# Character