AI Assistant System Prompt Editing
★ 7.3 · ai-tooling
system-prompt lets Claude Code edit and improve the AI assistant's system prompts used in DBX Studio's AI chat. It covers two separate prompts: the streaming prompt (`contextPrompt` in `ai-stream.ts`, lines ~132–202) and the oRPC provider prompt (`SYSTEM_PROMPT_WITH_TOOLS` in `providersWithTools.ts`). Both follow a unified structure with sections for Tools Available (six tools ordered by usage), Response Rules, Chart Selection Guide, Query Safety, and a dynamic schema context injected via `${enhancedPrompt}`. Use this skill when you need to adjust the assistant's tone, tool invocation order (schema → query → chart), SQL formatting rules, or query safety constraints — while keeping both prompts consistent with each other.
- #system-prompt
- #prompt-engineering
- #ai-behavior
- #instruction-tuning