name: docs-lifecycle-manager
Use this skill as the project-manager layer for requirements in this repository. It keeps a requirement moving through documented stages before the team jumps into code.
Always read these files first:
docs/文档中心.mddocs/governance/文档分类.mddocs/governance/元数据规范.mddocs/governance/生命周期流程.mdIf the user provides a feature_id, read:
docs/initiatives/<feature_id>/专题索引.md
Then read every existing document referenced by that initiative index.
Use this order when inspecting or advancing a requirement:
需求录入.md需求文档.md概要设计.md详细设计.mddocs/adr/ADR-*.md when triggered接口说明.md、专题内中文接口文档,或 docs/api/openapi/*.yaml when triggered开发进度.md 或 dev-progress/ 下的中文文件测试计划.md测试结果.md专题索引.mdSmall changes may skip some stages only when the initiative 专题索引.md records the skipped stage,
reason, risk, replacement record, and whether follow-up is required.
When the user asks what to do next:
feature_id.status.Use this response shape:
当前阶段:...
已有文档:...
缺口:...
下一步:...
建议动作:...
警示:...
Warn before continuing when any rule is violated:
feature_id: do not create later-stage documents.需求录入.md: do not jump to detailed design or code.需求文档.md: do not start design.测试计划.md: do not claim completion.测试结果.md: do not mark the initiative implemented.Prefer repository templates under docs/templates/. New lifecycle document filenames must be Chinese and human-readable; keep doc_id, type, and lifecycle status in Front Matter instead of encoding them in English filenames:
专题索引模板.md需求录入模板.md需求文档模板.md概要设计模板.md详细设计模板.md接口说明模板.md开发进度模板.md测试计划模板.md测试结果模板.md会议纪要模板.mdWhen creating a document:
doc_id, feature_id, type, title, status, owner, created_at, and updated_at.related_docs.related_modules.专题索引.md document index.Be strict about lifecycle gaps, but do not block useful exploration.
If prerequisites are missing, offer one of three paths:
Do not silently skip documentation stages.