用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/chmouel/lazyworktree --skill design-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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
基于 SOC 职业分类
正在显示 SKILL.md
| 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