Coding · Intermediate
Filtering codebase context for coding tasks
Prepare relevant code files, filter out sensitive paths, and trim terminal output before prompting
- When you askReceive coding objective
- ThenFilter files and command outputs
- ResultPresent trimmed context summary
Review repository structure and tool outputs to assemble only the relevant context needed for a programming task. Apply path filtering rules to avoid sensitive directories, compress large shell outputs, and provide a concise summary of project state so coding models receive focused inputs without exceeding token limits.
Prompt to start with
BotBentoRecommended
When a development task is assigned, inspect the requested files and command outputs via the terminal. Exclude any private configuration paths, environment files, and build directories. Summarize file structures and trim redundant command logs before presenting the context package. If modifying files or running destructive shell scripts is proposed, present the planned changes and wait for user approval before proceeding.