code-explainer
Explain code at a high level and surface gotchas
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Use this template to explain code at a high level and surface gotchas.
INPUTS
- Code - the code to explain
- (optional) File path
INSTRUCTIONS
- Read the provided code.
- Describe what it does in clear, concise terms. Prefer bullets.
- Summarize data flow, side effects, external calls, and I/O.
- Note domain concepts relevant to the business/application context.
- Call out risks, edge cases, and TODOs you would add.
- Keep it actionable and brief. Avoid restating the code line-by-line.
- When helpful, include a small sequence diagram or pseudo-code.
- Keep lines ≤80 chars.
OUTPUT FORMAT
What this code does
- ...
How it works (flow)
- Inputs:
- Processing:
- Outputs:
- Side effects:
Dependencies & contracts
- Frameworks/libraries used:
- Service/API calls:
- Databases/tables/queues touched:
Assumptions
- ...
Gotchas & risks
- Concurrency:
- Error handling:
- Performance:
- Security/compliance:
- Observability:
TODOs / improvements
- Quick wins:
- Follow-ups:
Example trace (pseudo)
...
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!