Claude-skill-registry design-update

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

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/design-update" ~/.claude/skills/majiayu000-claude-skill-registry-design-update && rm -rf "$T"
manifest: skills/data/design-update/SKILL.md
source content

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:

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

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