Configure and initialize a project following the Product as Code specification for structured, version-controlled product management
Initializes a Product as Code project with structured configuration, templates, and validation scripts.
/plugin marketplace add davepoon/buildwithclaude/plugin install commands-project-task-management@buildwithclaudeSpecify configuration settingsConfigure and initialize a project following the Product as Code specification for structured, version-controlled product management
Analyze Project Context
$ARGUMENTSInteractive Setup (if no existing PAC config)
Create PAC Directory Structure
.pac/ directory if it doesn't exist.pac/epics/ - for epic definitions.pac/tickets/ - for ticket definitions.pac/templates/ - for reusable templates.pac/README.md explaining the structure and PAC specificationGenerate PAC Configuration Files
.pac/pac.config.yaml with:
apiVersion: productascode.org/v0.1.0
kind: Configuration
metadata:
project: "[project-name]"
owner: "[owner-name]"
created: "[timestamp]"
spec:
defaults:
assignee: "[default-assignee]"
epic_prefix: "epic-"
ticket_prefix: "ticket-"
validation:
enforce_unique_ids: true
require_acceptance_criteria: true
Create Initial Epic Template
.pac/templates/epic-template.yaml:
apiVersion: productascode.org/v0.1.0
kind: Epic
metadata:
id: "epic-[name]"
name: "[Epic Name]"
created: "[timestamp]"
owner: "[owner]"
spec:
description: |
[Epic description]
scope: |
[Scope definition]
success_criteria:
- [Criterion 1]
- [Criterion 2]
tickets: []
Create Initial Ticket Template
.pac/templates/ticket-template.yaml:
apiVersion: productascode.org/v0.1.0
kind: Ticket
metadata:
id: "ticket-[name]"
name: "[Ticket Name]"
epic: "[parent-epic-id]"
created: "[timestamp]"
assignee: "[assignee]"
spec:
description: |
[Ticket description]
type: "feature"
status: "backlog"
priority: "medium"
acceptance_criteria:
- [ ] [Criterion 1]
- [ ] [Criterion 2]
tasks:
- [ ] [Task 1]
- [ ] [Task 2]
Create First Epic and Ticket
.pac/epics/Set Up Validation Scripts
.pac/scripts/validate.sh to check PAC compliance:
Configure Git Integration
.gitignore if needed:
.pac/tmp/
.pac/cache/
*.pac.lock
Generate PAC Documentation
.pac/GUIDE.md with:
Create Helper Commands
.pac/scripts/new-epic.sh for creating new epics.pac/scripts/new-ticket.sh for creating new ticketsFinal Validation and Summary
cp .pac/templates/epic-template.yaml .pac/epics/epic-[name].yamlcp .pac/templates/ticket-template.yaml .pac/tickets/ticket-[name].yaml.pac/scripts/validate.sh--minimal: Create minimal PAC structure without templates and scripts--epic-name <name>: Specify initial epic name--owner <name>: Specify product owner name--no-git: Skip git integration setup/project:pac-configure
/project:pac-configure --epic-name "user-authentication" --owner "john.doe"
/project:pac-configure --minimal