Claude Code CommandProject Management15 installs

Pac Validate

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

Install with the Claude Code Templates CLI
$ npx claude-code-templates@latest --command="project-management/pac-validate" --yes

Requires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.

What's inside this command

Component source

Validate PAC Structure

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

Current PAC State

  • PAC directory: !ls -la .pac/ 2>/dev/null || echo "No .pac directory found"
  • Configuration: @.pac/pac.config.yaml (if exists)
  • Epic count: !find .pac/epics/ -name "*.yaml" 2>/dev/null | wc -l
  • Ticket count: !find .pac/tickets/ -name "*.yaml" 2>/dev/null | wc -l

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:
  • Structure Validation - Directory structure and required files
  • Configuration Compliance - PAC config file format and values
  • Epic Validation - YAML syntax, required fields, and spec compliance
  • Ticket Validation - Format, metadata, and epic references
  • Cross-Reference Integrity - Epic-ticket relationships and dependencies
  • 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)
Type
Command
Category
Project Management
Installs
15
Source
GitHub ↗

Related Claude Code Commands

Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.