adapto-doctor

Solid

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.

AI & Automation 1 stars 0 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
10
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

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

Details

Author
adaptocms
Repository
adaptocms/adapto-cms-agent-skills
Created
1 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category