agentleFS
tusharsrivastavatusharsrivastava/shark-skills/skills/doctor/SKILL.md

doctor

Skill32 starsChanged 16 days agoMITView on GitHub

Checks the tools that shark needs in this project (the mcp-debugger server, the debug adapter of each language, the code-health analyzers, rules, rows and baseline, the guard sections), shows one table, and installs the pinned fixes into the shark tool folder after a yes. Use when the user says doctor, check the shark tools, or after a new machine, a new language or a plugin update.

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 10 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

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    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

  • +1 more from ibahgat

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 72 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the check script. It installs and writes nothing:

    line 8
  2. Very specific:

    Run the script. Show its table, with one row for each item, also each ok item.

    line 26
  3. Very specific:

    When an item is not ok, group the fixes by scope (shark tool folder, npm cache, project, project file, machine) and recommend each one.

    line 27
  4. Very specific:

    After a yes, run the approved commands one at a time, exactly as the script printed them.

    line 29
  5. Very specific:

    Run the script again. Report the final table, each install with its version, and what is still not ok.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 72 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

Run the check script. It installs and writes nothing:

node "${CLAUDE_PLUGIN_ROOT:-<directory of this skill>/../..}/skills/init/scripts/doctor.mjs"

It prints the tool folder and one row for each item: status (ok, warn, missing, fail), area, item, detail and fix. Exit 0: nothing is missing. Exit 1: one or more items are missing or failed.

The shark tool folder

Opengrep, Lizard and debugpy go in the plugin data folder of shark (~/.claude/plugins/data/<plugin>-<marketplace>/), which plugin updates keep. The analyzers run from it with no PATH setup, and the project's own Python loads debugpy from it through PYTHONPATH. Nothing goes into the system Python or the project environment, so a Python that is "externally managed" (PEP 668) is not a problem. The only machine need is python3 3.9 or later with venv.

Steps

  1. Run the script. Show its table, with one row for each item, also each ok item.
  2. When an item is not ok, group the fixes by scope (shark tool folder, npm cache, project, project file, machine) and recommend each one. Ask one time.
  3. After a yes, run the approved commands one at a time, exactly as the script printed them. Never use sudo, --break-system-packages, or another install command. A machine fix is for the user: name it and continue. A project or project-file fix (rules, rows, .gitignore, the baseline) is a /shark:init step: run init for it.
  4. Run the script again. Report the final table, each install with its version, and what is still not ok. Never call a tool ready when the last run did not show it as ok.

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.