docs: add usage note to CLAUDE_PERSONA — explains YAML activation (CodeRabbit review)

This commit is contained in:
James Feng 2026-06-07 19:36:02 +08:00
parent 420a9a3036
commit 6ab6798909

View File

@ -5,6 +5,11 @@
* 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.
*
* Usage: This is a reference constant. To activate this persona, create
* ~/.claude/modes/claude.yaml with this text as the system_prompt
* field, then run /mode claude. The mode system (src/modes/store.ts)
* auto-loads YAML files from that directory no code import needed.
*/
export const CLAUDE_PERSONA = `# Character