From sdlc
Orchestrates multi-agent generation of artifacts like SAD, test plans, deployment plans, requirements specs, and threat models via Primary Author → parallel reviewers → synthesizer → archive pattern.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc:artifact-orchestrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Orchestrate multi-agent artifact generation with the Primary Author → Parallel Reviewers → Synthesizer → Archive pattern.
Orchestrate multi-agent artifact generation with the Primary Author → Parallel Reviewers → Synthesizer → Archive pattern.
This skill implements the core AIWG multi-agent documentation pattern that ensures high-quality artifacts through:
When triggered, this skill orchestrates:
Artifact identification:
Workspace setup:
.aiwg/working/{type}/{name}/artifact-metadata skilltemplate-engine skillPrimary author dispatch:
Parallel review dispatch:
parallel-dispatch skillSynthesis:
Archive:
.aiwg/{category}/artifact: software-architecture-document
template: analysis-design/software-architecture-doc-template
primary_author: architecture-designer
reviewers:
- security-architect
- test-architect
- requirements-analyst
- technical-writer
output: .aiwg/architecture/sad.md
artifact: test-plan
template: test/test-plan-template
primary_author: test-architect
reviewers:
- security-auditor
- requirements-analyst
- devops-engineer
output: .aiwg/testing/test-plan.md
artifact: deployment-plan
template: deployment/deployment-plan-template
primary_author: deployment-manager
reviewers:
- devops-engineer
- security-architect
- reliability-engineer
- support-lead
output: .aiwg/deployment/deployment-plan.md
artifact: software-requirements-spec
template: requirements/srs-template
primary_author: requirements-analyst
reviewers:
- domain-expert
- system-analyst
- test-architect
- architecture-designer
output: .aiwg/requirements/srs.md
artifact: threat-model
template: security/threat-model-template
primary_author: security-architect
reviewers:
- privacy-officer
- architecture-designer
- devops-engineer
output: .aiwg/security/threat-model.md
┌─────────────────────────────────────────────────────────┐
│ 1. SETUP │
│ • Create workspace: .aiwg/working/{type}/{name}/ │
│ • Initialize metadata.json │
│ • Load template │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 2. PRIMARY AUTHOR │
│ • Dispatch: architecture-designer (for SAD) │
│ • Input: template, requirements, context │
│ • Output: drafts/v0.1-primary.md │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 3. PARALLEL REVIEW (single message, multiple agents) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ security- │ │ test- │ │ requirements-│ │
│ │ architect │ │ architect │ │ analyst │ │
│ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ reviews/security.md reviews/test.md reviews/req.md│
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 4. SYNTHESIS │
│ • Dispatch: documentation-synthesizer │
│ • Input: draft + all reviews │
│ • Output: synthesis/final.md │
│ • Conflicts: document with rationale │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ 5. ARCHIVE │
│ • Move to: .aiwg/{category}/{artifact}.md │
│ • Update metadata: status=baselined, version=1.0.0 │
│ • Archive workspace to: .aiwg/archive/{date}/ │
└─────────────────────────────────────────────────────────┘
User: "Create the Software Architecture Document"
Skill orchestrates:
1. Setup workspace for SAD
2. Dispatch architecture-designer with SAD template
3. Launch parallel reviews (security, test, requirements, writer)
4. Synthesize feedback
5. Archive to .aiwg/architecture/sad.md
Output:
"SAD generation complete.
Version: 1.0.0
Status: Baselined
Location: .aiwg/architecture/sad.md
Reviews:
✓ Security Architect: Approved with suggestions
✓ Test Architect: Approved
✓ Requirements Analyst: Approved
✓ Technical Writer: Approved (minor edits)
Conflicts resolved: 2
- Auth approach: Chose JWT per security recommendation
- Caching strategy: Balanced performance vs complexity"
User: "Generate deployment plan for production release"
Skill uses project-awareness context:
- Phase: Construction
- Environment: AWS
- Compliance: SOC2
Tailors template and reviewer focus accordingly.
Add custom artifact configurations in .aiwg/config/artifacts.yaml:
artifacts:
custom-api-doc:
template: custom/api-documentation
primary_author: api-documenter
reviewers:
- security-auditor
- api-designer
- technical-writer
output: .aiwg/architecture/api-docs/
review_config:
depth: standard # minimal, standard, comprehensive
timeout: 300 # seconds per reviewer
require_unanimous: false # or true for critical artifacts
This skill uses:
parallel-dispatch: For launching reviewer agentsartifact-metadata: For tracking artifact lifecycletemplate-engine: For loading and instantiating templatesproject-awareness: For context about current phase and stateIf a reviewer times out:
When reviewers disagree:
If template not found:
| Artifact | Output Path |
|---|---|
| SAD | .aiwg/architecture/sad.md |
| ADR | .aiwg/architecture/adr-{number}.md |
| Test Plan | .aiwg/testing/test-plan.md |
| Deployment Plan | .aiwg/deployment/deployment-plan.md |
| SRS | .aiwg/requirements/srs.md |
| Threat Model | .aiwg/security/threat-model.md |
npx claudepluginhub jmagly/aiwg --plugin sdlcAuthors or modifies single sphinx-needs artefacts (requirements, architecture elements, test cases, decisions) by routing to type-specific drafting skills based on project artefact catalog. Returns RST directive with ID, file placement suggestion, and parent link.
Generates PLAN.md execution plan from SPEC.md, task directory, or existing plan file; creates phases/*.md, KNOWLEDGE.jsonl, artifacts/, and backups.