refactor: condense system prompt, prioritize prompt_sandbox#247
Conversation
Reduce the system prompt from ~85 lines to ~50 by merging overlapping sections (Core Capabilities + Specialized Knowledge, How You Think + Behavior Rules) and removing redundant examples. Add a prominent "Sandbox-First Approach" section that instructs the LLM to default to prompt_sandbox for files, code, data analysis, content generation, and any multi-step tasks — only using other tools for quick lookups or single-purpose updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
prompt_sandboxfor files, code, data analysis, content generation, and any multi-step tasksWhat changed
Removed/merged:
Added:
prompt_sandboxis its primary tool and listing when to use it vs when other tools are betterPreserved:
getSystemPrompt.ts(context values, image editing, user/artist/knowledge base) — untouchedTest plan
getSystemPrompttests passbuildSystemPromptWithImagestests passprompt_sandboxmore readily for file/content tasks🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes