搜索

PythonReactSEOPDF
GitHub Skill

design-update

Update specific design document with new content or metadata. Use when modifying design docs, updating status/completeness, or syncing after code changes.

savvy-web☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Design Document Update

Updates design documentation files with new content, metadata changes, or structural improvements.

Overview

This skill updates design documents by:

  1. Reading the current design doc
  2. Understanding the requested changes
  3. Validating changes against schema
  4. Updating frontmatter metadata
  5. Modifying content sections
  6. Running validation checks
  7. Confirming changes applied correctly

Quick Start

Update status:

/design-update effect-type-registry cache-optimization.md --status=draft

Update completeness:

/design-update effect-type-registry observability.md --completeness=80

Mark as synced:

/design-update effect-type-registry cache-optimization.md --sync

Update section:

/design-update rspress-plugin-api-extractor type-loading.md --section=Overview

Bulk update:

/design-update effect-type-registry observability.md \
  --status=current --completeness=90 --sync

Parameters

Required
  • module - Module name
  • doc - Document filename (without path)
Optional
  • status - New status (stub, draft, current, needs-review, archived)
  • completeness - New completeness (0-100)
  • section - Specific section to update
  • content - New content to add/replace
  • sync - Mark as synced (sets last-synced to current date)
  • add-related - Add cross-reference to related doc
  • add-dependency - Add dependency reference

Workflow Overview

  1. Parse Parameters - Extract module, doc, and change parameters
  2. Load Configuration - Read config, verify module exists
  3. Read Document - Parse current frontmatter and content
  4. Apply Updates - Frontmatter or content changes
  5. Validate Changes - Check alignment and correctness
  6. Smart Recommendations - Suggest related updates
  7. Report Changes - Summary with validation results

Supporting Documentation

For Update Operations

See update-operations.md for:

  • All supported update operations (frontmatter fields, content sections)
  • Validation rules for each operation
  • Bulk update operations
  • Output format templates

Load when: Performing specific updates or need validation rules

For Smart Completeness

See completeness-estimation.md for:

  • Completeness estimation algorithm
  • Section analysis scoring
  • Placeholder detection
  • Content depth assessment
  • Smart suggestion logic

Load when: Estimating completeness or validating declared values

For Usage Examples

See examples.md for:

  • Complete update scenarios (status, completeness, sections)
  • Bulk updates
  • Cross-reference management
  • Smart estimation examples
  • Common update patterns

Load when: User needs concrete examples or clarification

Status-Completeness Matrix

Quick reference for alignment:

Completeness Expected Status
0-20 stub
21-60 draft
61-90 current, needs-review
91-100 current

Integration

Use this skill with:

  • /design-validate - Validate after updates
  • /design-sync - Sync with codebase before updating
  • /design-review - Review to identify needed updates
  • /design-init - Create before updating

Success Criteria

A successful update:

  • ✅ Changes applied correctly
  • ✅ Frontmatter valid and consistent
  • ✅ Status-completeness aligned
  • ✅ All validations pass
  • ✅ User receives clear summary
  • ✅ Recommendations provided

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!