원클릭으로
design-sync
Sync design docs with codebase state. Use when verifying documentation accuracy, after code changes, or when last-synced is stale.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Sync design docs with codebase state. Use when verifying documentation accuracy, after code changes, or when last-synced is stale.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate cross-reference graph showing relationships between design documents. Use when visualizing doc dependencies, finding related docs, or understanding documentation structure.
Validate design doc structure and frontmatter. Use when checking design docs for compliance, ensuring proper formatting, or verifying metadata before commits.
Comprehensive quality audit for CLAUDE.md context files. Use when performing thorough quality checks, preparing for releases, ensuring context efficiency, or verifying token optimization.
Style rules for LLM context files (CLAUDE.md, AGENTS.md and their .local variants). Fires automatically when these files are opened. Enforces on-demand loading patterns, proper @-reference syntax and lean context structure.
Split large CLAUDE.md into child files. Use when context files exceed word limits, are too verbose, or cover multiple distinct topics that should be separate.
Validate CLAUDE.md structure, formatting, and quality. Use when checking context files for compliance, ensuring proper structure, or verifying before commits.
| name | design-sync |
| description | Sync design docs with codebase state. Use when verifying documentation accuracy, after code changes, or when last-synced is stale. |
| allowed-tools | Read, Glob, Grep, Edit, Bash(grep *), Bash(jq *), Bash(git *), Bash(wc *), Bash(find *), Bash(ls *), Bash(test *), Bash(awk *), Bash(markdownlint-cli2 *) |
| context | fork |
| agent | design-doc-agent |
Synchronizes design documentation with current codebase state by analyzing source code and updating docs to reflect actual implementation.
This skill keeps design documentation aligned with code by extracting file references and claims from docs, verifying them against actual source code, identifying discrepancies, and applying safe updates automatically while flagging unsafe changes for manual review.
Basic sync (check-only):
/design-docs:design-sync effect-type-registry
Sync with auto-update:
/design-docs:design-sync effect-type-registry --auto-update
Sync specific document:
/design-docs:design-sync effect-type-registry observability.md
module: Module name to sync (or "all" for all modules)doc: Specific document to sync (default: all docs in module)auto-update: Automatically apply safe updates (default: false)check-only: Only report discrepancies, no updates (default: true if
auto-update not set)High-level synchronization process:
design.config.json keys/values (e.g. rootMaxWords,
requireDesignDocPointers). Compare each against the live
design.config.json — flag mismatches as drift, and recommend replacing
the snippet with a pointer to the config file (per the design-docs-style
rule against transcribing config). A config snippet that matches today is
still a second source of truth that will rot.For detailed implementation steps, see supporting documentation below.
When you need detailed information, load the appropriate supporting file:
See instructions.md for:
Load when: Performing synchronization or need implementation details
See analysis-strategies.md for:
Load when: Need code analysis methods or verification strategies
See update-operations.md for:
Load when: Applying updates or need update strategy details
See examples.md for:
Load when: User needs examples or clarification
INFO: No design documents found to sync
Module: {module}
This is normal for new modules. Run /design-docs:design-init to create design docs.
ERROR: Module not configured
Module: {module}
Fix: Add module to design.config.json
ERROR: Design document not found
Document: {doc}
Path: .claude/design/{module}/{doc}
Fix: Check document name or create with /design-docs:design-init
Works well with:
/design-docs:design-validate - Validate before syncing/design-docs:design-update - Update docs after sync identifies issues/design-docs:design-review - Review sync status across modules/design-docs:design-report - Include sync status in health reportsA successful sync: