Gemini CLI prompt for exploring and editing an unfamiliar codebase
Exemple éditorial pour explorer et modifier une base de code inconnue dans Gemini CLI, rédigé pour notre guide et non testé auprès de l'éditeur
Pour
Gemini CLI
Source
AI Tool Atlas guide: Gemini CLI
Vérifié
Oct 2, 2026
Le prompt
Exemple éditorial tiré de notre guide
Explain how authentication works in this repository, then add rate limiting to the login endpoint in src/api/login.ts, and write a test for it. Show me the diff before applying changes.
Comment utiliser ce prompt : quoi renseigner, où l'exécuter, ce que vous obtenez
Comment vérifier le résultat
Lancez vous-même les tests.
Relisez le git diff.
Ce prompt a été rédigé comme exemple pour notre guide et n'a pas été exécuté avec l'outil. Attendez-vous à l'adapter à votre cas. Comment nous documentons les outils.
Add AgentID sign-in to this project. Read https://www.agentid.com/llms-full.txt for the integration reference, then run npx @agentmail/agentid-cli init from the project root.
Do not jump into implementation or change files unless clearly instructed to make
changes. When the user's intent is ambiguous, default to providing information, doing
research, and providing recommendations rather than taking action. Only…