Onboarding map of an unfamiliar codebase, with traced requests

par fidji Kimi Anglais ~638 tokens
Extrait public Verrouillé
Inventory of languages, frameworks and entry points (routes, CLI, cron, workers), module dependency diagram, end-to-end trace of key requests with file:line, conventions to imitate, god files and hidden side effects, then where to start for your actual task…

À propos de ce prompt

Feed a whole repository as text and get the map a senior colleague would draw for you: entry points, architecture with a Mermaid diagram, two key requests traced file by file, data model, conventions, danger zones and a reading order for your first task. Every claim cites a path. Built for Kimi’s very long context, so the whole codebase fits in one conversation.

Exemple de résultat

Fourni par l'auteur
STEP 1 — Entry points (excerpt) | Type | Path | | HTTP API | src/main/kotlin/shop/api/*Controller.kt (14 controllers) | | Scheduled | src/main/kotlin/shop/jobs/NightlySettlementJob.kt (@Scheduled, 02:00) | | Queue consumer | src/main/kotlin/shop/payments/StripeEventListener.kt | Run locally: `./gradlew bootRun` with docker-compose.yml (Postgres + Redis). STEP 3 — Flow "admin refund" 1. api/AdminRefundController.kt:42 — POST /admin/orders/{id}/refunds, checks role ADMIN 2. refunds/RefundService.kt:77 — computes refundable amount (excludes shipping [inferred from name `itemsOnly`]) 3. payments/PaymentGateway.kt:131 — calls the provider, no retry 4. refunds/RefundService.kt:102 — saves Refund, publishes RefundCreated → mail/RefundMailer.kt:18 STEP 6 — Danger zones - orders/OrderService.kt (2,340 lines): pricing, stock and emails mixed; 3 copies of the VAT rounding (l. 410, 988, 1502). - config/FeatureToggles.kt: `legacyRefunds=true` in prod profile routes refunds through an older path… STEP 8 — Read in order: RefundService.kt, Refund.kt, V37__refunds.sql, RefundServiceTest.kt (copy its style)…

Fiche technique

Modèle
Kimi
Langue du prompt
Anglais
Pour qui
Developers joining a new team, freelancers taking over a client project, reviewers of an acquisition
Longueur
~638 tokens (estimation)
Format livré
Texte du prompt, affiché en ligne après achat

Avis

Réservés aux acheteurs

Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.

Signaler ce prompt