From e084d921a7e2fdd810d75541fc7e9216b2485ac4 Mon Sep 17 00:00:00 2001 From: James Feng <47167674+GhostDragon124@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:29:22 +0800 Subject: [PATCH] docs: add usage note to CLAUDE_PERSONA explaining it's a reference template for YAML config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/modes/personas/claude.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modes/personas/claude.ts b/src/modes/personas/claude.ts index ee4cc19b9..90dad65cb 100644 --- a/src/modes/personas/claude.ts +++ b/src/modes/personas/claude.ts @@ -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