writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
flyio-hello-worldPrepare and verify a minimal Fly.io application launch with reviewable configuration and a safe first deployment. Use when onboarding a new service. Trigger with: "launch first Fly app", "deploy hello world to Fly", "create Fly launch plan".
Independent GitHub snapshot · Automated classification · Original documentation governs
name: flyio-hello-world description: >- Prepare and verify a minimal Fly.io application launch with reviewable configuration and a safe first deployment. Use when onboarding a new service. Trigger with: "launch first Fly app", "deploy hello world to Fly", "create Fly launch plan". allowed-tools: Read, Grep, Write, Edit version: 2.0.0 argument-hint: '[source-directory-app-and-region]' model: inherit effort: high license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
Create the smallest useful first deployment while keeping generated configuration reviewable. Start with one environment, one explicit region, a health endpoint, and no persistent data; add global placement or storage only after the base release is observable and repeatable.
Identify build method, Dockerfile status, process command, listening address, internal port, health route, environment, and secret inputs.
Use the provider launch flow with deployment disabled so fly.toml and any Dockerfile changes can be reviewed before resource creation.
Confirm app name, primary region, build source, process groups, service ports, health checks, VM size, autostart or autostop, and shutdown behavior.
Store runtime credentials through Fly App secrets. Leave non-sensitive configuration in reviewed environment fields and exclude local secret files from source control.
Bind the source revision and image, use rolling behavior, and observe build, Machine creation, and health rather than assuming the public URL proves complete success.
Check the endpoint, health status, Machine image and region, logs, restart behavior, and billable resources. Record teardown or ownership before handoff.
Interactive onboarding can use fly auth login. Automation should use the narrowest expiring token exposed as FLY_API_TOKEN or FLY_ACCESS_TOKEN. Never copy the personal login token into CI.
Use Read and Grep to inspect application configuration, deployment evidence, provider documentation, fixtures, logs, schemas, and existing tests before proposing a change. Use Write or Edit only for an approved plan, configuration, implementation, test, or redacted receipt. Do not create, deploy, scale, restart, stop, suspend, destroy, rotate, revoke, expose, or migrate live Fly.io resources without explicit operator approval.
fly.toml changesReturn the target organization, app, environment, region set, Machine or database identifiers, source-contract fingerprint, evidence, unresolved risks, rollback state, and final decision without exposing tokens, secrets, connection strings, or customer data.
A small HTTP service listens on the configured internal port and exposes /health. The operator generates fly.toml without deploying, reviews one region and a modest VM size, sets one secret, deploys, verifies health and image identity, and assigns an owner.
| Failure | Response |
|---|---|
| Generated config is surprising | Stop before deploy, compare with app runtime requirements, and edit only reviewed fields. |
| App name or region is unavailable | Choose from current provider responses and update the plan; do not assume global capacity. |
| First Machine is unhealthy | Preserve build and health evidence, correct the port or startup contract, and avoid repeated blind deploys. |