> ## 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.

# README.md

> The guide at the top of .specs/: what the folder is and how to start filling it in.

`.specs/README.md`. `specpilot validate` doesn't require it.

## What it holds

A short guide to the folder: its subfolders, and the two commands to know, `specpilot validate` and `specpilot add-specs`.

## What setup writes

One of two versions, for a new project or for an existing codebase. Both point at [`development/onboarding.md`](https://docs.specpilot.dev/reference/spec-files/onboarding) as the first step.

## Who reads it

You and your agent. The App shows it in Explorer (see [Spec views](https://docs.specpilot.dev/app/spec-views.md)).

## Front matter

Every spec file starts with a front-matter block, in one of two styles.

Most files use this one:

```yaml theme={null}
---
title: Requirements
description: Functional and non-functional requirements for the project
project: demo
language: typescript
framework:
lastUpdated: 2026-11-23
sourceOfTruth: project/project.yaml
---
```

`tasks.md`, `threat-model.md` and `security-decisions.md` use this one:

```yaml theme={null}
---
fileID: TASKS-001
description: Sprint tracker with backlog, current sprint, and completed work
lastUpdated: 2026-11-23
version: 1.0
contributors: [alex]
relatedFiles: [roadmap.md, project.yaml, requirements.md]
---
```

`specpilot validate` accepts both. It warns when a Markdown file's `lastUpdated` is more than 90 days old. The `relatedFiles` it suggests on other pages are suggestions, not errors.

Checked against SpecPilot 2.22.0.


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