Skip to main content

Overview

The standardise command provides tools for managing documentation and examples consistency across the PraisonAI project. It implements the Feature Docs/Examples Protocol (FDEP) to ensure all features have proper documentation and examples.

Commands

Check

Check for standardisation issues without making changes.
Options: Example:

Report

Generate a detailed standardisation report.
Options: Example:

Fix

Fix standardisation issues by creating missing artifacts.
Options: Example:

Init

Initialise a new feature with all required artifacts.
Arguments: Options: Example:

AI

AI-powered generation of documentation and examples using LLM.
Real, Runnable Examples: The AI generator creates actual working code, not templates. Examples are verified by execution before being written - if the code doesn’t run, it won’t be saved.
Arguments: Options: Features:
  • Real Examples: Generates working code with mock data, not placeholder templates
  • Execution Verification: Examples are run before writing to ensure they work
  • Auto-Retry: If code fails, the AI attempts to fix it (up to 2 retries)
  • External Library Handling: Examples requiring external libraries are marked but still saved
Example:
Verification Output:

Checkpoint

Create an undo checkpoint before making changes.
Options: Example:

Undo

Undo to a previous checkpoint.
Options: Example:

Redo

Redo after an undo operation.
Options: Example:

Workflow Example

Exit Codes

When using --ci mode:

See Also