adapto-doctorlisted
Install: claude install-skill adaptocms/adapto-cms-agent-skills
# adapto:doctor
Read-only health check for the Adapto CMS toolchain. It never changes anything — it reports what's
wrong and the exact command to fix each item. It ships **global + per-repo**: run it
anywhere to check the environment, or inside a project to also check project wiring.
## When to use
- Any Adapto CLI command failed and you're not sure why (auth? tenant? CLI missing?).
- Before `adapto:scaffold` or any mutating skill, to confirm preconditions.
- After `adapto auth login` or switching tenants, to confirm the session is good.
- Triggers: "adapto doctor", "is my adapto setup ok", "why is adapto failing", "check my adapto environment".
## When not to use
- To *fix* things — doctor only diagnoses. It prints fixes; the user (or another skill) runs them.
- As a precondition gate inside other skills — call the relevant CLI check directly; doctor is for humans.
## Inputs
- None required. Optional mode flags on the check script:
- `--repo` force project checks · `--global` skip them · (default: auto — project checks run if a `package.json` is present in the cwd).
- `--json` machine-readable output.
- `--strict` exit non-zero when a check fails (for shell gating). Off by default.
## Outputs
- A checklist (✓ pass / ⚠ warn / ✗ fail) with a one-line detail and a fix hint per non-passing item, plus a `pass/warn/fail` tally.
- `--json`: `{ ok, mode, checks:[{id,label,status,detail,fix}], summary:{pass,warn,fail} }`.
- Exit code `0` on a **successful run** (a report w