agentleFS
codewithmukeshcodewithmukesh/dotnet-claude-kit/skills/doctor/SKILL.md

doctor

Skill853 starsChanged 2 days agoMITView on GitHub

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.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall, cancel and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 6 projects that use this

  • woosikkimSkill

    cancel

    Clear any stale OMC-Slim state

    Also in 4 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 3 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 3 projects that use this

  • Arman-KudaibergenovSkill

    inspect

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.

    Also in 4 projects that use this

  • BlockSkill

    open

    Open markdown documents in Penpal for collaborative review. Use when you want a human to review a document, plan, or research artifact.

    Also in 3 projects that use this

  • +1 more from ibahgat

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 71 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After upgrading the .NET SDK or Claude Code

    line 27
  2. Distinctive:

    Before reporting a bug (paste the table into the issue)

    line 28
  3. Distinctive:

    Run the checks in order with the Bash tool, then print the table.

    line 32
  4. Very specific:

    If a global.json pins an SDK that isn't installed, dotnet --version fails: report the pinned version and that it is missing.

    line 45
  5. Very specific:

    Call the MCP tool get_workspace_status (server cwm-roslyn-navigator).

    line 71

“Common” is measured: kept by at least 6 in 10 of the 71 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/doctor -- Kit Health Check

What

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.

When

  • Right after installing the plugin, or on a new machine
  • "the hooks don't run", "the navigator tools are missing", "is the kit working?"
  • After upgrading the .NET SDK or Claude Code
  • Before reporting a bug (paste the table into the issue)

How

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.

1. .NET SDK

dotnet --version
dotnet --list-sdks
  • PASS: a 10.x or newer SDK is listed.
  • FAIL: no SDK, or only 9.x and older. Fix: install the .NET 10 SDK from https://dotnet.microsoft.com/download. The navigator and dotnet dnx need it.
  • If a global.json pins an SDK that isn't installed, dotnet --version fails: report the pinned version and that it is missing.

2. dotnet dnx (starts the navigator)

dotnet dnx --help
  • PASS: help text prints. FAIL: "No .NET SDKs were found" or unknown command, which means the SDK is older than 10. Same fix as check 1.

3. bash for the hooks

bash --version
command -v jq || echo "jq missing"
  • PASS: bash 3.2 or newer. On Windows that means Git for Windows; without it every kit hook (format, guard, session start) silently does nothing. Fix: install Git for Windows and restart Claude Code.
  • jq missing is a WARN only: the hooks fall back to sed.

4. Roslyn navigator

Call the MCP tool get_workspace_status (server cwm-roslyn-navigator).

  • PASS: it answers and reports the solution loaded with no failed projects.
  • WARN: it answers with "loading": rerun /doctor in a minute on a large solution. Projects that failed to load: list them with the reason it gives.
  • FAIL: the tool doesn't exist. The server didn't start: run /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).
  • No .sln, .slnx or .csproj in the project: WARN, the navigator has nothing to load.

5. Project setup

ls CLAUDE.md .claude/CLAUDE.md .claude/rules/*.md 2>/dev/null
  • PASS: a CLAUDE.md exists. Report how many of the kit's 8 rules are in .claude/rules/ (coding-style, architecture, security, testing, performance, error-handling, packages, workflow).
  • WARN: no CLAUDE.md. Fix: run /dotnet-init.
  • Rules missing are fine (the session hook adds a digest); note that /dotnet-init can copy them in full.

6. Old installs and switches

grep -o '"dotnet-claude-kit@[^"]*"' ~/.claude/plugins/installed_plugins.json 2>/dev/null
env | grep -E '^CWM_' || echo "no CWM_ switches set"
  • WARN when 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.
  • List any 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).

7. Report

Print one table, then only the fixes for rows that are not PASS, most important first. No fixes needed: say so in one line.

Example

/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.

Related

  • /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 broken

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.