
matrix-doctor
by ojowwalker77
Claude on Rails - Tooling System for Claude Code.
SKILL.md
name: Matrix Doctor description: This skill should be used when the user asks to "run matrix diagnostics", "check matrix health", "fix matrix issues", "troubleshoot matrix", or mentions matrix not working. Runs comprehensive diagnostics on the Matrix plugin and automatically fixes issues. user-invocable: true agent: haiku allowed-tools:
- mcp__plugin_matrix_matrix__matrix_doctor
Matrix Doctor
Run comprehensive diagnostics on the Matrix plugin and automatically fix issues when possible.
What It Does
- Checks Matrix Directory: Verifies ~/.claude/matrix/ exists and is writable
- Checks Database: Tests connection, validates schema version
- Checks Configuration: Validates config file, checks for missing sections
- Checks Hooks: Verifies hooks are installed correctly
- Checks Code Index: Confirms repository is indexed
- Checks Repo Detection: Tests fingerprinting works
Auto-Fix Capabilities
The doctor will automatically attempt to fix:
- Missing Matrix directory (creates it)
- Database connection issues (reinitializes)
- Invalid/missing configuration (resets to defaults)
- Missing code index (triggers reindex)
Usage
Call the matrix_doctor tool with:
autoFix: true(default) - Attempt to fix issues automaticallyautoFix: false- Only run diagnostics without fixing
If Issues Cannot Be Fixed
If the doctor finds issues that cannot be automatically fixed:
- A GitHub issue template will be generated
- The user should be directed to open an issue at: https://github.com/ojowwalker77/Claude-Matrix/issues/new?template=bug_report.md
- Include the full diagnostic output in the issue
Expected Output
The tool returns a DoctorResult object containing:
healthy: boolean indicating overall healthchecks: array of diagnostic resultsenvironment: OS, Bun version, pathssuggestions: array of recommended actionsissueTemplate: pre-filled GitHub issue template (if issues found)
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon
