project-docs-maintainer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProject Docs Maintainer
项目文档维护工具
Use one canonical skill entrypoint for documentation maintenance, then choose the matching mode.
通过统一的标准化技能入口点进行文档维护,然后选择匹配的模式。
Inputs
输入参数
mode=skills_readme_maintenance- Required:
--workspace <path> - Optional: , repeatable
--repo-glob <glob>,--exclude <path>--apply-fixes
- Required:
mode=roadmap_maintenance- Required: ,
--project-root <path>--run-mode <check-only|apply> - Optional:
--roadmap-path <path>
- Required:
- Use canonical mode names in all new prompts.
- Treat as compatibility-only.
skills_readme_alignment
mode=skills_readme_maintenance- 必填:
--workspace <路径> - 可选:,可重复使用
--repo-glob <通配符路径>,--exclude <路径>--apply-fixes
- 必填:
mode=roadmap_maintenance- 必填:,
--project-root <路径>--run-mode <check-only|apply> - 可选:
--roadmap-path <路径>
- 必填:
- 所有新请求中请使用标准化的模式名称。
- 仅用于兼容旧版本。
skills_readme_alignment
Workflow
工作流
- Pick the canonical from the user request.
mode - Run the read-only variant first:
- : audit first
skills_readme_maintenance - :
roadmap_maintenancefirst--run-mode check-only
- Review findings and keep the fix scope bounded to the selected mode.
- If the user requested edits, run the corresponding bounded write path:
- :
skills_readme_maintenance--apply-fixes - :
roadmap_maintenance--run-mode apply
- Re-run the same mode to confirm remaining issues.
- Return the mode-specific Markdown and JSON report shape.
- 从用户请求中选择标准化的。
mode - 先运行只读变体:
- :先执行审计
skills_readme_maintenance - :先使用
roadmap_maintenance模式--run-mode check-only
- 检查结果,确保修复范围限定在所选模式内。
- 如果用户要求进行编辑,则运行对应的有限范围写入流程:
- :使用
skills_readme_maintenance--apply-fixes - :使用
roadmap_maintenance--run-mode apply
- 重新运行同一模式以确认剩余问题。
- 返回对应模式的Markdown和JSON格式报告。
skills_readme_maintenance
skills_readme_maintenanceskills_readme_maintenance
skills_readme_maintenance- Script:
scripts/skills_readme_maintenance.py - Scope: maintenance for
README.mdrepositories*-skills - References:
references/output-contract.mdreferences/section-schema.mdreferences/discoverability-rules.mdreferences/profile-model.md
- 脚本:
scripts/skills_readme_maintenance.py - 范围:维护类仓库的
*-skills文档README.md - 参考文档:
references/output-contract.mdreferences/section-schema.mdreferences/discoverability-rules.mdreferences/profile-model.md
roadmap_maintenance
roadmap_maintenanceroadmap_maintenance
roadmap_maintenance- Script:
scripts/roadmap_alignment_maintainer.py - Scope: checklist-style validation, migration, and bounded normalization
ROADMAP.md - References:
references/roadmap-customization.mdreferences/roadmap-config-schema.md
- 脚本:
scripts/roadmap_alignment_maintainer.py - 范围:对清单式进行验证、迁移和有限范围的标准化处理
ROADMAP.md - 参考文档:
references/roadmap-customization.mdreferences/roadmap-config-schema.md
Output Contract
输出约定
skills_readme_maintenance- Return Markdown plus JSON with:
run_contextrepos_scannedprofile_assignmentsschema_violationscommand_integrity_issuesfixes_appliedpost_fix_statuserrors
- If there are no issues and no errors, output exactly
No findings.
- Return Markdown plus JSON with:
roadmap_maintenance- Return Markdown plus JSON with:
run_contextfindingsapply_actionserrors
- If there are no findings, no apply actions, and no errors, output exactly
No findings.
- Return Markdown plus JSON with:
skills_readme_maintenance- 返回Markdown格式报告及包含以下内容的JSON:
run_contextrepos_scannedprofile_assignmentsschema_violationscommand_integrity_issuesfixes_appliedpost_fix_statuserrors
- 如果没有问题且无错误,输出内容为
No findings.
- 返回Markdown格式报告及包含以下内容的JSON:
roadmap_maintenance- 返回Markdown格式报告及包含以下内容的JSON:
run_contextfindingsapply_actionserrors
- 如果没有发现问题、无待执行操作且无错误,输出内容为
No findings.
- 返回Markdown格式报告及包含以下内容的JSON:
Guardrails
约束规则
- Never auto-commit, auto-push, or open a PR.
- Never edit source code, manifests, lockfiles, or CI files.
- In , keep edits bounded to
skills_readme_maintenanceand explicitly approved snippet insertions intoREADME.md.AGENTS.md - In ,
roadmap_maintenancemode may edit only the targetapply.ROADMAP.md - Keep deprecated aliases out of the main path and mention them only when handling legacy prompts.
- 禁止自动提交、自动推送或创建PR。
- 禁止编辑源代码、清单文件、锁文件或CI配置文件。
- 在模式下,仅允许编辑
skills_readme_maintenance,以及在明确批准的情况下向README.md插入代码片段。AGENTS.md - 在模式下,
roadmap_maintenance模式仅允许编辑目标apply文件。ROADMAP.md - 主工作流中不使用已弃用的别名,仅在处理旧版本请求时提及它们。
References
参考文档
references/output-contract.mdreferences/skills-readme-maintenance-automation-prompts.mdreferences/roadmap-automation-prompts.mdreferences/profile-model.mdreferences/section-schema.mdreferences/discoverability-rules.mdreferences/fix-policies.mdreferences/roadmap-customization.mdreferences/roadmap-config-schema.md
references/output-contract.mdreferences/skills-readme-maintenance-automation-prompts.mdreferences/roadmap-automation-prompts.mdreferences/profile-model.mdreferences/section-schema.mdreferences/discoverability-rules.mdreferences/fix-policies.mdreferences/roadmap-customization.mdreferences/roadmap-config-schema.md