Configure
Brief for your AI
Hand the wiring to Claude Code, Cursor or ChatGPT.
Updated
Every app's Deploy hook settings offer “Copy instructions for your AI”: a markdown brief for Claude Code, Cursor or ChatGPT that explains what your codebase must expose.
Why a brief instead of a library
Mystra needs nothing installed, but it does need your app to behave in a few specific ways: accept signups from the throwaway inbox domain, send a welcome email with a link, lead a fresh account to Stripe Checkout, gate the paid area, and, ideally, delete the account when a run ends. Those are ordinary features, and most apps already have them. The brief describes each one precisely enough that a coding assistant can check your codebase and make the missing changes, in your own framework and style, without you translating the docs first.
What it covers
- Letting the throwaway accounts through, and the signup form shape.
- The welcome email and the link it must contain.
- How the pay step is proven and which price to lead to.
- The access proof, with the selector or field you chose.
- The deploy hook, with a ready GitHub Action.
- The cleanup webhook, with the signature check.
- The optional path markers.
The brief is generated from the app's current settings, so the signup path, the upgrade page, the price id and the access selector in it are the ones the runner will use. Change a setting and copy it again.
How to use it
- Open the app in the dashboard, go to Settings → Deploy hook and press Copy instructions for your AI.
- Paste it into your assistant with your repository open and ask it to check each section against the code and make the changes it finds missing.
- Paste the two secrets it asks for into your host's environment variables yourself; the brief names them but never contains them.
- Deploy, then press Run now. The first run shows which steps pass and, for anything else, what the runner saw.
For assistants reading the whole product, there is also /llms.txt.