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

# requirements.md

> What the project must do, with REQ IDs your tasks and tests trace back to.

`.specs/project/requirements.md`. `specpilot validate` requires it.

## What it holds

The project overview, functional and non-functional requirements with `REQ-###` IDs, and assumptions.

## What setup writes

The overview from your description, with `## Functional Requirements` and `## Assumptions` as `[TODO]`. Setup answers add `### Access control` and `### Special considerations` under Functional Requirements.

## Who reads it

* The App's Requirements view (see [Spec views](https://docs.specpilot.dev/app/spec-views.md)).
* `/specpilot-sync`.
* `/specpilot-refine`, which adds requirements here, following the existing IDs.
* [`specpilot refine`](https://docs.specpilot.dev/reference/cli/refine), which adds a note under Project Overview, not requirements with IDs.

## What validate checks

* Warns without a "Functional Requirements" or "User Stories" section.
* Suggests naming `architecture/architecture.md`, `architecture/api.yaml` and `project/project.yaml` in `relatedFiles`.

Checked against SpecPilot 2.22.0.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.