/openlogos:change-writerfrom openlogos
Generates structured change proposals with impact analysis following the OpenLogos delta workflow. Scans existing project documents to determine change type and scope, then produces proposal.md and tasks.md.
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.
Assist in writing change proposals — analyze the scope of change impact, generate a structured proposal.md and a phase-based tasks.md, ensuring changes are traceable and impact is controllable.
openlogos change <slug> and wants AI help filling in the proposallogos/logos.config.json exists)logos/changes/<slug>/ exists)logos/resources/)If prerequisites are not met, prompt the user to run openlogos change <slug> to create the proposal directory first.
logos/resources/ to identify the affected scopeConfirm the following information with the user (ask follow-up questions if insufficient, up to 2 rounds):
Scan documents in logos/resources/ to determine the impact scope:
prd/1-product-requirements/) to check related scenario definitionsprd/2-product-design/) to check related functional specs and prototypesprd/3-technical-plan/) to check related sequence diagramsapi/) to check related endpointsdatabase/) to check related table structuresscenario/) to check related test casesRefer to change propagation rules to determine the change type and minimum update scope:
| Change Type | Minimum Updates Required |
|---|---|
| Requirement-level change | Full chain (Requirements → Design → Architecture → API/DB → Orchestration → Code) |
| Design-level change | Prototypes + Scenarios + API/DB + Orchestration + Code |
| Interface-level change | API/DB + Orchestration + Code |
| Code-level fix | Code + Re-verification |
Generate using the following template and write to logos/changes/<slug>/proposal.md:
# Change Proposal: [Change Name]
## Reason for Change
[Why is this change needed? What requirement/feedback/bug does it originate from?]
## Change Type
[Requirement-level / Design-level / Interface-level / Code-level]
## Change Scope
- Affected requirement documents: [List, down to filename and section]
- Affected functional specs: [List]
- Affected business scenarios: [Scenario ID list]
- Affected APIs: [Endpoint list]
- Affected DB tables: [Table name list]
- Affected orchestration tests: [List]
## Change Summary
[Describe in 1-3 paragraphs what specifically will change]
Automatically break down the task checklist using structured section format based on the change type and impact scope. See spec/tasks-spec.md for the full format specification.
Format rules:
## [delta] <description> section: only list delta document output tasks, each item corresponds to one delta file## [code] <description> section: only list code implementation tasks that directly modify source files — no delta output[code], spec-only proposals have only [delta][code] section; code tasks must not appear in [delta] sectionRequirement-level / Design-level change template (delta + code):
# Implementation Tasks
## [delta] Spec Changes
- [ ] Output delta file to `deltas/prd/1-product-requirements/` — Update acceptance criteria for S0x
- [ ] Output delta file to `deltas/prd/1-product-requirements/` — Add/modify scenario in overview table
- [ ] Output delta file to `deltas/prd/2-product-design/1-feature-specs/` — Update interaction design for S0x
- [ ] Output delta file to `deltas/prd/2-product-design/2-page-design/` — Update prototypes
- [ ] Output delta file to `deltas/prd/3-technical-plan/1-architecture/` — Update technical architecture
- [ ] Output delta file to `deltas/prd/3-technical-plan/2-scenario-implementation/` — Update sequence diagram for S0x
- [ ] Output delta file to `deltas/api/` — Update API YAML
- [ ] **Validate API YAML** — all files in `logos/resources/api/` must be valid YAML and valid OpenAPI 3.x (all `description`/`summary` values containing `:` or special chars must be double-quoted)
- [ ] Output delta file to `deltas/database/` — Update DB DDL
- [ ] Output delta file to `deltas/scenario/` — Update orchestration test cases
## [code] Code Implementation
- [ ] Implement business logic in src/xxx
- [ ] Write corresponding tests
Code-only fix template (no delta):
# Implementation Tasks
## [code] Code Implementation
- [ ] Fix the issue in src/xxx
- [ ] Update corresponding tests
When to trigger: After tasks.md is filled in and the user has confirmed the proposal, produce delta files item by item per the [delta] section task checklist.
Important: Only execute tasks in the [delta] section. Tasks in the [code] section are executed after spec merge (SPEC_MERGED).
When producing delta files, write them under logos/changes/<slug>/deltas/ with paths that mirror logos/resources/:
| Target main document directory | Delta subdirectory |
|---|---|
logos/resources/prd/ | deltas/prd/ |
logos/resources/api/ | deltas/api/ |
logos/resources/database/ | deltas/database/ |
logos/resources/scenario/ | deltas/scenario/ |
logos/resources/test/ | deltas/test/ |
Preserve nested directories. Example: logos/resources/prd/1-product-requirements/core-01-requirements.md maps to deltas/prd/1-product-requirements/core-01-requirements.md; logos/resources/test/core-S01-test-cases.md maps to deltas/test/core-S01-test-cases.md.
Provide a ready-to-use prompt that allows the user to kick off chain execution of all tasks with a single command:
Chain execution behavior rules:
tasks.md and executes items sequentiallyopenlogos merge <slug>Key principle: Do not make the user manually track the task checklist — AI should proactively drive the process.
openlogos merge and openlogos archive are human confirmation points:
/openlogos:merge or /openlogos:archive slash commands), AI may execute themAI is only responsible for driving content modifications and must not advance proposal state without explicit authorization.
logos/changes/<slug>/proposal.md and tasks.md (overwrite the CLI-generated templates)[x] upon completion for easy progress trackingThe following prompts can be copied directly for use with AI:
Fill in proposal:
Help me fill in the change proposal <slug>I want to add a "remember password" feature to the S02 login scenario, help me analyze the impact scopeThis bug fix only involves the code layer, help me quickly write a proposalExecute tasks (after proposal is completed):
Follow tasks.md and help me progressively update all affected documents for S02Help me fix the 500 error on the S02 login endpoint and re-verifyThis section supersedes earlier examples that populate
[code]during plan authoring. It shares the same machine contract as the Chinese source.
Read the CLI-created proposal.md and tasks.md before editing. Preserve canonical headings, section order, and machine-readable blocks; replace placeholders in place. Extra design sections are allowed, but they never replace canonical reason/type/scope/deployment/summary/clarification sections.
[code] empty during planFor a code-required change, retain an empty ## [code] Code Implementation heading and write no checkbox below it. Real code slices are produced only after spec-complete by slice-planner using merged specifications and real test IDs. Remove the exact legacy template line - [ ] Implement code changes if present.
After writing, read the actual files from disk and run from the project root:
openlogos change-lint --slug <slug> --format json
openlogos next --format json
Report “ready for approval” only when lint exits 0 with data.pass=true, and next reports plan_state.plan_ready=true plus proposal_step=ready-to-delta. Consume every structured issue and repair the pointed artifact in the same producer run. Never infer completion from prose or checkbox counts.
After explicit plan approval, execute only [delta] tasks. Read every written Delta back, check off the matching task, and rerun change-lint to exit 0. Do not run merge without separate explicit authorization.
If the project sync stamp has an older Plan contract or managed-asset hash than the CLI package, require openlogos sync and a new Agent session. Never treat different Skill bytes under the same semver as equivalent, and never overwrite project-owned Skills.
先读取 spec/authority-closure.md。本 Skill 只生产当前 change 的 impact 计划,不重建项目 Authority Registry 或复制根规范。
影响分析时先判断触发:共享业务事实/完成谓词、projection、owner/writer/mutation/recovery/cutover、消费者本地重算风险。每个新或仍 writing 的提案必须有唯一 openlogos/authority-impact@1。required 分支引用 Registry 或当前 CREATE authority target,列出 projections、retired shadow sources、forbidden fallbacks、cutover 和真实 UT/ST/SMOKE IDs;not_applicable 分支只含非空可核验证据。
任何 unresolved、未知 fact 引用、空 cutover、测试 ID 不真实或影子来源未退休都不得报告 plan 完成。Delta 仍遵守 P=T=D、一目标一文件、写后读回和逐文件勾选;[code] 在 merge 前保持空白。全部 Delta 完成后运行 change-lint,等待独立 merge 授权。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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.Other plugins' skills for the same job