Documentation Index
Fetch the complete documentation index at: https://mayson.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
1. Plan before you prompt
The most common reason a first build misses is that the thinking happened inside Mayson instead of before it. Take five minutes to answer four questions:- What is this app and what does it actually do?
- Who are the users, and do they have different roles?
- What is the one core action the app exists to enable?
- What should it look and feel like?
2. Read the PRD before you evaluate the build
Before Mayson writes a single line of code, it generates a Product Requirements Document from your prompt. This PRD covers the app’s purpose, user roles, features, data entities, screen list, routes, and UI direction, all interpreted from what you wrote. This document is the Agent’s understanding of your brief made visible. Read it. The PRD tells you exactly what the Agent thinks you’re building. If it lists two roles and you only described one, that’s the Agent filling in a gap. If the feature list includes something you didn’t ask for, or omits something you did, you’ll see it here before the build runs. What to check in the PRD:- Does the app description match what you actually want to build?
- Are the user roles correct, and are their permissions described accurately?
- Is the feature list complete? Is anything missing or added that you didn’t ask for?
- Do the listed screens cover the full experience you described?
- Does the data model (entities and relationships) reflect your intent?
- Does the UI direction match your design brief?
For developers: The PRD includes the generated database schema (tables, columns, relationships) and the API surface before any code runs. This is the fastest way to verify that the data model is structurally correct. If you catch a missing field or a wrong relationship in the PRD, flag it in your first post-build correction and the Agent will update the schema and regenerate the affected routes.
3. Understand what you’re generating
Most tools build one thing. Mayson builds everything at once. When you submit your first prompt, the Agent generates:| Layer | What gets created |
|---|---|
| Frontend | All screens, components, navigation, and layout |
| Backend | API routes, business logic, data processing |
| Database | Tables, relationships, indexes, based on your described entities |
| Middleware | Auth guards, validation, request handling |
| Infrastructure | Hosting, deployment, environment config |
For developers: You’re giving the Agent a product brief, not a technical spec. Avoid specifying frameworks, schemas, or endpoint naming conventions in your initial prompt. The generated backend is Python-based. Once the app is generated, the Manual Builder gives you block-level access to the full backend if you need to make precise changes to any route, middleware rule, or code block.
4. Define your users and roles upfront
Roles are one of the most structurally significant things in any application. They determine what each user can see, do, and access, and they shape the entire information architecture. If your app has more than one user type, define both in your first prompt. Don’t add a second role mid-build if you can avoid it. It’s much harder to restructure around roles than to generate with them from the start. Prompt with roles:- What they can see
- What they can do
- What they cannot access
- Whether they have a distinct dashboard or view
5. The anatomy of a strong first prompt
A well-structured first prompt has five parts. You don’t need headers or bullet points, you just need to cover all five.| Part | What it covers | Example |
|---|---|---|
| App identity | What it is and what it does in one sentence | ”A task manager for small teams” |
| User roles | Who uses it and what each role can do | ”Managers assign tasks, team members complete them” |
| Core features | The key things the app must do | ”Task creation, assignment, due dates, status updates” |
| Data entities | The things your app tracks | ”Tasks, users, projects, comments” |
| Visual direction | How it looks and feels | ”Clean, minimal, card-based, blue accent” |

