Skip to content

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.

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.

The unified entry point for all OpenLogos methodology assets. Contains configuration files, development resource documents, and change management.

Stores all development resource documents — the project’s current “source of truth”. Organized by the OpenLogos three-layer progression model:

SubdirectoryPhaseContent
prd/1-product-requirements/Phase 1: WHYRequirements docs, user stories, competitive analysis
prd/2-product-design/1-feature-specs/Phase 2: WHATFeature specs, information architecture, design standards
prd/2-product-design/2-page-design/Phase 2: WHATPage design docs + HTML prototypes
prd/3-technical-plan/1-architecture/Phase 3: HOWArchitecture overview, tech stack decisions
prd/3-technical-plan/2-scenario-implementation/Phase 3: HOWScenario docs (sequence diagrams + step descriptions)
api/Phase 3: HOWOpenAPI YAML spec files
database/Phase 3: HOWSQL DDL design files
test/Phase 3: HOWUnit + scenario test case specs (Markdown)
scenario/Phase 3: HOWAPI orchestration test cases (JSON, API projects only)
verify/Phase 3: HOWTest results (JSONL) + acceptance report (Markdown)

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.

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.

Methodology specification files deployed by openlogos init. These define the rules that Skills and tools follow (workflow, test result format, directory conventions, etc.).

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"
}
}
FieldTypeDescription
namestringProject name
locale"en" | "zh"Document language
aiToolstringPrimary AI tool (claude-code, opencode, cursor, other)
lifecycle"initial" | "active"Project lifecycle state
documentsobjectDocument module definitions (path + glob pattern)
verify.result_pathstringCustom path for test results JSONL

AI collaboration index file — see logos-project.yaml Specification for full details.

  • 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
  • Split by domain: auth.yaml, payment.yaml, license.yaml
  • OpenAPI 3.0 YAML format
  • Complete schema: {project-name}.sql
  • Or split by domain: auth.sql, payment.sql
  • 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
  • Split by scenario: user-auth.json, payment-flow.json
  • JSON format defining API orchestration sequences
  • Test results: test-results.jsonl (JSONL format, one case result per line)
  • Acceptance report: acceptance-report.md (auto-generated by openlogos verify)
  • See Test Results Format for the detailed format specification
DirectoryPurpose
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