/autumn:dev [--package <name>] [--show-config]from autumn
Starts the Autumn development server with hot reload. Handles pre-flight checks for database config and Tailwind binary, supports workspace packages, UI preview mode, and daemon management.
Ships in autumn. 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.
Start the Autumn development server with hot reload.
Before running autumn dev, verify:
Database URL is configured — check autumn.toml or the env var
AUTUMN_DATABASE__PRIMARY_URL is set. autumn dev will fail at startup
if no database URL is present. Note: autumn migrate check analyzes
migration SQL files only and does NOT test connectivity — to verify the
database is reachable, attempt autumn migrate status or start the server
and watch the startup logs. autumn dev now auto-loads a project-root
.env file (dev/test profiles) into the AUTUMN_* env layer before boot,
so you can set AUTUMN_DATABASE__URL there (copy .env.example to .env);
real shell env vars still win, and a malformed .env fails loudly.
Tailwind binary is present — if autumn setup has not been run:
autumn setup
autumn dev
For workspace projects, specify the package:
autumn dev --package my-app
To log all registered routes, tasks, middleware, and config at startup:
autumn dev --show-config
To iterate on markup with no app build and no database, run the app's UI
crate (<app>-ui, or [dev] ui_package) as a live preview, alone or beside
the app. See docs/guide/ui-preview.md:
autumn dev --ui
autumn dev --with-ui
autumn new my-app --ui writes that UI crate, autumn generate ui <name>
adds a component to it, and autumn_ui::check::catalogue in its
tests/catalogue.rs fails on an inline style or script, a class with no rule,
a missing /static/ file or an htmx URL with no mock route.
autumn dev uses the dev profile automatically in debug builds
(AUTUMN_ENV=dev is the default).
Since 0.6.0 there is also
autumn serve for a non-watch local daemon: autumn serve --daemon /
stop / status / restart, --release, and --bundled-pg for a managed
local Postgres. See docs/guide/daemon.md. Do not suggest it to users on a 0.5.x
CLI.
The daemon runs natively on Windows (0.8.0, issue #1639).
It was Tier 2/WSL2 until then; do not tell a user to reach for WSL2 for it any
more. The contract is the same on both platforms — single-instance guard,
readiness-gated start, serve.addr discovery file, status exit codes 0/3 —
with three differences worth knowing:
server.host/server.port and serve.addr records transport = "tcp".SIGTERM, so stop requests the drain through a file the daemon
watches. It runs the identical graceful sequence, so shutdown hooks and a
managed-Postgres teardown still happen. stop reports which of drained /
force-stopped after overrun / never asked actually occurred — read it, because
only the first means the hooks ran.autumn serve install-service registers the daemon as a Windows
service that starts at boot and restarts after a crash;
autumn serve uninstall-service removes it and keeps the database. Both need
an elevated (Administrator) shell. The service hosts the same app, so status
and stop keep working against it.State lives under %LOCALAPPDATA% with an owner-only ACL, and the daemon
refuses to start if that cannot be applied. See docs/guide/daemon.md and
docs/guide/platform-support.md.
Once running, tell the user what's available:
| Endpoint | Purpose |
|---|---|
http://localhost:3000 | Application root |
http://localhost:3000/health | Simple health check |
http://localhost:3000/actuator/health | Detailed health (JSON) |
http://localhost:3000/actuator/tasks | Scheduled task status |
http://localhost:3000/actuator/jobs | Background job status |
http://localhost:3000/static/js/htmx.min.js | Bundled htmx |
If autumn-admin-plugin is installed:
| http://localhost:3000/admin | Admin dashboard |
If the mail feature is enabled:
| http://localhost:3000/_autumn/mail | Mailer preview (dev profile only) |
autumn dev reports dependency-policy findings once per run, and only the ones
that turn CI red — findings the app's deny.toml denies:
⚠️ 1 blocking dependency finding (worst: high) — run `autumn doctor` for detail.
A critical advisory gets a startup banner naming the ids instead. Everything
else is silent by design: a clean tree, a fully waived tree, a tree with only
warn-level findings (duplicate or yanked crates), and every state where the
policy could not be evaluated (no cargo-deny, no advisory database, no
deny.toml) all print nothing. autumn doctor is where those are reported.
Do not read silence as "no audit ran". The audit starts after the initial
build — running it alongside makes its cargo metadata contend with Cargo's
package-cache lock — and the watch loop polls for the result without ever
blocking, so nothing here delays startup or a rebuild. The line can therefore
appear a second or two after the server does.
autumn dev watches src/, templates/, and static/ for changes and
recompiles + restarts automatically. Tailwind CSS is rebuilt on template
changes.
Since 0.6.0, when a rebuild
fails the browser renders the compiler diagnostics as a full-screen overlay
(under a strict nonce-based CSP) instead of leaving a blank or stale page; it
clears on the next successful rebuild (issue #1115). See
docs/guide/dev-error-overlay.md.
Two behaviours differ, both deliberate:
target\debug\<app>.exe is locked on Windows, so cargo build cannot relink
over it. The tradeoff is that a failed rebuild leaves the app down, so the
compile-error overlay above is not available there and the browser falls back
to a normal reconnect.SIGTERM, so
autumn dev sets AUTUMN_SHUTDOWN_SIGNAL_FILE and creates that file to
request a drain; the runtime then runs the same graceful shutdown a signal
triggers on Unix, so on_shutdown hooks — including managed Postgres teardown
— actually run. The wait is the app's own configured budget
(prestop_grace_secs + shutdown_timeout_secs) plus headroom for the
managed-Postgres stop that runs after the drain, not a fixed constant. If the app misses it,
autumn dev force-stops it and prints a warning saying the hooks may not have
run. If a user reports that warning, the app is genuinely hanging in shutdown;
it is not a false alarm. The variable is honored on non-Unix targets only.| Symptom | Fix |
|---|---|
Error: Address already in use | Port 3000 is taken. Set AUTUMN_SERVER__PORT=3001 autumn dev or kill the existing process. |
Error: connection refused | Database is not running. Start Postgres first. |
| Compile error shown in terminal | Fix the Rust error; autumn dev will retry on next save. |
autumn setup not found | Run cargo install autumn-cli --version 0.11.0 |
On Windows: autumn deploy up refuses with "Tier 2 (WSL2)" | Working as designed (trunk-dev, issue #1616) — it reaches a host over ssh and stages secrets with Unix file modes. Run it from a WSL2 shell; see docs/guide/platform-support.md. autumn serve --daemon is no longer in that set (issue #1639) — it runs natively. |
On Windows: autumn serve install-service fails with an access error | It registers an OS service, so it needs an elevated (Administrator) shell. autumn doctor's daemon_service check says so before you hit it. |
Ctrl+C stops the server and the Tailwind watcher.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (autumn-foundation/autumn) — no native marketplace selected
npx claudepluginhub p/madmax983-autumn7 skills in this plugin
/autumn-patternsUse when writing, reviewing, or debugging Rust code in an autumn-web project; covers idiomatic patterns for testing, repositories, service layers, job design, security, error handling, and Maud templates that are not covered in the framework API reference.
/autumn-webUse when building, debugging, documenting, or upgrading Rust web applications with autumn-web, autumn-cli, or first-party Autumn crates; also use for Autumn route/model/repository/job/webhook/admin macros, AppBuilder setup, Maud + htmx server-rendered UI, Diesel async Postgres, and Autumn 0.11.x migration or release work.
/doctorUse when the user runs /autumn:doctor, asks to audit their Autumn app's configuration, check for deployment readiness, or diagnose config problems, missing secrets, or stale migrations.
/generateUse when the user runs /autumn:generate, asks to scaffold a resource, generate a model, migration, controller, mailer, or task using the autumn CLI.
/newUse when the user runs /autumn:new, asks to create a new Autumn web application, or wants to scaffold a fresh project with the autumn CLI.
/routesUse when the user runs /autumn:routes, asks to list registered routes, inspect route handlers, check what endpoints exist, or audit an Autumn app's routing table.
Other plugins' skills for the same job