Project Structure
Every OpenLogos project follows a standard directory structure under the logos/ directory. This convention enables AI tools and team members to quickly locate resources.
Standard Directory Layout
Section titled “Standard Directory Layout”project-root/├── AGENTS.md # AI assistant instructions (auto-generated, root)├── CLAUDE.md # Claude Code instructions (auto-generated, root)│├── logos/ # OpenLogos methodology assets (isolated namespace)│ ├── logos.config.json # Project configuration│ ├── logos-project.yaml # AI collaboration index│ ││ ├── resources/ # Development resource documents (current "source of truth")│ │ ├── prd/ # Product documents│ │ │ ├── 1-product-requirements/ # Phase 1: Requirements│ │ │ ├── 2-product-design/│ │ │ │ ├── 1-feature-specs/ # Phase 2: Feature specs│ │ │ │ └── 2-page-design/ # Phase 2: Page designs + HTML prototypes│ │ │ └── 3-technical-plan/│ │ │ ├── 1-architecture/ # Phase 3: Architecture & tech stack│ │ │ └── 2-scenario-implementation/ # Phase 3: Scenario docs (sequence diagrams)│ │ ├── api/ # Phase 3: OpenAPI YAML│ │ ├── database/ # Phase 3: SQL DDL│ │ ├── test/ # Phase 3: Test case specs (Markdown)│ │ ├── scenario/ # Phase 3: API orchestration tests (JSON)│ │ └── verify/ # Phase 3: Test results (JSONL + report)│ ││ ├── skills/ # AI Skills (SKILL.md per skill, 13 built-in)│ │ ├── prd-writer/│ │ ├── product-designer/│ │ ├── code-implementor/│ │ └── ...│ ││ ├── spec/ # Methodology specifications│ ││ └── changes/ # Change proposal workspace│ ├── {change-name}/ # Active change proposal│ │ ├── proposal.md│ │ ├── tasks.md│ │ └── deltas/│ └── archive/ # Completed change history│└── src/ # Source code (structure determined by tech stack)All OpenLogos methodology assets live under logos/, completely separated from the project’s own code and configuration. AGENTS.md and CLAUDE.md remain at the project root because AI tools require instruction files there.
Directory Responsibilities
Section titled “Directory Responsibilities”logos/
Section titled “logos/”The unified entry point for all OpenLogos methodology assets. Contains configuration files, development resource documents, and change management.
logos/resources/
Section titled “logos/resources/”Stores all development resource documents — the project’s current “source of truth”. Organized by the OpenLogos three-layer progression model:
| Subdirectory | Phase | Content |
|---|---|---|
prd/1-product-requirements/ | Phase 1: WHY | Requirements docs, user stories, competitive analysis |
prd/2-product-design/1-feature-specs/ | Phase 2: WHAT | Feature specs, information architecture, design standards |
prd/2-product-design/2-page-design/ | Phase 2: WHAT | Page design docs + HTML prototypes |
prd/3-technical-plan/1-architecture/ | Phase 3: HOW | Architecture overview, tech stack decisions |
prd/3-technical-plan/2-scenario-implementation/ | Phase 3: HOW | Scenario docs (sequence diagrams + step descriptions) |
api/ | Phase 3: HOW | OpenAPI YAML spec files |
database/ | Phase 3: HOW | SQL DDL design files |
test/ | Phase 3: HOW | Unit + scenario test case specs (Markdown) |
scenario/ | Phase 3: HOW | API orchestration test cases (JSON, API projects only) |
verify/ | Phase 3: HOW | Test results (JSONL) + acceptance report (Markdown) |
logos/changes/
Section titled “logos/changes/”Change proposal workspace. Each feature iteration or bug fix starts with a change proposal here, merged back into main documents after approval. See Change Management for details.
logos/skills/
Section titled “logos/skills/”AI Skill files deployed by openlogos init or openlogos sync. Each skill is a subdirectory containing a SKILL.md file. For Cursor projects, skills are deployed to .cursor/rules/ instead.
logos/spec/
Section titled “logos/spec/”Methodology specification files deployed by openlogos init. These define the rules that Skills and tools follow (workflow, test result format, directory conventions, etc.).
Configuration Files
Section titled “Configuration Files”logos.config.json
Section titled “logos.config.json”Project configuration file defining document module paths and matching patterns:
{ "name": "my-project", "locale": "en", "aiTool": "claude-code", "lifecycle": "initial", "description": "", "documents": { "prd": { "label": { "en": "Product Docs" }, "path": "./resources/prd", "pattern": "**/*.{md,html,htm,pdf}" }, "api": { "label": { "en": "API Docs" }, "path": "./resources/api", "pattern": "**/*.{yaml,yml,json}" }, "test": { "label": { "en": "Test Cases" }, "path": "./resources/test", "pattern": "**/*.md" }, "scenario": { "label": { "en": "Scenarios" }, "path": "./resources/scenario", "pattern": "**/*.json" }, "database": { "label": { "en": "Database" }, "path": "./resources/database", "pattern": "**/*.sql" }, "verify": { "label": { "en": "Verify Reports" }, "path": "./resources/verify", "pattern": "**/*.{jsonl,md}" }, "changes": { "label": { "en": "Change Proposals" }, "path": "./changes", "pattern": "**/*.{md,json}" } }, "verify": { "result_path": "logos/resources/verify/test-results.jsonl" }}| Field | Type | Description |
|---|---|---|
name | string | Project name |
locale | "en" | "zh" | Document language |
aiTool | string | Primary AI tool (claude-code, opencode, cursor, other) |
lifecycle | "initial" | "active" | Project lifecycle state |
documents | object | Document module definitions (path + glob pattern) |
verify.result_path | string | Custom path for test results JSONL |
logos-project.yaml
Section titled “logos-project.yaml”AI collaboration index file — see logos-project.yaml Specification for full details.
File Naming Conventions
Section titled “File Naming Conventions”Document Files
Section titled “Document Files”- Format:
{number}-{english-name}.md— e.g.,01-requirements.md - Numbers control display order
- HTML prototypes:
{number}-{name}-prototype.html - Design docs and prototypes appear in pairs:
03-homepage-design.md+03-homepage-prototype.html
API Files
Section titled “API Files”- Split by domain:
auth.yaml,payment.yaml,license.yaml - OpenAPI 3.0 YAML format
Database Files
Section titled “Database Files”- Complete schema:
{project-name}.sql - Or split by domain:
auth.sql,payment.sql
Test Case Spec Files
Section titled “Test Case Spec Files”- Split by scenario:
S01-test-cases.md,S02-test-cases.md - Markdown format containing both unit test and scenario test case designs
- Each file corresponds to one scenario ID, covering all test levels for that scenario
Orchestration Test Files
Section titled “Orchestration Test Files”- Split by scenario:
user-auth.json,payment-flow.json - JSON format defining API orchestration sequences
Verification Files
Section titled “Verification Files”- Test results:
test-results.jsonl(JSONL format, one case result per line) - Acceptance report:
acceptance-report.md(auto-generated byopenlogos verify) - See Test Results Format for the detailed format specification
Optional Directories
Section titled “Optional Directories”| Directory | Purpose |
|---|---|
logos/resources/image/ | Product image assets (screenshots, icons) |
logos/resources/context/ | Additional AI context files |
docs/ | User-facing documentation (deployment guides, user manuals) |
scripts/ | Development scripts |