claude code
>
the payment isn't going through — what's broken?
"Could be the gateway, validation, or the webhook… let me read through the payment files."
(reads 9 files · ~40k tokens · still guessing)
zsh — ~/projects/acme-store
$
npx repolith index .
walking tree · parsing AST · resolving symbols
✓ 395 files · 4,165 elements · 1,592 deps
indexed locally — nothing uploaded.
🔌 Connect Claude Code
✓ Connected
claude code · repolith
>
the payment isn't going through — what's broken?
processPayment()
→ checkout.ts:142
3 callers · orders.ts:88 · webhooks.ts:31
blast radius:
11 elements
(1 tool call · ~1k tokens · exact)
🔎 where do we charge the card
Process Payment
backend/src/modules/billing/charge.ts:142
processPayment()
💥 blast radius: 11
- const fee = base * 0.029;
+ const fee = base * 0.025;
✓ saved · tests pass · re-indexed
📋 Prompt for Claude Code / Cursor
>
one-click prompt for
processPayment
Act as a senior security engineer.
Target:
checkout.ts:142
· blast radius: 11
Land on the blast radius — don't re-explore the repo.
⧉ Copied · 0 tokens to generate
🛡 Audit · security · GDPR · QA
running…
✅ Already Implemented
— parameterized SQL · db.ts:88
🔴 Must Do Now
— no rate limit on /login · auth.ts:40
⚪ Not Needed
— SSTI n/a (no templates)
🟡 Do Later
— add pagination · orders.ts:120
🧪 Generate tests · Vitest detected
$
generate tests for
processPayment
framework: Vitest · mocking validate(), charge()
describe("processPayment", () => {
it("charges once on success", …)
it("rejects an invalid card", …)
✓ checkout.test.ts generated
Without Repolith
~40k
tokens · reads 9 files · still guessing
With Repolith
~1k
tokens · 1 exact tool call
🔒
100% local · deterministic
Tree-sitter, not an LLM — your code never leaves your machine. No cloud, no account.
Repolith
Give your AI agent the map of your codebase.
Try it free → repolith.com
⏮
⏸
0:00.00 / 1:57.00
100% local · deterministic · for Claude Code & Cursor