Install
openclaw skills install @bitzo/project-memory-workflowInitialize and maintain AI-readable project context
openclaw skills install @bitzo/project-memory-workflow建立并维护一套轻量、可迁移的项目记忆,使不同 AI 工具接手同一仓库时能快速获得可靠上下文,并在每次工作后留下可验证记录。
AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and other tool-specific files. Read all applicable instructions before editing.AGENTS.md as the OpenAI/Codex convention and CLAUDE.md as the Claude convention. If both exist, preserve both and keep shared rules consistent; never replace one with the other.docs/README.md, docs/PROJECT.md, docs/DEVELOPMENT.md, docs/PROGRESS.md, and docs/DECISIONS.md.Use user intent, not missing files alone, to decide whether to write.
初始化项目, 初始化项目记忆, init, init project, set up project memory, 建立项目记忆, or equivalent language, execute initialization without asking again.Gather facts from source, tests, routes, migrations, manifests, configuration, CI, and deployment files before writing. Separate confirmed facts from assumptions.
Create the missing minimal documents:
docs/PROJECT.md: current product purpose, boundaries, modules, flows, interfaces, data rules, configuration boundaries, and known limitations.docs/DEVELOPMENT.md: prerequisites, local commands, test/typecheck/build commands, migration/deployment procedures, and start/finish workflow.docs/PROGRESS.md: dated, append-only timeline using references/progress-entry-template.md.docs/DECISIONS.md: durable technical or product decisions and reasons, not a duplicate timeline.docs/README.md: short map stating which document owns each kind of fact.When no applicable instruction file exists, create a concise AGENTS.md by default. If the user primarily uses Claude or requests Claude compatibility, also create a small CLAUDE.md compatibility file pointing to shared rules instead of duplicating them. Follow references/agent-file-compatibility.md.
Require agents to read project memory before work, inspect existing changes, follow repository conventions, define success criteria and verification commands, protect secrets, and record results after work. Keep rules project-specific only when repository evidence supports them.
At task start, read the applicable instruction files, docs/README.md, docs/PROJECT.md, docs/PROGRESS.md, and relevant sections of docs/DEVELOPMENT.md and docs/DECISIONS.md. Then inspect source, tests, and configuration in scope.
Before editing, establish:
After editing, run checks proportional to risk, update current-state documentation when behavior changed, and append one progress entry containing goal, completed work, verification, and remaining items. Never claim a service, browser, device, database, or production deployment was verified when it was not.
PROJECT.md, history in PROGRESS.md, and durable rationale in DECISIONS.md.