Public excerpt
Locked
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…
About this 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.
Example output
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)…
Details
- Model
- Kimi
- Prompt language
- English
- Who it's for
- Developers joining a new team, freelancers taking over a client project, reviewers of an acquisition
- Length
- ~638 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Code & Development
Reviews
No reviews yet. Only buyers of this prompt can leave one.