rqb
Covers the full Reqbook workflow: project layout, endpoint spec format, Assertions operators, pipeline capture patterns, MCP tool reference, and routing rules for when to use each slash command.
Install
What the skill teaches
Project layout
Endpoint format
Required frontmatter:resource, protocol: http, method, path (:param for path params), version: 1.
Sections in order: ## Request → ## Expected response → ## Error responses (optional) → ## Assertions (optional) → ## Tests (optional) → ## Notes (optional).
Assertions
Structured rules that run after each execution:| Operator | Example |
|---|---|
| (equals) | status: 200 · body.name: Ada Lovelace |
exists | body.id: exists |
in [...] | body.role: in [admin, user] |
contains | headers.content-type: contains json |
matches | body.slug: matches ^[a-z]+$ |
Pipeline capture patterns
| Pattern | When to use |
|---|---|
response.body.<field> | Top-level JSON field |
response.body.<a>.<b> | Nested JSON field |
response.body[<n>].<field> | Field from nth array item |
response.headers.<name> | Response header value |
Routing table
The skill routes the agent to the right tool or command based on the situation:| Situation | Action |
|---|---|
| Create or update specs | /rqb |
| Debug a failing endpoint or pipeline | /rqb-debug |
| Execute a spec | rqb_exec MCP tool |
| Diagnose a failed endpoint | rqb_diagnose MCP tool |
| Run a pipeline | rqb_flow MCP tool |
Supported agents
| Agent | Skill format | Path |
|---|---|---|
| Claude Code | SKILL.md | .claude/skills/rqb/SKILL.md |
| Cursor | .mdc | .cursor/rules/rqb.mdc |
| GitHub Copilot | .instructions.md | .github/instructions/rqb.instructions.md |
| Codex CLI | SKILL.md | .agents/skills/rqb/SKILL.md |
| Antigravity | SKILL.md | .agents/skills/rqb/SKILL.md |
| OpenCode | SKILL.md | .opencode/skills/rqb/SKILL.md |
| Windsurf | .md (rule) | .windsurf/rules/rqb.md |