bootstrap-fly-env-sync

Official

Sync .env values into Fly.io secrets

Authoragoodway
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeps Fly.io app configuration consistent by turning local .env files into correctly chunked Fly secrets, so you can avoid slow, error-prone manual secret setting.

Core Features & Use Cases

  • Bootstraps a sync script: Creates scripts/env-to-fly-secrets.sh that converts a .env file into batched fly secrets set commands to reduce Fly CLI limits issues.
  • Safe-by-default dry runs: Prints the commands first and only applies them when you pass --execute, reducing accidental misconfiguration risk.
  • Project-aware setup: Optionally copies a template to .env.prod, updates .gitignore to ignore .env.prod, and adds a Justfile recipe when a justfile exists.
  • Handles common .env formats: Skips comments/blank lines, supports export KEY=VALUE, validates key format, trims whitespace, and strips surrounding quotes from values.

Quick Start

Ask your agent to run the bootstrap command to create the env-to-Fly secrets script in your repo: npx skills add agoodway/GoodSkills --skill bootstrap-fly-env-sync

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bootstrap-fly-env-sync
Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-fly-env-sync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.