You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ Add /ai-coding-config doctor diagnostic subcommand (#56)
* ✨ Add /ai-coding-config doctor diagnostic subcommand
Extends /ai-coding-config with a doctor mode that runs a battery of
health checks and reports as a ✅/⚠️/❌ checklist:
- Plugin install state (marketplace registered, cache present, enabled)
- Symlink integrity (.claude/commands → plugins/core/*, rules/ → .cursor/rules/)
- Hook script health (executable, valid shebang, registered in settings)
- Settings JSON validity
- Marketplace JSON consistency (version parity across all three locations)
- Version drift (local command file vs source repo)
- Skill frontmatter (name/description/triggers present, next-skill targets exist)
Context-aware: detects source-repo vs user-project and skips inapplicable checks.
Auto-fixes hook permissions only (with confirmation). All other issues report with
suggested fix commands.
Fixes#53
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* 🐛 Fix five multi-review issues in ai-coding-config doctor
- Source repo not found is informational (ℹ️), not a warning — normal for plugin-only users
- Remove wrong user-project skill glob path (plugin cache uses flat .md, not SKILL.md dirs)
- Fix summary count: 1 warning → 2 warnings in example output
- Put failures first in summary line (❌ before ⚠️ before ✅)
- Add all-green closing line to output-format guidance
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* 🐛 Address Claude bot review on PR #56
- Fix auto-fix example to use todo-persist.sh (matches output-format example)
- Replace relative ls -la bash examples with $(pwd)-anchored absolute paths
and Glob/Read tool instructions, matching file's own best practices
- Clarify next-skill resolution: directory name first (fast path), fall back
to scanning name fields, also checks .claude/commands/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* 🐛 Fix hook checks for user-project context and missing settings fallback
- Hook script file checks now scoped to source-repo only; user-project
context checks hooks registration in settings instead of script files
- auto-fix chmod also scoped to source-repo only context
- Settings check now reads .claude/settings.json if present, falls back
to ~/.claude/settings.json for projects using only global settings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* 🐛 Address latest Claude bot review on PR #56
- Add sync comment noting Plugin Install State mirrors <marketplace-doctor>
- Add explicit file-not-found case for known_marketplaces.json
- Add stability: experimental rule to Skill Frontmatter checks (was in
example but not in spec)
- Add Mode Routing section for unrecognized-argument fallback (enter
setup mode, mention available subcommands)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Nick Sullivan <nick@technick.ai>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
⚠️ mcp-debug — triggers field present, stability: experimental
705
+
706
+
---
707
+
## Summary
708
+
1 failure ❌ 2 warnings ⚠️ 11 passed ✅
709
+
710
+
## Suggested Fixes
711
+
❌ rules/ symlink missing:
712
+
ln -s .cursor/rules rules
713
+
714
+
⚠️ todo-persist.sh not executable:
715
+
chmod +x plugins/core/hooks/todo-persist.sh
716
+
(or confirm above to auto-fix)
717
+
```
718
+
719
+
All-green output ends with: "All checks passed — your setup is healthy."
720
+
721
+
Keep the summary tight. Users should be able to skim it in 10 seconds.
722
+
</output-format>
723
+
724
+
</doctor-mode>
725
+
726
+
---
727
+
527
728
<execution-philosophy>
528
729
Work conversationally, not robotically. Focus on outcomes. Determine best approach for each situation. Show file paths when copying. Let users make all choices. Verify everything works before finishing.
0 commit comments