← ClaudeAtlas

adapto-doctorlisted

Diagnose whether the environment is ready for Adapto CMS — CLI installed and authenticated, a tenant selected with enabled languages, and (inside a project) a supported framework with a valid .env and .gitignore. Read-only. Run it first when Adapto commands fail or before scaffolding a project.
adaptocms/adapto-cms-agent-skills · ★ 1 · AI & Automation · score 75
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