/openlogos:project-initfrom openlogos
Initializes an OpenLogos project structure with standard directories, configuration files, and AI instruction files. Useful when starting a new project or when no logos config exists.
Ships in openlogos. 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.
None: SKILL.md is the whole skill.
Initialize a project structure following the OpenLogos methodology, generating configuration files, AI instruction files, and standard directories.
logos/logos.config.json exists in the current directorylogos/ directory and its standard substructurelogos/logos.config.json configuration filelogos/logos-project.yaml AI collaboration indexAGENTS.md / CLAUDE.md AI instruction files (in the root directory)logos/changes/ change management directoryConfirm the following information with the user:
name field in logos/logos.config.jsonIf the user does not provide these, use reasonable defaults.
project-root/
└── logos/
├── resources/
│ ├── prd/
│ │ ├── 1-product-requirements/
│ │ ├── 2-product-design/
│ │ │ ├── 1-feature-specs/
│ │ │ └── 2-page-design/
│ │ └── 3-technical-plan/
│ │ ├── 1-architecture/
│ │ └── 2-scenario-implementation/
│ ├── api/
│ ├── database/
│ └── scenario/
└── changes/
{
"name": "{project name}",
"description": "{project description}",
"documents": {
"prd": {
"label": { "en": "Product Docs", "zh": "产品文档" },
"path": "./resources/prd",
"pattern": "**/*.{md,html,htm,pdf}"
},
"api": {
"label": { "en": "API Docs", "zh": "API 文档" },
"path": "./resources/api",
"pattern": "**/*.{yaml,yml,json}"
},
"scenario": {
"label": { "en": "Scenarios", "zh": "业务场景" },
"path": "./resources/scenario",
"pattern": "**/*.json"
},
"database": {
"label": { "en": "Database", "zh": "数据库" },
"path": "./resources/database",
"pattern": "**/*.sql"
}
}
}
The
pathfield is relative to the directory wherelogos.config.jsonitself resides (i.e.,logos/), so./resources/prdpoints tologos/resources/prd.
project:
name: "{project name}"
description: "{project description}"
methodology: "OpenLogos"
tech_stack:
framework: "{framework provided by user}"
language: "{language provided by user}"
# ... populate based on user-provided information
resource_index: []
# Initially empty; entries are added incrementally as documents are produced
conventions:
- "Follow the OpenLogos three-layer progression model (Why → What → How)"
- "Every change must first create a change proposal in logos/changes/"
Generate AGENTS.md based on the content from Step 3 and Step 4, placed in the project root directory:
# AI Assistant Instructions
This project follows the **OpenLogos** methodology.
Read `logos/logos-project.yaml` first to understand the project resource index.
## Project Context
- Config: `logos/logos.config.json`
- Resource Index: `logos/logos-project.yaml`
- Tech Stack: {extracted from logos-project.yaml}
## Methodology Rules
1. Never write code without first completing the design documents
2. Follow the Why → What → How progression
3. All API designs must originate from scenario sequence diagrams
4. All code changes must have corresponding API orchestration tests
5. Use the Delta change workflow for iterations (see logos/changes/ directory)
## Conventions
{extracted from conventions in logos-project.yaml}
Also generate CLAUDE.md with identical content to AGENTS.md.
Report to the user which files and directories were created, and provide next-step suggestions:
logos/logos.config.json to refine the project configurationprd-writer Skill to assist with writinglogos/logos.config.json: Valid JSON, conforming to logos/spec/logos.config.schema.jsonlogos/logos-project.yaml: Valid YAMLAGENTS.md / CLAUDE.md: Markdown format, located in the project root directorylogos/ are created; empty directories contain .gitkeeplogos/ directory structure is the first step in adopting the methodology — more important than any documentlogos/, keeping the project's own structure cleanThe following prompts can be copied directly for use with AI:
Help me initialize an OpenLogos projectInitialize this project with OpenLogos, the project name is xxxHelp me integrate OpenLogos into an existing projectWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub miniidealab/openlogos --plugin openlogos16 skills in this plugin
/api-designerDesign OpenAPI specifications derived from scenario sequence diagrams. Use when scenarios exist in 2-scenario-implementation/ but logos/resources/api/ is empty. All description and summary values in YAML must be double-quoted./architecture-designerDesign technical architecture and select technology stack. Use when product design exists in logos/resources/prd/2-product-design/ but logos/resources/prd/3-technical-plan/1-architecture/ is empty./change-writerWrite change proposals with impact analysis following OpenLogos delta workflow. Use when the project lifecycle is active and source code or methodology documents need modification./code-implementorGenerate business code and test code based on the full specification chain (sequence diagrams, API YAML, DB DDL, test case specs). Use when test cases exist in logos/resources/test/ but logos/resources/implementation/ is empty./code-reviewerReview code for OpenLogos methodology compliance, including YAML validity checks. Use when reviewing code changes, checking pull requests, or performing code quality analysis./db-designerDesign database schema based on API and scenario requirements. Use when scenarios exist but logos/resources/database/ is empty.Other plugins' skills for the same job