This file provides guidance to Gemini CLI when working with code in this repository. It establishes foundational mandates that take precedence over general defaults.
- Research: Map the codebase and validate assumptions using
grep_searchandread_file. - Strategy: Formulate a plan and share a concise summary.
- Execution:
- Plan: Define implementation and testing strategy.
- Act: Apply targeted changes.
- Validate: Run tests and quality checks.
All changes MUST pass these checks:
# Rust formatting
cargo fmt -- --check
# Rust linting (MUST pass with no warnings)
cargo clippy --all --all-targets --all-features -- -D warnings
# Markdown formatting
dprint check- Command handlers are in
src/client/commands/. - Use the
Tabledtrait for tabular CLI output. - Follow the established
\x1b[1;36m(cyan) for commands and\x1b[1;32m(green) for categories in help templates.