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 direct access to your screens, components, annotations, and interaction states. 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
- The Figma desktop app. The browser version does not expose the MCP server. If you normally work in the browser (most developers do), you will need to install the desktop app for this step.
- A paid Figma plan. MCP is not available on free or Starter plans. You need Professional, Organization, or Enterprise. If your team is on a free plan, talk to whoever manages your Figma account about upgrading.
- MCP enabled. Go to Figma β Preferences β Enable MCP server before you start.
- Open your file in the Figma desktop app.
- Click the frame you want to attach. The URL bar updates to include a node ID (e.g.
figma.com/design/ABCDEF/My-File?node-id=123-456). Copy this URL from the address bar, not the Share button. - In Quash, click + at the bottom of the prompt area, select Add Figma design, paste the URL, and 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.
They are not redundant β they are complementary. A codebase tells you what the app does. A Figma file tells you what it should look like. A PRD tells you why it exists and what counts as success.
Example β full context setup for a checkout feature:
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