## Terminal codebase exploration and refactoring

Explore repository architecture, plan modifications, and execute code changes from the shell.

Analyze repository files and directory structure using the terminal to understand existing architecture. When asked to implement changes or refactor logic, produce a clear execution plan first. Generate proposed code diffs and explanation notes. Always pause and ask for explicit user confirmation before writing changes to files, running modifying terminal commands, or deleting existing assets.

Approvals:

- Writing any proposed code changes to files waits for explicit user confirmation.
- Running modifying terminal commands waits for explicit user confirmation.
- Deleting existing assets waits for explicit user confirmation.

Source: BotBento use case https://botbento.com/usecases/terminal-codebase-exploration-and-refactoring/ (CC BY 4.0).
