一键导入
doc-updater
Update PRODUCT_HANDOVER files based on change analysis. Creates new docs, modifies existing ones, handles removals.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update PRODUCT_HANDOVER files based on change analysis. Creates new docs, modifies existing ones, handles removals.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | doc-updater |
| description | Update PRODUCT_HANDOVER files based on change analysis. Creates new docs, modifies existing ones, handles removals. |
Apply change analysis to update PRODUCT_HANDOVER documentation files.
Given change analysis output, update documentation:
For each new feature in change_analysis.new_features:
Generate new markdown file using appropriate template:
api_endpoint → templates/endpoint.mdscreen → templates/screen-PRODUCT.mdcomponent → templates/component.mdPlace at change_analysis.new_features[].doc_location
Update parent PRODUCT.md to include link:
For each modified feature:
Read existing doc at doc_location
Identify sections to update based on change_type:
enhancement: Add new capability bulletschange: Update existing descriptionsrefactor: Note implementation change (usually no doc update needed)Apply surgical updates:
For each removed feature:
Option A - Archive (recommended):
PRODUCT_HANDOVER/.archive/{original_path}Option B - In-place marking:
Remove from parent PRODUCT.md navigation
After all content updates:
Update section PRODUCT.md files:
Update root PRODUCT.md:
List of modified files with change type:
{
"created": ["api/todos-bulk.md", "frontend/todos/bulk/PRODUCT.md"],
"modified": ["api/PRODUCT.md", "api/todos.md"],
"archived": ["api/legacy-webhooks.md"],
"unchanged": ["frontend/auth/PRODUCT.md"]
}
For new feature docs, use these variables:
{{feature_name}} - Human-readable name{{one_sentence_description}} - From change analysis{{service_name}} - Parent service (api, frontend, etc.){{user_actions}} - Derived from code analysis{{related_features}} - Auto-detected from code referencesGenerate PRODUCT_HANDOVER sitemap for product managers. Creates a hierarchical documentation structure where each folder has a PRODUCT.md describing user-facing capabilities.
Analyze git diff from product perspective to identify new, modified, or removed user-facing features
Generate preview of PRODUCT_HANDOVER updates without modifying actual docs. Creates parallel directory with proposed changes highlighted.
Extract detailed product documentation for individual features (endpoints, screens, components)
Compare current branch (with uncommitted changes) to main/master and preview PRODUCT_HANDOVER updates for pending changes.
Update PRODUCT_HANDOVER based on code changes since last documentation commit. Reviews diff product-wise and adds new features.