Claude Code Section
PROMPT EDITOR
Edit the AI prompts that drive every analysis. Changes take effect immediately on the next run. Use {{data}} and {{date}} as placeholders.
Prompts
Loading...
Available Tokens
{{data}}The raw EOD or transcript data pasted by the user
{{date}}The report date in YYYY-MM-DD format
⚠ Important
Prompts must instruct Claude to return only valid JSON matching the expected structure. Do not remove the JSON schema from the prompt.
Developer Section — Claude Code
Making Code Changes
To modify the application logic, open this project in Claude Code and reference the CLAUDE.md file at the root. It contains full architecture docs, file map, and change instructions.
# Open project in Claude Code
cd elite-operator
claude
Common Changes
Change AI modelEdit model name in lib/claude.ts
Modify DOCX stylingEdit lib/docx-generator.ts
Add new input typeAdd prompt to Supabase + update API route
Change report formatUpdate AnalysisResult type in lib/supabase.ts
Add Slack integrationAdd POST to /api/analyze/route.ts after analysis
Connect Close CRMCreate app/api/close/route.ts — see CLAUDE.md