Home / Market / pac validate

pac validate

pac-validate

claude-command★ 347030 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Read, Bash argument-hint: [scope] | --file | --epic | --fix | --pre-commit description: Validate Product as Code project structure and files for PAC specification compliance

---

Validate PAC Structure

Validate Product as Code project structure and files for PAC specification compliance: $ARGUMENTS

Current PAC State

Task

Comprehensive validation of PAC project structure and specification compliance:

Validation Scope: Use $ARGUMENTS for specific files/epics or validate entire PAC structure

Validation Checks:

  1. Structure Validation - Directory structure and required files
  2. Configuration Compliance - PAC config file format and values
  3. Epic Validation - YAML syntax, required fields, and spec compliance
  4. Ticket Validation - Format, metadata, and epic references
  5. Cross-Reference Integrity - Epic-ticket relationships and dependencies
  6. Data Consistency - Timestamps, status transitions, and ID uniqueness

Output: Detailed validation report with compliance status, issues found, and specific recommendations for fixes. Use --fix to automatically resolve common issues.

Exit Codes: 0 (valid), 1 (errors found), 2 (configuration issues)