The quality of the tests Recipe generates is directly proportional to the context it has before it starts. A prompt with no context produces generic steps that could describe any app. The same prompt backed by your Figma designs, your PRD, your GitHub branch, and your Jira ticket produces tests that reference your actual screens, your documented acceptance criteria, and your real API contracts. Attaching context is the single highest-leverage thing you can do before sending your first prompt in a recipe.Documentation Index
Fetch the complete documentation index at: https://quashbugs.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Two ways to attach context
Every recipe has two attachment controls at the bottom of the prompt area. The+ button — opens a dropdown for structured sources: your connected app, a GitHub repository branch, a Figma design, or a Jira issue. These are live connections — Recipe reads directly from the source.
The paperclip icon (📎) — opens a file picker for documents: PRDs, spec sheets, feature briefs, or any written requirements in .pdf or .doc format.
Both can be used simultaneously. A well-prepared recipe session typically has an app selected, a GitHub branch chosen, a Figma file linked, and a PRD attached — all before the first prompt is sent.
Attach before your first prompt. Recipe uses the context that is present at the time of each prompt. Attaching a document after you have already sent a prompt means it was not available for that generation. Set everything up first, then prompt.
Your app
Selecting your app gives Recipe visibility into your app’s structure — the screens that exist, the navigation flows, and the UI patterns Mahoraga has learned through Guidance. How to attach:- Click the + button at the bottom of the prompt area.
- Open the dropdown. Your connected apps are listed at the top.
- Select the app you are testing.
GitHub repository branch
Connecting a GitHub branch gives Recipe access to your codebase — real API endpoints, real data models, real field names, real validation logic. Tests generated with a branch connected reference what your code actually does, not what the UI implies it does. How to attach:- Click the + button.
- Select your connected repository from the dropdown.
- Choose the branch that matches what you are currently testing.
feature/checkout-v2 reflects that branch’s endpoints and business logic — which may differ significantly from main or a production branch. If you are testing a feature in active development, use the feature branch.
If no repositories appear, connect one first in Apps → Knowledge. Indexing takes 4–5 minutes on first connection.
Figma designs
Attaching a Figma file gives Recipe access to your screen designs — component names, interaction states, error states, empty states, and any annotations your designer has written about intended behaviour. This is context that neither a codebase nor a PRD captures as clearly. When Recipe has your Figma designs, it generates tests that:- Reference actual component and button names as labelled in the design
- Cover states the designer explicitly accounted for — loading, empty, error, disabled
- Include edge cases visible in annotations that would not appear in a text description
- Match the exact copy used for error messages and confirmation text
- Open the Figma desktop app
- Ensure MCP is enabled in Figma (check Figma → Preferences → Enable MCP server)
- Have the file you want to attach open
- Click the + button at the bottom of the prompt area.
- Select Add Figma design from the dropdown.
- In the modal that appears, paste your Figma file URL (e.g.
figma.com/design/...). - Click Add.
Jira issues, epics, and sprints
Attaching a Jira source gives Recipe the documented requirements for the feature — user stories, acceptance criteria, bug descriptions, epics, and sprint context. Tests generated with Jira attached align directly with what was formally specified. Jira must be connected first Before you can attach a Jira source to a recipe, your Jira workspace must be connected in the Integrations section. If Jira is not connected when you click Add Jira issue, Quash shows a “Jira Not Connected” screen and directs you to Integrations. To connect Jira: go to your profile → Integrations → locate Jira → click Connect. How to attach:- Click the + button at the bottom of the prompt area.
- Select Add Jira issue from the dropdown.
- Search for or paste the issue ID, epic, or sprint you want to attach.
- Click to confirm.
- Issues — individual feature tickets with user stories and acceptance criteria
- Epics — for broader feature coverage across multiple tickets
- Sprints — to give Recipe context about the full scope of current work
- User story description and acceptance criteria
- Bug reproduction steps (useful for generating regression tests)
- Linked issues and epic context
- Labels, priority, and any notes on the ticket
PRDs and specification documents
Attaching a document gives Recipe access to written requirements, feature specifications, product briefs, or any other documentation that describes what you are building and why. Supported formats:.pdf and .doc
How to attach:
- Click the paperclip icon (📎) next to the prompt input.
- Select your file from the file picker.
- Feature descriptions and user journeys
- Acceptance criteria and success metrics
- Edge cases and out-of-scope statements
- Error handling requirements
- Any explicit test scenarios described in the doc
Using multiple sources together
The most effective recipe sessions combine all available sources. Each one fills a gap the others cannot.| Source | What it adds |
|---|---|
| App | Screen names, navigation structure, Guidance-built knowledge |
| GitHub branch | Real API endpoints, field names, validation logic, business rules |
| Figma | Component names, interaction states, error states, design annotations |
| Jira | Acceptance criteria, user stories, formal requirements |
| PRD / document | Feature intent, edge cases, out-of-scope definitions |
The difference context makes
Without context, Recipe generates tests like this:Context and the session token limit
Every source you attach contributes to the session’s token count. Attaching a large PRD, a full GitHub repository, and a multi-page Figma file all at once will push the context window higher. Quash auto-compacts at the 200k token limit, but you can use/compact manually before that point to keep the session sharp.
→ Token management & /compact