원클릭으로
design-sync
Check DESIGN.md synchronization with codebase architecture
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check DESIGN.md synchronization with codebase architecture
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | design-sync |
| description | Check DESIGN.md synchronization with codebase architecture |
Verify that DESIGN.md accurately reflects the current codebase architecture.
!ls -la internal/ | grep '^d'
!sed -n '/^## Directory Structure/,/^## /p' DESIGN.md | head -50
!grep -oE 'internal/[a-z/]+\.go:[0-9]+-[0-9]+' DESIGN.md | sort -u
!git log --since="$(git log -1 --format=%ai DESIGN.md 2>/dev/null || echo '1 month ago')" --name-only --oneline -- 'internal/**/*.go' | grep -E '^internal/' | sort -u
!go list -f '{{.ImportPath}}: {{join .Imports ", "}}' ./internal/... 2>/dev/null | grep 'lazyworktree/internal' | head -30
!head -20 DESIGN.md | grep -E '(Last updated|Version)'
!echo "=== Documented theme fields ===" && grep -A 20 'type Theme struct' DESIGN.md | grep -oE '^\s+[A-Z][a-zA-Z]+' | wc -l && echo "=== Actual theme fields ===" && grep -A 30 'type Theme struct' internal/app/theme.go | grep -oE '^\s+[A-Z][a-zA-Z]+' | wc -l
Based on the data above, check for:
internal/ not documented in DESIGN.md?file:line-range references from DESIGN.md (e.g., app.go:77-210)Provide output as:
app.go:77-210 → app.go:87-220)/design-syncProactive triggers (before committing):
internal/Periodic triggers:
# 1. Make architectural changes
# 2. Run design-sync skill
/design-sync
# 3. Review output for needed updates
# 4. Update DESIGN.md based on recommendations
# 5. Update "Last updated" date in DESIGN.md
# 6. Re-run to verify
/design-sync # Should now show ✅ Up to Date
# 7. Commit changes together
Analyze repository documentation for implementation drift, stale examples, missing coverage, spelling/clarity issues, and reorganization opportunities; produce a prioritized report with exact file references and proposed fixes.
Create, list, switch to, rename, delete, and manage notes for git worktrees using lazyworktree CLI
Check documentation consistency across README, man page, and help screen
Generate conventional commit from staged changes
Thorough code analysis without polluting main context
Run full quality check with live results