Skip to content
CommandImported

pac-validate

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

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.5 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/pac-validate.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/pac-validate.zip -d ~/.claude/commands

Instructions

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:

  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)

Files

  • LICENSE1 KB
  • pac-validate.md1.5 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/project-management/pac-validate.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report