Quick start
- Create one
.rqmlfile in the root of your repository (by conventionrequirements.rqml, or a descriptive name likemyapp.rqml) - Copy the following scaffold into your
.rqmlfile:
<rqml xmlns="https://rqml.org/schema/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://rqml.org/schema/2.1.0 https://rqml.org/schema/rqml-2.1.0.xsd"
version="2.1.0" docId="DOC-HELLO-001" status="draft">
<meta>
<title>...</title>
<system>...</system>
</meta>
<requirements>
<req id="..." type="FR" title="Print greeting" status="draft" priority="must">
<statement>...</statement>
</req>
</requirements>
</rqml>
- Tell your LLM of choice that the requirements specification for your project is in the
.rqmlfile - you can do this through your prompt and/or in AGENTS.md (see below for example AGENTS.md entry) - Write your requirements in the RQML file, with help of an LLM if you want.
- Ask your LLM to implement the requirements
- Test and repeat.
Recommended tooling
Two optional add-ons that make working with RQML noticeably smoother:
- Install the RQML VS Code extension — adds first-class editor support for
.rqmlfiles in VS Code, so writing and reviewing specs feels native. - Install the RQML Agent Skill — drop it into Claude Code or any other skill-compatible coding agent, and your agent will understand RQML and the spec-first workflow out of the box, with no extra prompting required.
Example AGENTS.md
Download the AGENTS.md template and copy it to your project root. Adjust the Strictness level to match your project needs.
The template includes:
- Strictness levels:
relaxed,standard,strict,certified— choose based on your project's needs - Spec-first workflow: Elicit → Specify → Implement → Verify → Trace
- Sync protocol for when code and spec diverge
- Change summary template for PRs and commits