Introduction
OpenLogos is an open-source software engineering methodology for the AI era. It turns AI coding tools — Claude Code, OpenCode, Codex, Cursor, ZCode, Qoder, WorkBuddy, and others — from guessing machines into precision instruments by providing structured, explicit context at every stage of development.
The problem: Vibe Coding
Section titled “The problem: Vibe Coding”When you tell AI “build a login feature” without context, every decision is a guess: requirements, UI design, API structure, edge cases, error handling. With 10 decisions per feature, that’s 2^10 = 1,024 possible paths — most of them wrong.
This is Vibe Coding: fast to start, painful to finish. Code gets generated quickly but is riddled with assumptions, missing edge cases, and undocumented decisions. Documentation drifts from reality. Tests are an afterthought. Changes break things nobody remembers.
The solution: structured context
Section titled “The solution: structured context”OpenLogos provides AI with the full picture — requirements, design, API specs, test cases — so it generates code that’s correct, tested, and traceable. Same documents, same context, consistent results.
The methodology rests on four core principles:
1. WHY → WHAT → HOW (Three-Layer Progression)
Section titled “1. WHY → WHAT → HOW (Three-Layer Progression)”Every project progresses through three phases where each phase’s output feeds the next:
- Phase 1 · WHY — Requirements: personas, pain points, scenarios (
S01,S02…), acceptance criteria - Phase 2 · WHAT — Product Design: feature specs, interaction flows, HTML prototypes
- Phase 3 · HOW — Implementation: architecture → sequence diagrams → API/DB → test cases → code → verify
Quality gates between phases prevent ambiguity from accumulating. Learn more →
2. Scenario-Driven + Test-First
Section titled “2. Scenario-Driven + Test-First”Every feature is decomposed into scenarios. One scenario ID (S01) traces from the first requirement to the last line of verified code — no traceability matrix needed.
Tests are designed before code: unit tests, scenario tests, and orchestration tests. AI generates code against a precise, verifiable target — “pass these 12 test cases,” not “build a login feature.” Learn more →
3. Documents as Context
Section titled “3. Documents as Context”Every decision lives in a document inside the logos/ directory — Markdown, YAML, JSON. Reviewable, reproducible, cumulative. AI reads the docs, not your mind.
AGENTS.md acts as the AI navigator: it detects the current phase, suggests the next step, and loads the right Skill automatically. Learn more →
4. Engineering Foundation
Section titled “4. Engineering Foundation”Not invented from scratch. Built on 40+ years of proven theory — BDD, TDD, DDD, Stage-Gate, Docs-as-Code — recompiled for AI execution. Learn more →
How it works
Section titled “How it works”You + AI coding tool │ ▼ AGENTS.md ← AI reads this first │ ▼ Detect phase ← Scans logos/resources/ │ ▼ Load Skill ← e.g. prd-writer, api-designer │ ▼ Follow process ← Skill provides step-by-step instructions │ ▼ Produce artifact ← requirements.md, api.yaml, tests, code- You run
openlogos initto create the project structure - Open the project in your AI coding tool (Claude Code, OpenCode, Codex, Cursor, ZCode, Qoder, WorkBuddy, etc.)
- AI reads
AGENTS.md, detects the current phase, and loads the appropriate Skill - You collaborate with AI through each phase — it follows the Skill’s structured process
- Each phase produces artifacts that become context for the next phase
openlogos verifychecks the test results against the test cases you designed (Gate 3.6)
AI Skills
Section titled “AI Skills”Skills are platform-agnostic Markdown files (SKILL.md) that give AI operational instructions for each task. OpenLogos ships these built-in Skills:
| Phase | Skills |
|---|---|
| WHY (Requirements) | project-init, prd-writer |
| WHAT (Design) | product-designer, ui-ux-pro-max |
| HOW (Implementation) | architecture-designer, scenario-architect, api-designer, db-designer, deployment-designer, test-writer, test-orchestrator, code-implementor, code-reviewer |
| Deployment | deployment-executor |
| Cross-phase | change-writer, merge-executor, slice-planner |
| Existing projects (optional) | brownfield-adopter |
Skills work with any AI tool that can read project files. No vendor lock-in. Full Skills Reference →
The openlogos CLI provides top-level commands for project lifecycle management. The most common ones:
| Command | Purpose |
|---|---|
init | Initialize project structure |
adopt | Onboard an existing project (bootstrap: adopted) |
sync | Synchronize instruction files, Skills, specs, and tool integrations |
status | Show current phase and progress |
next | Show the single most actionable next step |
verify | Check test results against the designed test cases (Gate 3.6) |
deploy-done | Mark the active change’s deployment as completed (Gate 3.7) |
smoke | Validate post-deployment health (Gate 3.8) |
launch | Activate change management after verification passes |
change | Create a change proposal (delta) |
change-lint | Read-only check of the active proposal’s proposal / tasks / deltas |
merge | Merge spec deltas into the baseline in a single atomic call |
slice plan | Write the [code] slices of a merged proposal into tasks.md |
archive | Archive completed change proposals |
ignore / exempt | Manage which paths stay out of version control or need no proposal |
detect | Show CLI version and project detection information |
index | Generate an AI-ready prompt to rebuild the resource index |
module | Manage project modules |
Delta change workflow
Section titled “Delta change workflow”After the initial build, every iteration follows a structured change process:
openlogos change <slug>— create a proposal with impact analysis- Write
proposal.md(what changed and why) andtasks.md(phase-based checklist) - Produce delta files for affected artifacts (
openlogos change-lintchecks them as you write) openlogos merge <slug>— apply all deltas to the main artifacts in one atomic call- Plan the
[code]slices (openlogos slice plan --file <slices.json>), then implement code + tests slice by slice openlogos verify— acceptance gate (Gate 3.6)openlogos archive <slug>— close the proposal
The key insight: impact analysis evaluates the ripple effect across the entire artifact chain — requirements, design, API, DB, tests, code. No artifact falls out of sync. This is what separates structured iteration from “fix the code and forget the docs.”
Project structure
Section titled “Project structure”logos/├── logos.config.json # Project configuration├── logos-project.yaml # AI collaboration index├── resources/ # All phase artifacts│ ├── prd/ # Requirements → Design → Technical plan│ ├── api/ # OpenAPI YAML specs│ ├── database/ # SQL DDL / schema│ ├── test/ # Test case documents│ ├── scenario/ # API orchestration tests│ └── verify/ # Acceptance reports├── changes/ # Delta change proposals + archive├── skills/ # AI Skills (SKILL.md per skill)└── spec/ # Methodology specificationsPlatform support
Section titled “Platform support”OpenLogos is tool-agnostic. Built-in integration support for:
| Platform | Integration mechanism |
|---|---|
| Claude Code | Native .claude/ commands, agents, and hooks (SessionStart context, PreToolUse write guard, post-execution checks) |
| OpenCode | .opencode/plugins/ plugin and .opencode/commands/ slash commands |
| Codex | .agents/skills/ plus .codex-plugin/ hook integration |
| Cursor | .cursor/skills/ Agent Skills, .cursor/agents/ subagent, .cursor/hooks.json (partial-strength guard: beforeShellExecution / afterShellExecution / afterFileEdit) |
| ZCode | Project plugin in .zcode/plugins/openlogos/ (Skills, commands, agents, SessionStart + PreToolUse hooks) |
| Qoder | Project plugin in .qoder/plugins/openlogos/ (Skills, commands, agents, SessionStart + PreToolUse hooks) |
| WorkBuddy | Project plugin in .workbuddy/plugins/openlogos/ (Skills, commands, agents, SessionStart + PreToolUse hooks) |
| Other tools | AGENTS.md as universal entry point |
How each host’s write guard behaves is described in PreToolUse Guard.
Next steps
Section titled “Next steps”- Quick Start — Install and create your first project in under 10 minutes
- Upgrading from 0.13.x — Already using OpenLogos 0.13.x? Follow the upgrade guide to move to 0.16.0
- First AI Collaboration — Walk through a complete development session
- Tour — See OpenLogos applied to real projects (FlowTask + Money-Log)