Periodic review of all skills to keep procedural memory accurate and up-to-date.
List all skills and their last-modified dates:
for d in skills/*/SKILL.md; do echo "$(stat -f '%Sm' -t '%Y-%m-%d' "$d" 2>/dev/null || date -r "$d" '+%Y-%m-%d') $d"; done | sort -r
Read each SKILL.md briefly (first 30 lines) to understand scope.
Check memory files and shared/gotchas.md (if they exist) for lessons that should have flowed into skills but didn't.
For each gotcha or feedback memory:
## Gotchas section?For each skill, check:
| Check | How |
|---|---|
| ------- | ----- |
| References valid paths? | Grep for file paths mentioned in SKILL.md, verify they exist |
| References valid commands? | Check if CLI tools or scripts mentioned still work |
| Steps still accurate? | Compare with actual workflow from recent git history |
| Gotchas section exists? | If skill has been used multiple times, it should have accumulated lessons |
Look for recurring multi-step patterns that don't have a skill yet:
git log --oneline -30
If a workflow has been done 3+ times manually, propose creating a skill for it.
Check for skills with overlapping scope. If two skills cover similar ground, propose merging or clarifying boundaries.
Output a summary table:
| Skill | Status | Action Taken |
|-------|--------|-------------|
| /typefully | Updated | Added gotcha about image requirements |
| /codebase | OK | No changes needed |
| /deploy-flow | NEW | Created from repeated manual workflow |
chore: skill-review — update N skills共 1 个版本