> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trynota.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Coverage Agent

> Mode-driven AI that transforms product surfaces and specs into actionable test suites.

## Overview

Coverage Agent specializes in structured test generation. Pick the mode that matches your source of truth—live webpage, PRD, Figma, or both—and the agent will extract signals, reason about risks, and respond with executable coverage.

<CardGroup cols={2}>
  <Card title="DOM-Aware" icon="computer" color="#0284c7">
    **Feature Mode** inspects live pages to propose UI and API validations.
  </Card>

  <Card title="Doc & Design Fusion" icon="file" color="#7c3aed">
    PRD-only, Figma-only, and combined modes keep specs and UX aligned.
  </Card>
</CardGroup>

***

## Shared Workflow

1. Launch **New Chat** → **Coverage Agent**.
2. Choose a mode that matches the evidence you can provide.
3. Supply required inputs (URL, PRD files, or Figma link) and describe the goal.
4. Let the agent ingest artifacts, then review the generated test cases and gap analysis.
5. Iterate with follow-up instructions (e.g., "focus on accessibility" or "limit to smoke tests").
6. Export results to suites or download as CSV/JSON for tooling.

***

## Picking a Mode

| Mode                                                   | Best For                                       | Primary Inputs                                     |
| ------------------------------------------------------ | ---------------------------------------------- | -------------------------------------------------- |
| [Feature Mode](/new-chat/coverage-agent/feature)       | Validating live environments or staging builds | Public or authenticated URL + optional credentials |
| [PRD Mode](/new-chat/coverage-agent/prd)               | Requirements traceability and spec reviews     | Uploaded PRD docs (PDF, DOCX, or Markdown)         |
| [Figma Mode](/new-chat/coverage-agent/figma)           | Visual regression and UX interaction coverage  | Figma file/link with permission to view components |
| [PRD + Figma Mode](/new-chat/coverage-agent/prd-figma) | Full alignment between requirements and design | Combination of PRD files and Figma link            |

<Tip>
  Unsure which to pick? Start with Feature Mode for quick wins, then layer PRD
  or Figma context for deeper validation.
</Tip>

***

## Best Practices

<CardGroup cols={2}>
  <Card title="Be Directive" icon="flag">
    Prompts like "Generate smoke tests for billing flows" yield structured
    suites faster than vague asks.
  </Card>

  <Card title="Name Inputs Clearly" icon="arrow-up">
    Label uploads (`Onboarding_PRD_v3.pdf`) so the agent can cite the correct
    source in responses.
  </Card>

  <Card title="Thread Your Iterations" icon="left-right">
    Ask to "expand scenario 2" or "convert to Gherkin" inside the same chat
    rather than restarting.
  </Card>

  <Card title="Version Every Run" icon="clipboard-check">
    Tag outputs with release names so you can trace what shipped and when
    coverage changed.
  </Card>
</CardGroup>

<Warning>
  Modes that require files or design access will fail silently if permissions
  are missing. Confirm sharing settings before starting.
</Warning>

***

## Manage Generated Workflows

* Select individual workflows to inspect justification, effort, and impact.
* Activate only the workflows you want to ship; the rest stay in draft.
* Download the full coverage plan for offline review or compliance sign-off.
* Copy any workflow to reuse in Craftflow, suites, or external tooling.

<Tip>
  Activate after reviewing assertions and data inputs—publishing immediately
  makes the workflow available to everyone with suite access.
</Tip>
