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

# Commands and skills

> SpecPilot writes the files that tell your AI IDE how to work with your specs.

When SpecPilot sets up a project, it writes three kinds of files for each AI IDE you use. You find them under Automation in the App.

## Instructions

One file your AI IDE reads in every session. It points your agent at the specs and sets the ground rules: no commit, push or deploy unless you ask, keep the specs current, and check the specs before coding.

## Commands

Eight commands you can run in your AI IDE:

| Command | What it does |
| - | - |
| `/specpilot-status` | Shows the current sprint and the next milestone |
| `/specpilot-reanchor` | Restores project context when your agent loses track mid-session |
| `/specpilot-report` | Runs the spec check and shows a Spec Report |
| `/specpilot-sync` | Compares `.specs/` with the code and proposes fixes for drift |
| `/specpilot-refine` | Refines requirements from a new one, with a preview before writing |
| `/specpilot-validate` | Checks the structure and cross-references of `.specs/` and suggests fixes |
| `/specpilot-archive` | Moves old rows out of `tasks.md` and `prompts.md`, with a branch check |
| `/specpilot-backfill` | Adds missing rule sections to instruction files you already have |

## Skills

Claude Code also gets a project skill, `specpilot-project`, with your project's context.

## Keeping them current

Regenerate All in the App brings SpecPilot's own copies of these files up to date after an upgrade.


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