Documentation
Everything from your first mission to the full specification.
Start with the mental model and a runnable tutorial, then go as deep as the reference. The language and its schemas are pre-1.0, but the compiler, CLI, and these docs are real today.
Start here
The mental model and your first ten minutes.
Manifesto
Why Thunder exists: the human programming language for the AI era, and what works today.
Read →Intent-oriented programming
The paradigm above OOP and FP: build around meaning, prove the code still honors it.
Read →Getting started
Ten minutes from install to running, testing, and gating intent.
Read →Tutorial
Write your first mission, step by step.
Read →Adopting on an existing codebase
Bring intent to a codebase you already have: lift, review, check, gate, and keep in sync.
Read →Case study: a feature-flag gate
A worked adoption: lift a feature-flag evaluator, prove four languages agree, and gate a bad AI change.
Read →Verifying AI code changes
Gate an AI-proposed code change against the intent it must uphold, deterministically.
Read →ThunderLang for AI agents (MCP)
Connect Claude Code, Codex, ChatGPT, or Cursor, and give your agent the rules for when to call each tool.
Read →Write and run programs
Thunder Core: programs you write in Thunder and run as Python.
Thunder Core: write a program and run it
Write a program in plain words, check it, compile it to Python, and run it. The language reference.
Read →Design note: Thunder screens
Why screens have their shape, how React and the Thunder engine stay the same, and what is not built yet.
Read →Reading and writing: how close the reader is to Core
How much of what the reader prints already compiles as Thunder Core, and the list of what is left.
Read →Understand the language
The syntax and the constructs you write.
The Thunder language: one map
Thunder Text, Thunder Core, and missions: how the three fit together and how a .thunder file's kind is decided.
Read →What Thunder means: the rules, and the tests that check them
Decimals, division, rounding, text, nothing, changing values, errors, large numbers, and effects: the same on every target, each rule tied to its tests.
Read →Syntax overview
The keywords, three layers, types, and blocks.
Read →Language principles
The ten design rules the language holds itself to.
Read →The Intent Runtime: executable intent
Run decisions and simulate lifecycles deterministically, with no AI and no generated code.
Read →Tests as a first-class construct
Declare cases and scenarios inside a .thunder file and run them with intent test.
Read →Outcome contracts
Bind an outcome to a target and check whether the result met the commitment.
Read →Data purpose and privacy
Purpose, retention, and lawful basis for sensitive data, enforced by the compiler.
Read →Style intent
Declare brand and visual language against a canonical, lockable token space.
Read →Governance and waivers
Governed exceptions: waive a blocker on the record, with an owner and an expiry.
Read →Understand software
Scan, map, and reason about existing and AI-written code.
Read any code in Thunder
See what code in TypeScript, Python, Go, Rust, C#, or Java decides, in plain English and in a language you know.
Read →Access flow: who may see the record?
Does every path that sends back a record chosen by the request limit it to the caller? Three honest verdicts, each step linked to its line.
Read →Review in Thunder
See what a pull request changed in meaning, in plain sentences, and keep it as one pull request comment.
Read →Thunder review on every pull request
Add one step to a workflow and every pull request gets one comment that says what the change does. Runs in your CI, no AI.
Read →Intent Scanner and Fable
Scan a project into Intent IR and explainable Fable findings grouped by risk.
Read →Optional AI assist
Where optional, gated AI helps, and where the compiler already does the work.
Read →Semantic Diff
A diff by meaning, plus a deterministic three-way semantic merge.
Read →Risk Radar
Which missions to review first, ranked by risk.
Read →Mission Atlas
A semantic map of many missions, from product to proof.
Read →Atlas review for AI changes
Run contract cases, rank evidence gaps, export agent briefs, and compare OpenThunder snapshots.
Read →Mission chains
Connected missions that form one end-to-end flow.
Read →AI-generated missions
Keeping dozens of agent-authored missions reviewable.
Read →Build and verify
From source to proof, editor, and adapters.
Evidence words: how strongly something is checked
Proven, Tested, Partially checked, Unverified, Violated: what each means, and where Thunder uses it.
Read →Runtime enforcement
Compile intent into a guard that blocks forbidden actions and redacts secrets at runtime.
Read →Compiler contract
The deterministic pipeline from source to proof.
Read →Proof Matrix
Verification status across many missions, at a glance.
Read →Editor support (Language Server)
A Language Server so any editor gets diagnostics, completion, and hover.
Read →The drawing kit: one reading, drawn the same everywhere
@skillstech/thunderlang/react: Thing and Data cards and the Big Picture, from one layout, styled with CSS variables.
Read →Structured editing and sync
Edit intent as structured fields and sync back to source, comments intact.
Read →Graph to source (native round-trip)
Regenerate editable .thunder source from an Intent Graph, closing the native round-trip.
Read →Export adapters (DMN, BPMN, model checking)
Render decisions and lifecycles to DMN, BPMN, and NuSMV for existing tooling.
Read →Import adapters (round-trip from DMN, BPMN)
Lift existing DMN tables and BPMN processes back into runnable intent, round-trip.
Read →Schema migrations
Upgrade persisted graphs across schema versions, deterministically.
Read →Scale across a system
Navigate many missions and large changes.
Thunder Trace: how your repositories depend on each other
Which repositories call which, and what a change can affect in the others, each answer cited to a file and line.
Read →The Software Passport: evidence for a change, and when it goes stale
An evidence record for a feature or a change: behavior, links, effects, each claim with its basis and limits, and what turns stale.
Read →Thunder Why: what an AI agent did, in plain words
Read an AI agent's run record and see what it was asked, what it changed, and why it stopped, in plain words.
Read →Working with large changes
The hub for navigating many missions. Links every scaling concept.
Read →Build Session Digest
What changed this session, expressed in intent.
Read →MVP Readiness
demo_safe to production_ready: can this ship, and what blocks it.
Read →Tutorial: 200 missions to a release
From 200 missions to one Release Story, step by step.
Read →Reference
The exhaustive specification and catalogs.
The Thunder 2.0 language specification
The grammar, meaning, diagnostic codes, and compatibility promise of Thunder language 2, frozen for every 2.x release.
Read →The Thunder Programming Language: specification V1
Thunder V1: human-native programming, every element as a picture and as Thunder Text, in seventeen languages.
Read →Mission specification draft v0.2 (legacy)
The earlier intent-oriented mission language (missions, profiles, outcome contracts). Replaced by Thunder V1.
Read →Diagnostics catalog
Every canonical diagnostic code, its severity, and what it blocks.
Read →Language support matrix
Which languages lift, gen, and execute live, on one page.
Read →Intent for every role
One intent for Product, UX, and engineering (intent-graph-v1).
Read →Schema stability policy
The committed stability contract for intent-graph-v1: what is guaranteed, how it versions, how consumers depend on it.
Read →One compiler, five consumers
The universal /core surface OpenThunder, Repo Mastery, Studio, Mobile, and the CLI all share.
Read →AI-age best practices
Ten practices for building software with AI in the loop.
Read →Operating checklist
The Top 100 things ThunderLang must do, mapped to status.
Read →Ecosystem
How ThunderLang fits the wider SkillsTech ecosystem.
Experimental and forward-looking
Designed and in progress. Read as direction, not a contract.
More guides
Thunder, ThunderLang, and Thundered code
Read →Thundering real repositories: results
Read →Language audit: reading real open-source code in every language
Read →The last language people read: what Thunder still needs
Read →Testing Thunder with people who did not build it
Read →How accurate is Thunder? Measured on real code
Read →Converting code between languages, with proof
Read →Lossless anchoring: write a step back to its exact code
Read →Thunder write: change a rule, and only its code changes
Read →Try the simpler language
Read →Human comprehension: design and limits
Read →Use with OpenThunder
Read →twelve-factor-agents
Read →testing-and-verification
Read →Core concepts
ThunderLang has a small vocabulary. These are the terms you will see throughout the docs and examples.
- Mission
- A unit of intent: a goal, its inputs and outputs, and its guarantees.
- Goal
- The outcome a mission is meant to achieve, in plain language.
- Requires
- What must be true or available before the mission runs.
- Input / Output
- The typed values a mission consumes and produces.
- Guarantees
- Properties that must always hold when the mission completes.
- Never
- Forbidden behavior the implementation must never exhibit.
- Constraints
- Bounds and limits, such as a token time-to-live.
- Target
- A language the mission should compile toward, e.g. TypeScript.
- Verify
- The checks (types, tests, scans) that prove the guarantees hold.
- Architecture
- Services, APIs, events, data, dependencies, and ownership.
The Mission block
A Mission is the core unit of intent. It names a goal, declares what it requires, lists the guarantees that must hold, and names the targets it should compile toward.
1mission CreateInvoice23goal4 Generate an invoice from approved orders56why7 Customers need accurate invoices that are auditable and never duplicated.89requires10 Customer11 ApprovedOrders1213input14 customer: Customer15 orders: List<Order>16 idempotencyKey: IdempotencyKey1718output19 invoice: Invoice2021guarantees22 invoice.total is never negative23 duplicate invoices are not created24 every invoice is auditable2526never27 create invoice for unapproved order28 expose payment token in logs2930target31 TypeScript32 DotNet33 OpenAPI34 Tests35 Markdown36 Mermaid3738verify39 unit tests40 duplicate prevention test41 audit trail test42 security scanThree layers
The same mission can be written at three levels of precision: readable Human Intent, a more exact Typed Intent with semantic types and constraints, and compiler-ready Executable Intent that names a target and its checks. See all three side by side on the examples page.
Contracts & guarantees
Guarantees are not tests bolted on afterward. They are part of the program. Each guarantee is a property the implementation must never violate, and the one ThunderLang aims to verify for you across every target.
- • Guarantees read as plain, checkable statements.
- • They travel with the Mission, not in a separate suite.
- • Verification can be satisfied by types, tests, runtime checks, or proofs.
Semantic types
ThunderLang favors semantic types over primitives. Writing email: Email instead of email: string lets the compiler and verification tools reason about meaning, not just shape. Planned built-in types include:
Security model
Security is first-class. Fields can be marked so the compiler and verifier can enforce how they are handled.
1field paymentToken: Secret2 never log3 never return to client4 store encrypted- Sensitive
- Handle with care; may appear in audits.
- Secret
- Never logged, never returned to a client.
- Encrypted
- Stored and transmitted encrypted.
- PII
- Personal data with handling obligations.
- Internal
- Not exposed outside the service boundary.
- Public
- Safe to expose.
- AuditRequired
- Access must be recorded.
- RequiresPermission
- Gated behind an explicit permission.
Targets
A single Mission can target multiple languages. The meaning stays the same; the generated implementation adapts to each target's idioms. Planned early targets include TypeScript, Python, .NET, Java, Go, and Rust, plus artifacts like OpenAPI, Markdown, and Mermaid diagrams.
The intent CLI
The intent command-line interface drives the pipeline from source to proof, deterministically and with no AI required. AI assistance is optional and traceable; every generated artifact records how it was produced.
- intent check
- Parse a .thunder file and report diagnostics; gate a whole directory.
- intent run
- Evaluate the decisions against inputs, with a full trace.
- intent test
- Run the in-file test blocks (cases and scenarios).
- intent build
- Emit docs, the contract graph, a test plan, and .thunder-proof.json.
- intent graph
- Emit the canonical Intent Graph (intent-graph-v1).
- intent proof
- Emit the .thunder-proof.json artifact.
- intent verify-diff
- Gate a code change against the intent it must uphold.
These commands are proposed, not shipped. Track them on the roadmap.
Status & stability
Rolling it out with your team? Run a team pilot or check the roadmap.