Comprehensive phase management command that starts, validates, and generates templates for any of the 4 architect collaboration phases
npx claudepluginhub xyzbit/claude-plugins --plugin architect-collaboration[--phase <number>] [--project <name>] [--interactive] [--generate] [--validate]# /architect:phase-workflow This command provides comprehensive phase management for the Senior Architect Collaboration workflow. It can start a new phase with templates, validate phase completion criteria, or generate phase-specific documentation. ## Usage ### Interactive Mode (Recommended) Prompts will guide you through phase selection, project setup, and actions. ### Automated Mode ## Arguments - `--phase <number>`: Phase number (1-4) - 1: Requirements Analysis - 2: Technical Design - 3: Task Breakdown - 4: Feature Development - `--project <name>`: Project name for docum...
This command provides comprehensive phase management for the Senior Architect Collaboration workflow. It can start a new phase with templates, validate phase completion criteria, or generate phase-specific documentation.
/architect:phase-workflow
Prompts will guide you through phase selection, project setup, and actions.
/architect:phase-workflow --phase 1 --project "E-commerce Platform" --generate
--phase <number>: Phase number (1-4)
--project <name>: Project name for documentation
--interactive: Force interactive mode (default if no other flags)
--generate: Generate phase templates only
--validate: Validate phase completion only
--help: Show help information
/architect:phase-workflow
Output:
๐ Architect Collaboration - Phase Workflow
Select phase:
1. Requirements Analysis
2. Technical Design
3. Task Breakdown
4. Feature Development
Enter choice (1-4): 2
Selected: Phase 2 - Technical Design
Project name: User Authentication System
What would you like to do?
[1] Generate templates and start phase
[2] Validate existing phase work
[3] Both generate and validate
Select option (1-3): 1
โ
Created: docs/technical-design.md
โ
Created: docs/architecture-diagram.md
โ
Created: docs/pseudocode.md
Phase 2 started successfully!
Next steps:
1. Review generated templates
2. Use Requirements Analysis Skill to gather requirements
3. Use Technical Design Skill for solution architecture
/architect:phase-workflow --phase 3 --project "Payment Gateway" --generate
Output:
๐ Generating templates for Phase 3: Task Breakdown
โ
Created: docs/ๅผๅไปปๅก.md
โ
Created: docs/task-dependencies.md
โ
Created: docs/sprint-plan.md
Templates generated successfully!
Location: docs/
/architect:phase-workflow --phase 1 --validate
Output:
๐ Validating Phase 1: Requirements Analysis
Checking completion criteria:
โ
Business goals defined
โ
Success metrics established
โ
Stakeholders identified
โ ๏ธ Risk assessment incomplete (see: docs/requirements.md:45)
โ Stakeholder approval missing
Validation Summary:
- Completed: 4/6 criteria
- Status: Needs attention
Recommendations:
1. Complete risk assessment section
2. Obtain stakeholder sign-off
3. Review requirements for completeness
Next steps:
- Fix validation issues
- Run validation again: /architect:phase-workflow --phase 1 --validate
/architect:phase-workflow --phase 2 --project "API Gateway" --generate --validate
Output:
๐ Phase Workflow - Phase 2: Technical Design
Generating templates...
โ
Created: docs/technical-design.md
โ
Created: docs/architecture-diagram.md
โ
Created: docs/pseudocode.md
Validating phase...
โ
Technical feasibility confirmed
โ
Architecture patterns documented
โ
Pseudo-code for complex logic present
โ
TDD approach planned
โ
Test strategy defined
Validation Summary:
- Completed: 6/6 criteria
- Status: โ
Ready to proceed
Next steps:
1. Review technical design document
2. Proceed to Phase 3: Task Breakdown
3. Use Task Breakdown Skill
docs/requirements.md - Requirements document templatedocs/risk-assessment.md - Risk assessment templatedocs/stakeholder-analysis.md - Stakeholder analysis templatedocs/technical-design.md - Technical design documentdocs/architecture-diagram.md - Architecture diagram templatedocs/pseudocode.md - Pseudo-code templatedocs/test-strategy.md - TDD test strategy templatedocs/ๅผๅไปปๅก.md - Task list templatedocs/task-dependencies.md - Dependency mapping templatedocs/sprint-plan.md - Sprint planning templatedocs/estimation.md - Effort estimation templatedocs/implementation-plan.md - Implementation guidedocs/code-standards.md - Coding standards referencedocs/testing-guide.md - Testing requirementsdocs/progress-tracker.md - Progress tracking templateWhen running in interactive mode, the command will ask:
Phase Selection
Project Name
Action Selection
Template Customization (optional)
Documentation Location
Next Steps Confirmation
Create .claude/architect-collaboration.local.md:
# Phase Workflow Settings
## Default Phase
default_phase: 1
## Documentation Settings
default_doc_location: "docs/"
include_date_in_filenames: true
## Validation Settings
strict_validation: false
require_all_criteria: false
## Template Settings
use_custom_templates: false
template_version: "1.0"
This command works seamlessly with the architect skills:
Example workflow:
# Start Phase 2 with templates
/architect:phase-workflow --phase 2 --project "My Project"
# Get technical design guidance
# "Design solution for user authentication"
# Break down tasks
# "Break down tasks for authentication module"
# Start implementation
# "Help me implement feature with tests"
--validate flag to check progress frequentlyProblem: Command runs but no templates created Solution:
docs/ directory exists or can be createdProblem: Validation reports criteria as incomplete Solution:
--interactive for guided validationProblem: Cannot create files Solution:
# Set up all phases for a new project
for phase in {1..4}; do
/architect:phase-workflow --phase $phase --project "New Project" --generate
done
# .github/workflows/phase-validation.yml
- name: Validate Phase Completion
run: |
/architect:phase-workflow --phase 1 --validate
/architect:phase-workflow --phase 2 --validate
#!/bin/bash
# Validate all phases
for phase in {1..4}; do
echo "Validating Phase $phase..."
/architect:phase-workflow --phase $phase --validate || exit 1
done
echo "All phases validated successfully!"
/architect:manage-progress - Track progress and publish documentationFor issues or questions:
docs/