Scaffold the .orchestra/ agent knowledge base in a project — creates folder structure, templates, README, and ADR-000. Use when setting up a new project or adding .orchestra/ to an existing one.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create the .orchestra/ agent knowledge base structure. This is mechanical work — no questions asked, just files. When done, run /orchestra-roadmap to define the project vision and milestones interactively.
.orchestra/
├── README.md
├── adr/
│ └── ADR-000-the-score.md
├── work/
│ └── TEMPLATES/
│ ├── prd.md
│ └── spec.md
├── uml/
└── devlog/
└── {YYYY}-Q{N}/
.orchestra/ already exists → STOP and report what's therebasename of the path)The project README.md (at the project root, not inside .orchestra/) is the human-facing entry point and the source of the orchestra Brief.
If no README.md exists:
Create one with a Brief section template:
# {directory-name}
> {one-line description — fill this in}
## Brief
**Vision:** {what done looks like at the highest level — fill this in}
**Audience:** {who benefits — fill this in}
## Usage
{fill in after first milestone ships}
If README.md exists and has no ## Brief section:
Append the Brief section to the end of the file:
## Brief
**Vision:** {what done looks like at the highest level — fill this in}
**Audience:** {who benefits — fill this in}
If README.md exists and already has a ## Brief section:
Leave it untouched. Report it as already present.
Create all directories: adr/, work/TEMPLATES/, uml/, devlog/{YYYY}-Q{N}/
Explain the folder to agents and humans:
# .orchestra/
Agent knowledge base for this project. All agents read this folder before acting.
## Structure
- `roadmap.md` — The score. Project vision and milestone index.
- `adr/` — Architecture Decision Records. Decisions that affect future agents.
- `work/` — Per-work-item folders. Each contains a PRD, spec, and gherkin.
- `uml/` — Mermaid diagrams for architecture, workflows, and state machines.
- `devlog/` — Chronological journal of development sessions.
## The Loop
/orchestra-roadmap → define vision and milestones /orchestra-plan → PRD → Spec → Gherkin for a work item /orchestra-implement → execute an approved spec /orchestra-review → validate implementation against spec /orchestra-merge → merge and close the work item
## Rules
- Agents read the roadmap and relevant ADRs before acting on any work item
- Every work item has a PRD before a spec; every spec before implementation
- Nothing moves forward without explicit human approval at each gate
Write .orchestra/adr/ADR-000-the-score.md:
---
id: ADR-000
status: accepted
created_on: {YYYY-MM-DD}
---
# ADR-000: The Score
## Decision
This project uses Orchestra — a software development lifecycle encoded for agents. PRDs are the unit of work. Every significant piece of work has a PRD before a spec, and a spec before implementation.
## Rationale
Without a written PRD, work drifts. Without a spec, agents have no contract to
execute against. Without Gherkin, there is no definition of done an agent can verify.
The `.orchestra/` folder is the shared knowledge base. Agents read it. Humans update
it at each gate. The score doesn't change mid-performance without a new ADR.
## Consequences
- No implementation without an approved spec
- No spec without an approved PRD
- All significant architectural decisions are recorded as ADRs
Write .orchestra/work/TEMPLATES/prd.md:
---
ticket:
status: draft
created_on:
---
# {Title}
## Objective
{What does "done" look like? 1–2 sentences.}
## Success Criteria
- [ ] {Testable criterion}
## Context
{Why this matters. Which milestone it serves.}
## Materials
| Deliverable | Location | Status |
|-------------|----------|--------|
| | | Not Started |
## References
## Notes
Write .orchestra/work/TEMPLATES/spec.md:
---
ticket:
status: draft
created_on:
---
# {Title}
> PRD: {path}
## Objective
{Restated from PRD}
## Approach
### Step 1: {name}
## Testing Strategy
### Unit Tests
### Integration Tests
### E2E Tests
## Deliverables
| File | Purpose | Status |
|------|---------|--------|
## Acceptance Criteria
### Functional
### Unit
### Integration
### E2E
## Dependencies
## Risks
| Risk | Mitigation |
|------|-----------|
## .orchestra/ Scaffolded
### Created
- README.md [created with Brief section] ← or "Brief section added" / "Brief already present"
- .orchestra/README.md
- .orchestra/adr/ADR-000-the-score.md
- .orchestra/work/TEMPLATES/prd.md
- .orchestra/work/TEMPLATES/spec.md
- .orchestra/uml/
- .orchestra/devlog/{quarter}/
### Next Step
Fill in the Brief section in README.md, then run /orchestra-roadmap.
The Brief is the minimum needed to seed the roadmap without typing it twice:
## Brief
**Vision:** {what done looks like at the highest level}
**Audience:** {who benefits}
Vision and audience are stable from day one. Milestones are a planning output —
/orchestra-roadmap derives them from the vision in conversation with you.
/orchestra-roadmap will read the Brief and propose milestones for your approval.
If no Brief is present it will ask you the questions interactively.
Stop here. Do not ask about the project. Do not generate a roadmap.
What SKILL.md sets; muted values are Claude Code's defaults
/orchestra:orchestra-scaffold <project-path>from orchestra
npx claudepluginhub mpazaryna/agentic-factory --plugin orchestra18 skills in this plugin
/orchestra-adrCapture an architectural decision record — document a decision that was made during work, why it was made, and its consequences. Use when a significant technical or process decision needs to be recorded for future agents and developers./orchestra-afkConductor discipline for unattended (AFK) sessions — advance the work item from repo state, pause at human decisions by committing a gate file, resume from answered gates. The repo is the workspace; gates are files; approval is a commit. Use when running as a scheduled or headless session with nobody at the keyboard — the session must leave the repo in a state the next session (or a human) can pick up cold./orchestra-devlogOther plugins' skills for the same job