sentrix requirements
Generate and review product requirements documents.
sentrix requirements
Generate and review product requirements documents. This command is also available as sentrix prd.
Subcommands#
sentrix requirements new#
Generate a new requirements document using AI.
Aliases: write, create
Usage#
sentrix requirements new --app <app> --description <description> [--draft]
Options#
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--app | string | Yes | Target app name (e.g., website, ai-ui, ai-api). | |
--description | string | Yes | Natural language description of the requirements. | |
--draft | bool | No | false | Save to plans/backlog/<app>/ instead of the active plans directory. |
Examples#
Create active requirements:
sentrix requirements new --app website --description "Contact form with email validation and spam protection"
Create draft requirements in the backlog:
sentrix requirements new --app website --description "Blog search functionality" --draft
sentrix requirements review#
Review an existing requirements document using AI. This command provides structured feedback without modifying the file.
Usage#
sentrix requirements review <target>
Arguments#
| Argument | Type | Required | Description |
|---|---|---|---|
target | path | Yes | Path to a directory containing 00-requirements.md, or a direct path to the requirements file. |
Requirements in plans/backlog/ cannot be reviewed — they must be activated first.
Example#
sentrix requirements review plans/website/2026-02/feature-contact-form/
sentrix requirements delete#
Delete a requirements document and all associated plan files.
Usage#
sentrix requirements delete <target>
Arguments#
| Argument | Type | Required | Description |
|---|---|---|---|
target | path | Yes | Path to a directory containing 00-requirements.md, or a direct path to the requirements file. |
Requirements in plans/backlog/ cannot be deleted using this command — they must be activated first. Requirements assigned to an initiative (with an initiative_id) also cannot be deleted.
Behavior#
- Deletes the requirements file and all child plan files in the same directory
- Syncs deletions to the Sentrix API
- Removes the directory if it is empty after deletion
- Rejects deletion when any plan or requirement has
blocked_byreferences crossing the directory boundary (in either direction)
Use --dry-run (-n) to preview what would be deleted without writing:
sentrix requirements delete plans/website/2026-02/feature-contact-form/ --dry-run
Example#
sentrix requirements delete plans/website/2026-02/feature-contact-form/