GEMINI.md
packages/core/GEMINI.mdGEMINI.md
Quality
63/100
Scores the file, not the repository.Length
252 words
4 headings · 0 code blocksRepository
106k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# Gemini CLI Core (`@google/gemini-cli-core`)23Backend logic for Gemini CLI: API orchestration, prompt construction, tool4execution, and agent management.56## Architecture78- `src/agent/` & `src/agents/`: Agent lifecycle and sub-agent management.9- `src/availability/`: Model availability checks.10- `src/billing/`: Billing and usage tracking.11- `src/code_assist/`: Code assistance features.12- `src/commands/`: Built-in CLI command implementations.13- `src/config/`: Configuration management.14- `src/confirmation-bus/`: User confirmation flow for tool execution.15- `src/core/`: Core types and shared logic.16- `src/fallback/`: Fallback and retry strategies.17- `src/hooks/`: Hook system for extensibility.18- `src/ide/`: IDE integration interfaces.19- `src/mcp/`: MCP (Model Context Protocol) client and server integration.20- `src/output/`: Output formatting and rendering.21- `src/policy/`: Policy enforcement (e.g., tool confirmation policies).22- `src/prompts/`: System prompt construction and prompt snippets.23- `src/resources/`: Resource management.24- `src/routing/`: Model routing and selection logic.25- `src/safety/`: Safety filtering and guardrails.26- `src/scheduler/`: Task scheduling.27- `src/services/`: Shared service layer.28- `src/skills/`: Skill discovery and activation.29- `src/telemetry/`: Usage telemetry and logging.30- `src/tools/`: Built-in tool implementations (file system, shell, web, MCP).31- `src/utils/`: Shared utility functions.32- `src/voice/`: Voice input/output support.3334## Coding Conventions3536- **Legacy Snippets:** `src/prompts/snippets.legacy.ts` is a snapshot of an37 older system prompt. Avoid changing the prompting verbiage to preserve its38 historical behavior; however, structural changes to ensure compilation or39 simplify the code are permitted.40- **Style:** Follow existing backend logic patterns. This package has no UI41 dependencies — keep it framework-agnostic.4243## Testing4445- Run tests: `npm test -w @google/gemini-cli-core`46- Run a specific test:47 `npm test -w @google/gemini-cli-core -- src/path/to/file.test.ts`48
Also in google-gemini/gemini-cli
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| google-gemini/gemini-cliGEMINI.md · 106k | GEMINI.md | setupbuildtestlint-format+6 | 91/100 | 3 days ago | |
| google-gemini/gemini-clipackages/a2a-server/GEMINI.md · 106k | GEMINI.md | test | 37/100 | 3 days ago | |
| google-gemini/gemini-clipackages/cli/GEMINI.md · 106k | GEMINI.md | teststyleui | 47/100 | 3 days ago | |
| google-gemini/gemini-clipackages/devtools/GEMINI.md · 106k | GEMINI.md | setupbuildarchapi+1 | 74/100 | 3 days ago | |
| google-gemini/gemini-clipackages/sdk/GEMINI.md · 106k | GEMINI.md | teststyle | 41/100 | 3 days ago | |
| google-gemini/gemini-clipackages/test-utils/GEMINI.md · 106k | GEMINI.md | testarchtesting-strategy | 58/100 | 3 days ago | |
| google-gemini/gemini-clipackages/vscode-ide-companion/GEMINI.md · 106k | GEMINI.md | buildtest | 41/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| google-gemini/gemini-cliGEMINI.md · 106k | GEMINI.md | setupbuildtestlint-format+6 | 91/100 | 3 days ago | |
| diegosouzapw/OmniRouteGEMINI.md · 38k | GEMINI.md | testlint-formatarchsecurity+2 | 87/100 | 3 days ago | |
| compozy/gographGEMINI.md · 9 | GEMINI.md | setuptestlint-formatarch+4 | 86/100 | 3 days ago | |
| nordeim/misc1/GEMINI.md · 0 | GEMINI.md | setupbuildtestlint-format+3 | 81/100 | 3 days ago | |
| firebase/flutterfireGEMINI.md · 9.2k | GEMINI.md | lint-formatstylearchdo-not+1 | 80/100 | 3 days ago | |
| nodejs/nodedeps/v8/GEMINI.md · 119k | GEMINI.md | buildteststylearch+4 | 77/100 | 3 days ago | |
| abpframework/abpnpm/ng-packs/packages/schematics/src/commands/ai-config/files/gemini/.gemini/GEMINI.md · 14k | GEMINI.md | testlint-formatstylearch+8 | 76/100 | 2 days ago | |
| zyx77550/spardaGEMINI.md · 4 | GEMINI.md | testlint-formatgitapi+2 | 75/100 | 3 days ago |
