agentleFS
vzhukovsvzhukovs/podman-desktop-kit/skills/doctor/SKILL.md

doctor

Skill0 starsChanged 13 days agoApache-2.0View on GitHub

Check the pdkit environment: required tools, optional MCP servers, hook wiring, and gate self-test.

81 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 3 projects that use this

  • ibahgatSkill

    mode

    Inspect or switch omi operating mode/profile for speed, depth, autonomy, or strict quality gates.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 15 projects that use this

  • MicrosoftSkill

    init

    Also in 7 projects that use this

  • MicrosoftSkill

    report

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If it reports a miss, nothing else in the report matters until it is fixed.

    line 45
  2. Distinctive:

    Do not offer to "fix" these — say what they mean and let the user decide:

    line 49
  3. Very specific:

    Read the detail line: every failure here is written to say what to do, not just what is wrong.

    line 74

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

Report what is present, what is missing, and what degrades as a result. Never report a capability as available without checking it.

pdkit doctor                  # required tools, config layers, $PDKIT_HOME, hooks, MCP
pdkit doctor --gate-selftest  # plus: drive the real hooks the manifest registers
pdkit doctor --repo <path>    # act on a repository other than the current one

Reading the report

Three levels — required, optional, later — and four results. The distinction that matters is between the last two:

Meaning
✔checked and satisfied
!a warning: it works, and something is worse than it could be
✘broken. Only required failures make the exit code non-zero
·not checked, and the line says why

A warning is not a failure and must not be reported as one. A doctor that exits non-zero on every optional gap stops being run, and a check nobody runs is worse than no check.

The self-test

--gate-selftest is not part of the routine run: it spawns the hook once per probe and takes a few seconds. Run it after installing, after upgrading, and after touching anything under lib/hooks/.

It is the only check that answers "is the protection actually on". Every unit test in the suite stays green while a plugin with a broken manifest gates nothing at all, so this one drives real commands through the binary the manifest names: seventeen for the push gate, two for the ownership hook.

If it reports a miss, nothing else in the report matters until it is fixed.

Warnings that are decisions rather than breakage

Do not offer to "fix" these — say what they mean and let the user decide:

  • package-map:layers — packages/api, packages/webview-api and storybook belong to no layer. That decides merge order for slices, and the decision belongs to stage 3.
  • config:gates — a key the plugin stopped reading is still in a personal config, where it looks like a setting somebody chose. The detail names the key and the version that retired it.
  • mcp:playwright — three outcomes, not two. Absent means /pd:validate produces a checklist instead of a run and never sets PASS. Present without --cdp-endpoint, or aimed at a port other than validation.app.debug_port, is a warning: the server is healthy and looking at a browser of its own, which reads as working until a validation run finds nothing there. The detail carries the command to fix it, -s user included — local scope is keyed by directory and no worktree would see it.
  • validate:app — a different problem with a different fix. The server can be configured perfectly and validation still have nothing to drive, because the working tree was never built.
  • config:arrays — a list in your config.yaml has fallen behind the shipped default. Lists replace rather than merge, so one copied by init and never edited stays at the value shipped that day; delete the key to follow the default again, or extend it deliberately.

When something is red

Read the detail line: every failure here is written to say what to do, not just what is wrong. home failing means pdkit init has not run. config:merge failing names the file and the line. gh-auth failing means gh auth login.

Report the findings to the user rather than repairing the environment. The one exception is a stale package map, where pdkit init is the whole fix and is safe to offer.

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.