Skip to main content

Commands Reference

Complete reference for all Sentrix CLI commands.

Commands Reference

The Sentrix CLI provides commands for the full AI-native development lifecycle: from initiatives and requirements through plan generation and review, code generation and review, staged-snapshot commit creation, and plan completion.

Command Groups#

sentrix init#

Set up a repository for use with Sentrix. Creates configuration files, installs the remaining managed Claude Code command asset, and updates .gitignore.

sentrix auth#

Test API authentication and verify connectivity to the Sentrix API.

sentrix initiative#

Create and manage cross-app initiatives. Initiatives group related requirements under a shared goal.

sentrix requirements#

Generate and review product requirements documents. Also available as sentrix prd.

sentrix plans#

Generate, review, and manage implementation plans. Covers plan creation, review, activation, and completion. AI implementation now lives under sentrix code generate.

sentrix code#

Generate implementations from plans, review code changes, and create commits from the staged snapshot. Includes sentrix code generate for AI-powered plan implementation, sentrix code review for reviewing implementation diffs, and sentrix code commit for commit creation.

sentrix code commit#

Generate a Conventional Commit message for a staged snapshot in an active plans directory and optionally create the git commit. Sentrix validates the message shape, appends canonical Implements: plan references automatically, and never auto-stages files for you.

Global Flags#

These flags are available on every command:

FlagShortDefaultDescription
--formatjsonOutput format: json or text. Default is json for machine-readable output and tooling integration. Use --format text for human-readable output.
--dry-run-nfalsePreview changes without writing files or calling the API.
--forcefalseOverwrite existing files or skip confirmation prompts.