ask-matt
MAmattpocock/skills336k近 7 天新增 5,004 个 star
Check that the kit works on this machine and project: .NET 10 SDK, dotnet dnx, bash for the hooks, the Roslyn navigator, CLAUDE.md and rules, old installs.
Checks every part the kit depends on and prints one table: what passed, what is
degraded and how to fix it. Each check is a quick read-only command; /doctor
changes nothing. It answers one question: "Is the kit fully working here, and
if not, what exactly do I fix?"
A kit that half-works fails quietly: hooks that can't find bash do nothing, a navigator that never loaded makes Claude fall back to Grep, and an install under the old plugin name stops getting updates. None of these show an error in a normal session.
Run the checks in order with the Bash tool, then print the table. Never install, uninstall or edit anything; give the fix and let the user run it.
dotnet --version
dotnet --list-sdks
dotnet dnx need it.global.json pins an SDK that isn't installed, dotnet --version
fails: report the pinned version and that it is missing.dotnet dnx --help
bash --version
command -v jq || echo "jq missing"
jq missing is a WARN only: the hooks fall back to sed.Call the MCP tool get_workspace_status (server cwm-roslyn-navigator).
/doctor in a minute on a large
solution. Projects that failed to load: list them with the reason it gives./mcp to see
its status and error. Usual causes are check 1 or 2, or no network on the
first dnx run (it downloads the package once)..sln, .slnx or .csproj in the project: WARN, the navigator has
nothing to load.ls CLAUDE.md .claude/CLAUDE.md .claude/rules/*.md 2>/dev/null
.claude/rules/ (coding-style, architecture, security, testing,
performance, error-handling, packages, workflow)./dotnet-init./dotnet-init can copy them in full.grep -o '"dotnet-claude-kit@[^"]*"' ~/.claude/plugins/installed_plugins.json 2>/dev/null
env | grep -E '^CWM_' || echo "no CWM_ switches set"
dotnet-claude-kit@... is installed: that is the kit's old name,
it no longer updates, and running both doubles every hook. Fix:
/plugin uninstall dotnet-claude-kit@dotnet-claude-kit and
/plugin marketplace remove dotnet-claude-kit.CWM_* switches that are set, so the user knows a hook is off
on purpose (CWM_SESSION_CONTEXT, CWM_SUPERPOWERS, CWM_POST_EDIT_FORMAT, CWM_SLOP_GUARD,
CWM_ANTIPATTERN_WARN_ONLY).Print one table, then only the fixes for rows that are not PASS, most important first. No fixes needed: say so in one line.
/doctor
| Check | Status | Detail |
|--------------------|--------|-----------------------------------------------|
| .NET SDK | PASS | 10.0.404 |
| dotnet dnx | PASS | |
| bash (hooks) | PASS | 5.2.37, jq missing (sed fallback) |
| Roslyn navigator | PASS | Shop.slnx, 6 projects loaded |
| Project setup | WARN | no CLAUDE.md; 0 of 8 rules in .claude/rules/ |
| Old installs | WARN | dotnet-claude-kit@dotnet-claude-kit installed |
Fix, in order:
1. Remove the old install: /plugin uninstall dotnet-claude-kit@dotnet-claude-kit
then /plugin marketplace remove dotnet-claude-kit
2. Run /dotnet-init to generate CLAUDE.md and copy the rules.
/dotnet-init -- the fix for a missing CLAUDE.md or rules/verify -- checks your code; /doctor checks the kit/build-fix -- when the build, not the kit, is what's brokenMAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
OBobra/superpowers331k近 7 天新增 5,757 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star