/wagoe:wagoe-doctorfrom wagoe
Runs Wagoe's bb doctor checks on config (config.edn) and environment (tools, ports). Applies printed fixes and verifies with --ci.
Ships in wagoe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two commands, two different questions:
bb doctor | Is resources/conf/<env>/config.edn coherent? |
bb doctor:env | Does this machine have the tools to run the project? |
Run both with bb doctor --all.
--ci when you need an answer, not a reportbb doctor exits 0 even when it reports errors. Only --ci makes it exit
non-zero:
$ bb doctor # config.edn truncated so it does not parse
✗ config-loadable config.edn could not be parsed: EOF while reading
Summary: 8 passed, 0 warnings, 1 error
$ echo $?
0
$ bb doctor --ci ; echo $?
1
So bb doctor is for reading; bb doctor --ci is for deciding. This exact trap
sat inside bb check for months — its Config doctor row invoked bb doctor
without the flag and could never fail (BOU-270).
Each check prints one line, and a failing one carries its own Fix::
⚠ ai-providers No AI providers detected (Ollama on 11434, MLX on 8080)
Fix: Optional: start Ollama with `ollama serve` …
Prefer the printed fix over inventing one — it is written against the check that failed.
Distinguish the three levels. Errors block: the config will not load or the
app will not start. Warnings are conditional — ai-providers only matters
if the user wants bb ai or bb scaffold ai. Passes that read oddly are
usually skips: jwt-secret ✓ User module not active, JWT_SECRET not required
means it was not checked, not that it is fine.
bb doctor --all. If everything passes, say so and stop — do not go hunting.
For each ✗, read its Fix: line and apply it. Re-run.
For each ⚠, decide whether it is relevant to what the user is doing before
raising it.
Confirm with bb doctor --all --ci and check the exit code, so "fixed" is a
measurement rather than an impression.
Verify the same surface you asked about. bb doctor --ci alone checks
config only — an agent that started from --all, fixed a missing tool or
an occupied port, and then confirmed with bb doctor --ci would report
success while the environment failure stood. --all --ci runs
bb doctor:env --ci too and exits non-zero if either half fails.
bb doctor checks dev by default. Config problems usually bite in the one
nobody runs locally:
bb doctor --env prod
bb doctor --env all
--env all before a release is worth the ten seconds.
bb doctor reads configuration; it does not connect to your database, call
your PSP, or start the app. A green run means the config is coherent and the
tools are present — not that the system boots. For that, start it and look
(clojure -M:run, then curl).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wagoebv/wagoe --plugin wagoe10 skills in this plugin
/wagoeWagoe framework (Clojure FC/IS) toolkit. Use when the user wants to add a module, entity, or feature ("add a product module with name and price"), add a field/endpoint/adapter to a module, wire a module into the app, explain a Clojure/Wagoe error or stacktrace, generate tests, write SQL from a description, configure the project, or diagnose setup issues. ALWAYS scaffold new modules with `bb scaffold` instead of hand-writing them./wagoe-debugDiagnose a failure in a Wagoe app — a 500, an exception, a stack trace, a nil where a value was expected, a field that reads back empty, or a test that fails for no obvious reason. Use when something in a Wagoe project is broken and the cause is not yet known. Works from the innermost layer outward, checks the framework's known pitfalls first, and can call bb ai explain on a stack trace./wagoe-deployPackage and deploy a Wagoe app — uberjar, Docker image, Kubernetes, systemd or a cloud manifest. Use when asked to build a release, containerise the app, deploy to an environment, or check a project is ready to ship. Covers the pre-deploy checks that actually catch things, the server/worker split, and the health endpoints to probe./wagoe-gen-testsGenerate a Kaocha test namespace for a Wagoe source file with `bb ai gen-tests`, put it in the right place, and run it. Use when asked to write tests for an existing namespace, to cover a function that has none, or to bootstrap a test file for freshly scaffolded code. Covers the test-type metadata Kaocha selects on, where the file belongs, and how to triage the failures a generated draft always has./wagoe-i18nExternalise user-visible strings in a Wagoe project into the translation catalogue and keep locales in parity. Use when adding UI text, when a string appears untranslated, when `bb i18n:scan` fails, or when asked to add or audit a language. Covers the `[:t :key]` marker convention, where markers may and may not appear, the en/nl catalogues, and what the scan does not see./wagoe-migrateCreate, apply, verify and roll back database migrations in a Wagoe project. Use when adding or changing a database column or table, when a migration seems not to have run, when `bb migrate status` disagrees with the schema, or when adding a field to an entity — which needs a migration plus two other changes to stay consistent. Covers bb migrate create/up/status/rollback and the three-way schema sync.Other plugins' skills for the same job