Thundered code · No install · No AI
Read any code in Thunder.
Paste a file or open a whole folder of TypeScript, JavaScript, Python, Go, Rust, C#, Java, Kotlin, PHP, or Ruby and see it Thundered: its routes, the rules it makes, and the checks it runs, in plain English. Search and filter everything, and see each rule rewritten in a language you know.
1. Paste code, or start from a sample
Thundered Go (detected)
1package shipping23import "errors"45var ErrNoAddress = errors.New("no address")67// ShippingFee decides what a customer pays to ship an order.8func ShippingFee(total float64, member bool, oversized bool) string {9 if oversized {10 return "Freight"11 }12 if total >= 50 || member {13 return "Free"14 }15 return "Standard"16}1718// DeliveryWindow promises a delivery speed by region.19func DeliveryWindow(region string, express bool) string {20 if express && region == "domestic" {21 return "NextDay"22 } else if region == "domestic" {23 return "ThreeDays"24 }25 return "TwoWeeks"26}2728func Label(order Order) (string, error) {29 if order.Address == "" {30 return "", ErrNoAddress31 }32 return fmt.Sprintf("%s\n%s", order.Name, order.Address), nil33}34
2. Read it in Thunder
2 decisions, 1 other function, 1 error, 0 tests.
- Error
no address
Can fail with the error "no address".
- Decision
ShippingFee
If oversized, the answer is Freight. Otherwise, if total is at least 50 or member, the answer is Free. Otherwise, the answer is Standard.
Rules for ShippingFee, checked top to bottom When The answer is If oversized Freight Otherwise, if total is at least 50 or member Free Otherwise Standard In ThunderLang
decision ShippingFee inputs total: number member: boolean oversized: boolean rule rule_1 when oversized return Freight rule rule_2 when total >= 50 or member return Free default return Standard
In Python, a language you know
def ShippingFee(total: float, member: bool, oversized: bool) -> str: if oversized: return "Freight" if ((total >= 50) or member): return "Free" return "Standard"
- Decision
DeliveryWindow
If express and region is "domestic", the answer is NextDay. Otherwise, if region is "domestic", the answer is ThreeDays. Otherwise, the answer is TwoWeeks.
Rules for DeliveryWindow, checked top to bottom When The answer is If express and region is "domestic" NextDay Otherwise, if region is "domestic" ThreeDays Otherwise TwoWeeks In ThunderLang
decision DeliveryWindow inputs region: string express: boolean rule rule_1 when express and region == "domestic" return NextDay rule rule_2 when region == "domestic" return ThreeDays default return TwoWeeks
In Python, a language you know
def DeliveryWindow(region: str, express: bool) -> str: if (express and (region == "domestic")): return "NextDay" if (region == "domestic"): return "ThreeDays" return "TwoWeeks"
- Function
Label
Label takes order (Order) and returns (string, error).
Checks first
- Fails with ErrNoAddress if order.Address is "". Line 29.
Not read
- Line 32:
fmt.Sprintf("%s\n%s", order.Name, order.Address), nilThis answer is computed, not a fixed value.
Inferred from the code by pattern, not by running it, and with no AI. A reading shows what the code appears to decide, not what it was meant to decide. Anything it could not read is listed under “Not read” instead of being guessed.
In your terminal and your coding agent
The same reader runs on a file or a whole repository, with the same filters:
thunder read . --kind route --answer 401 thunder read services --answer Decline --in python thunder read LoanPolicy.java --json
In Claude Code or Codex, intent_read_repo reads your repository and intent_read reads one file; ChatGPT can use intent_read. How reading works → Connect your agent →