writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
rust-deployable-serviceUse when preparing, containerizing, configuring, testing, or reviewing Rust services for deployment, especially Docker multi-stage builds, runtime configuration, environment overrides, secrets, health checks, SQLx offline builds, release profiles, image-size reduction, or production startup validation.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a Rust service needs to move from local development to a repeatable container or cloud deployment. Keep runtime configuration explicit, builds reproducible, and health checks boring.
Cargo.toml, workspace layout, Dockerfile, .dockerignore,
config files, migrations, .sqlx/, CI, and deployment docs.SQLX_OFFLINE=true with checked-in
.sqlx/ metadata or provide a build-time database intentionally.Read references/configuration.md when adding config files, environment
variables, or secret handling.
Read references/docker-rust.md before changing Docker builds.
--locked for release builds if the repo commits Cargo.lock.Run from the Rust project root when Docker is part of the delivery path:
path/to/rust-deployable-service/scripts/docker-preflight.sh
The script builds an image. It only runs a smoke command when
RUST_DEPLOY_SMOKE_COMMAND is set, because services often need environment and
infrastructure to start successfully.
references/configuration.md: typed config loading, overrides, validation,
and secrets.references/docker-rust.md: multi-stage builds, SQLx offline builds, runtime
assets, and image checks.