A governance-first development template with SDLC Triad collaboration
Getting Started • Commands • How It Works • Documentation • Contributing
Building software with AI agents? Governance matters. {{PROJECT_NAME}} ensures your AI-assisted development follows proper product management principles with clear sign-offs at every stage.
| Challenge | Solution |
|---|---|
| AI agents making unauthorized decisions | Triple sign-off gates (PM → Architect → Team-Lead) |
| Specs drifting from product vision | PM approval required before any implementation |
| Technical debt from ungoverned changes | Architect checkpoints at every milestone |
| Unclear ownership and accountability | SDLC Triad with defined veto authority |
|
|
|
|
|
|
Navigate to your projects directory (e.g., ~/Projects/ or ~/code/) — the clone command will create a new subfolder here:
# Clone the template
git clone https://github.com/davidmatousek/agentic-oriented-development-kit.git my-project
cd my-project
# Run interactive setup
make initNote:
PROJECT_NAMEandPROJECT_DESCRIPTIONvalues must not contain/,&, or\. These characters conflict with thesedsubstitution delimiter and will cause initialization to fail or produce corrupted files. Use safe alternatives (e.g., "My Project" instead of "My/Project").
The init script will prompt for your project details and configure everything automatically.
📋 Manual Setup
If you prefer manual configuration:
# From your projects directory (e.g., ~/Projects/)
git clone https://github.com/davidmatousek/agentic-oriented-development-kit.git my-project
cd my-project
# Edit constitution with your project details
# Replace all {{PLACEHOLDER}} variables in:
vim .aod/memory/constitution.mdRequired variables:
| Variable | Example |
|---|---|
{{PROJECT_NAME}} |
my-saas-platform |
{{PROJECT_DESCRIPTION}} |
AI-powered analytics dashboard |
{{TECH_STACK_DATABASE}} |
PostgreSQL |
{{RATIFICATION_DATE}} |
2026-01-31 |
Tip: If using a stack pack, its
defaults.envprovides all technology defaults. Only manual setup requires editing these variables.
make checkOpen Claude Code (CLI or VS Code extension) in your project directory:
# CLI
claude
# Or open the project folder in VS Code and use the Claude Code extensionIf you activated a stack pack, install dependencies first:
npm installNote: If
npmis not found, you may need to install Node.js (brew install nodeon macOS) or ensure your shell PATH includes it (e.g.,export PATH="/opt/homebrew/bin:$PATH"for Homebrew).
Then establish your product identity and start building:
# 1. Guided workshop — product vision + design identity (recommended)
/aod.foundation
# 2. Create your first PRD
/aod.define user-authentication
# 3. Plan — chains spec → project-plan → tasks with governance gates
/aod.plan
# 4. Build — execute with architect checkpoints
/aod.build
Keep your adopter project in sync with upstream PLSK template improvements.
make update --dry-run # Preview pending upstream changes (no writes)
make update # Interactive apply with confirmation prompt
make update --yes # Non-interactive apply (for automation)/aod.update (direction: PLSK → user) pulls the latest upstream template changes into your project. It protects user-owned files (product docs, architecture, brands, specs, constitution) via a hardcoded guard list — even a malicious upstream manifest cannot overwrite them. Personalized files (e.g., .claude/rules/scope.md) are re-substituted with your .aod/personalization.env values, so placeholders never leak.
When to run: after a new PLSK release, or periodically (monthly is typical). Full guide with flags, exit codes, and FAQ in docs/guides/DOWNSTREAM_UPDATE.md.
Opposite direction: /aod.sync-upstream (user → PLSK) pushes your local template improvements back to the public PLSK repo — for maintainers contributing to the template itself.
Full governance with automatic sign-offs at each stage.
| Command | Description | Sign-offs |
|---|---|---|
/aod.foundation |
Guided workshop — product vision + design identity | — |
/aod.define <topic> |
Create PRD with Triad validation | Triad review |
/aod.plan |
Plan stage: chains spec → project-plan → tasks | PM → PM+Architect → Triple |
/aod.build |
Execute with checkpoints + design quality gate | Architect gates |
/aod.deliver |
Close with doc updates | — |
/aod.document |
Code quality review (simplify, docstrings, CHANGELOG) | — |
/aod.clarify |
Resolve spec ambiguities | — |
/aod.analyze |
Cross-artifact consistency check | — |
/aod.run |
Full lifecycle orchestrator (stages 1-5) | All governance gates |
/aod.stack |
Manage stack packs (use, remove, list, scaffold) |
— |
Full command reference: See
.claude/rules/commands.mdfor all commands including utility, orchestration, and stack pack commands.
flowchart LR
subgraph "Define"
A["/aod.define"] --> B{Triad Review}
end
subgraph "Plan"
B --> C["/aod.plan"]
C --> D["spec → project-plan → tasks"]
D --> E{Governance Gates}
end
subgraph "Build"
E --> F["/aod.build"]
F --> G[Architect Checkpoints]
end
G --> H["/aod.deliver"]
H --> I["/aod.document"]
| Artifact | Required Approvals | Purpose |
|---|---|---|
spec.md |
PM | Product alignment |
plan.md |
PM + Architect | Technical soundness |
tasks.md |
PM + Architect + Team-Lead | Execution readiness |
| Scenario | Who Can Veto | Grounds |
|---|---|---|
| PRD infrastructure claims | Architect | Contradicts baseline |
| PRD technical approach | Architect | Technically infeasible |
| PRD timeline estimate | Team-Lead | Ignores capacity |
| spec.md alignment | PM | Misaligned with vision |
| plan.md architecture | Architect | Violates principles |
| tasks.md timeline | Team-Lead | Unrealistic breakdown |
{{PROJECT_NAME}}/
├── .claude/
│ ├── agents/ # 13 specialized agents
│ ├── skills/ # Automation capabilities
│ ├── commands/ # Triad commands
│ ├── design/ # Design archetypes (6 visual personalities)
│ └── rules/ # Modular governance rules
│ ├── governance.md
│ ├── design-quality.md
│ ├── git-workflow.md
│ ├── deployment.md
│ └── ...
├── .aod/ # Active feature workspace
│ ├── spec.md # Feature specification
│ ├── plan.md # Technical design
│ ├── tasks.md # Task breakdown
│ └── memory/
│ └── constitution.md # ← CUSTOMIZE THIS
├── docs/
│ ├── product/ # Vision, PRDs, roadmaps
│ ├── architecture/ # System design, ADRs
│ ├── devops/ # Deployment guides
│ └── core_principles/ # Methodologies
├── specs/ # Archived feature artifacts (spec, plan, tasks per feature)
├── brands/ # Brand identity assets (vision + design tokens)
│ └── _example/ # Template for brand setup
├── stacks/ # Stack packs (conventions, personas, scaffold)
│ ├── nextjs-supabase/ # Full pack: Next.js + Supabase + Prisma
│ ├── fastapi-react/ # Full pack: FastAPI + React + Supabase
│ ├── fastapi-react-local/ # Full pack: FastAPI + React (local SQLite)
│ ├── knowledge-system/ # Domain pack: Knowledge/curriculum management
│ └── swiftui-cloudkit/ # Skeleton pack: SwiftUI + CloudKit
├── CLAUDE.md # AI agent context
└── CHANGELOG.md # Version history
View all 11 governance principles
- General-Purpose Architecture — Domain-agnostic, works with any workflow
- API-First Design — API contracts before UI/MCP implementation
- Backward Compatibility — 100% local
.aod/file support - Concurrency & Data Integrity — ACID guarantees, task locking
- Privacy & Data Isolation — Per-user/org isolation, encryption at rest
- Testing Excellence — Mandatory test coverage (80% minimum)
- Definition of Done — 3-step validation (Deployed, Tested, User Validated)
- Observability & Root Cause Analysis — Five Whys methodology
- Git Workflow — Feature branches only, never commit to main
- Product-AOD Alignment — PM + Architect dual sign-off
- SDLC Triad Collaboration — PM + Architect + Tech-Lead workflow
Note: These principles are universal. Customize only the System Architecture Constraints section in the constitution.
| Document | Purpose |
|---|---|
| Constitution | Governance principles (customize this) |
| CHANGELOG | Version history |
| MIGRATION | Upgrade guide |
| Triad Workflow | Collaboration guide |
The public version of this template is available at agentic-oriented-development-kit — a clean, genericized extraction suitable for any project.
To sync changes from this private repo to the public template, run:
scripts/extract.sh --sync# Fork and clone
git clone https://github.com/YOUR_USERNAME/agentic-oriented-development-kit.git
cd agentic-oriented-development-kit
# Create feature branch
git checkout -b feature/your-improvement
# Make changes and submit PRImprovements benefiting all users should go to agentic-oriented-development-kit.
This project is licensed under the MIT License — see LICENSE for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Template Repository: agentic-oriented-development-kit
Made with the SDLC Triad: PM + Architect + Team-Lead