| name | design-update |
| description | Update specific design document with new content or metadata. Use when modifying design docs, updating status/completeness, or syncing after code changes. |
| allowed-tools | Read, Edit, Bash(date *) |
| context | fork |
| agent | design-doc-agent |
Design Document Update
Updates design documentation files with new content, metadata changes, or
structural improvements.
Overview
This skill updates design documents by:
- Reading the current design doc
- Understanding the requested changes
- Validating changes against schema
- Updating frontmatter metadata
- Modifying content sections
- Running validation checks
- Confirming changes applied correctly
Quick Start
Update status:
/design-docs:design-update effect-type-registry cache-optimization.md --status=draft
Update completeness:
/design-docs:design-update effect-type-registry observability.md --completeness=80
Mark as synced:
/design-docs:design-update effect-type-registry cache-optimization.md --sync
Update section:
/design-docs:design-update rspress-plugin-api-extractor type-loading.md --section=Overview
Bulk update:
/design-docs: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
- Parse Parameters - Extract module, doc, and change parameters
- Load Configuration - Read config, verify module exists
- Read Document - Parse current frontmatter and content
- Apply Updates - Frontmatter or content changes
- Validate Changes - Check alignment and correctness
- Smart Recommendations - Suggest related updates
- 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 | draft (pre-implementation), current, needs-review |
| 91-100 | current |
A draft at 61-90% is valid for pre-implementation designs — the design is fleshed out but the code is not yet written. Never recommend promoting a pre-implementation draft to current; current asserts the doc reflects implemented code, not that the design is finished.
Integration
Use this skill with:
/design-docs:design-validate - Validate after updates
/design-docs:design-sync - Sync with codebase before updating
/design-docs:design-review - Review to identify needed updates
/design-docs: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