com um clique
design-sync
Check DESIGN.md synchronization with codebase architecture
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Check DESIGN.md synchronization with codebase architecture
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
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
| 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