AGENTS.md · wasp-lang/wasp
AGENTS.md from wasp-lang/wasp: 70 lines covering Contribution policy, Repository Structure, Build & Development, Code Conventions and more.
Template by wasp-lang
Chalk Labs
Need help deploying AGENTS.md · wasp-lang/wasp?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/wasp-lang/wasp/main/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-generation, frontend-development
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 70 lines
- File
AGENTS.md
Sections
- Contribution policy
- Repository Structure
- Build & Development
- Code Conventions
- Important Rules
First lines (shown under the repo's MIT license)
# Wasp Monorepo Wasp is a full-stack web framework that compiles TypeScript config (`main.wasp.ts`) files into React + Node.js applications. The compiler is written in Haskell. ## Contribution policy If you are implementing a change intended as a pull request to `wasp-lang/wasp`: - **Small, obvious fixes** (typos, broken links, docs corrections, small bugs where the fix is clear and comes with a test) can be implemented and submitted directly. - **Anything else** (features, refactors, API or behavior changes, anything involving design decisions) requires a Wasp maintainer's agreement on the approach _before_ the code is written, in a [GitHub issue](https://github.com/wasp-lang/wasp/issues) or in the [`#wasp-dev` channel on Discord](https://discord.wasp.run/wasp-dev). An open issue is not by itself agreement: look for a maintainer confirming the approach in the discussion. If you cannot verify that a maintainer has agreed on the approach, do not implement the change. Stop and tell your operator to propose it first. Undiscussed non-trivial PRs are typically closed without review. Whoever submits the PR must understand the change well enough to explain it and answer review questions themselves. See the [Policies section of CONTRIBUTING.md](CONTRIBUTING.md#policies) for details. ## Repository Structure - `waspc/` — Haskell compiler, CLI, and LSP server (the core of Wasp) - `src/` — Main compiler library (Analyzer, Generator, AppSpec, Psl) - `cli/src/` — CLI commands (start, build, new, deploy, etc.) - `data/` — Mustache templates, starters, and the built TS packages and libs the CLI ships - `data/Generator/templates/` — Mustache templates for code generation - `e2e-tests/` — Golden file snapshot tests - `run` — **Main development script** (run `./run` with no args to see all commands) - `packages/` — TypeScript packages: `cli` (the `wasp` executable wrapper), `spec`, the FFI packages the CLI calls (`deploy`, `studio`), `libs/` embedded into generated project code, and `wasp-app-runner` for running Wasp apps in e2e tests. - `web/` — Documentation website (Docusaurus), deployed to wasp.sh - `examples/` — Tutorial and example apps (kitchen-sink, waspello, etc.) - `scripts/` — Monorepo-level build/packaging scripts ## Build & Development All waspc development commands run from the `waspc/` directory via the `./run` script. Run `./run` with no arguments to see the full list of available commands (build, test, format, lint, etc.). Key things to know: - Two-phase build: TS packages and libs in `packages/` compile first and get copied into `waspc/data/`, then Haskell (which embeds them). Use `./run build` for the full build. - Run the dev CLI with `./run wasp-cli <args>`. - Toolchain versions are specified in `mise.toml`. - The repo is a pnpm workspace (`pnpm-workspace.yaml`), but not everything is in it yet. Some projects still use npm. ## Code Conventions - When renaming a type or function, cascade the rename to parameters, local variables, and other names derived from it. ### Haskell - Simple, readable Haskell — no complicated features. See `CONTRIBUTING.md`. - Default extensions are listed in `waspc/waspc.cabal`. - CamelCase for types/modules, camelCase for functions/values. - Qualified imports preferred. - Formatting: Ormolu (`./run check:ormolu` / `./run format:ormolu`). Linting: HLint (`./run hlint`, config in `waspc/.hlint.yaml`). - Tests use `tasty` + `hspec` + `QuickCheck`, mirroring source module paths with a `Test` suffix. ### TypeScript/JavaScript - Prettier-formatted (config in `prettier.config.mjs`). Check/fix with `./run check:prettier` / `./run format:prettier`. - camelCase for files/functions, PascalCase for components/types. ### Architecture - **Analyzer** reads the TypeScript config (`main.wasp.ts`) and Prisma schema and produces **AppSpec** (IR). **Generator** consumes AppSpec and produces React/Node.js code. - Code generation uses a file draft system and Mustache templates in `data/Generator/templates/`. ## Important Rules - **E2E snapshots** (`waspc/e2e-tests/test-outputs/snapshots/`) must never be manually edited. Regenerate them by running `cd waspc && ./run build && ./run test:waspc:e2e:accept-all`. - **Documentation**: Only edit `web/docs/` (the latest version). Do not modify `web/versioned_docs/` — those are auto-generated snapshots of previous versions. - **Markdown snapshots** (`web/markdown-snapshots/`) must never be manually edited. After changing docs, blog, or resources content (or the LLM files plugin), regenerate them by running `cd web && pnpm run build-dev && pnpm run markdown-snapshots:update`, then review the diff before committing. CI checks them with `pnpm run markdown-snapshots:check`. - **Pull requests**: Always use the repo's `PULL_REQUEST_TEMPLATE.md`. Never delete any checkbox from the template — leave irrelevant ones unchecked.
Signals
- Stars
- 18,783
- Forks
- 1,477
- Open issues
- 811
- Last commit (this folder)
- Sep 14, 2026 (1 month ago)
- Last release
- Oct 23, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/wasp-lang/wasp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · wasp-lang/wasp running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · wasp-lang/wasp. Agent Mart. https://agentmart.dev/templates/wasp-lang-wasp-agents-md (last updated 2026-10-24)