railpack

Configure and troubleshoot Railpack builds, with emphasis on RAILPACK_* environment variables, railpack.json overlays, build-plan inspection, local CLI installation and usage, and local BuildKit containers. Use for Railpack provider configuration, custom install/build/start commands, Mise or Apt packages, build or runtime variables and secrets, generated-plan debugging, BUILDKIT_HOST errors, or running Railpack from a release or source checkout.

Install
npx skills add 'https://github.com/railwayapp/railpack/tree/main/.'
Incomplete bundle · no download
main · 21a254fScanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

.mise/tasks/retry

.mise/tasks/retryBrowse 1970 files
View on GitHub
← Back to SKILL.md
#!/usr/bin/env bash#MISE description="Retry a command with exponential backoff"#USAGE flag "--attempts <attempts>" help="Number of attempts" default="3"#USAGE arg "<command>" var=#true help="Command to run" double_dash="automatic" set -euo pipefail attempts="${usage_attempts?}"delay=1 eval "cmd=($usage_command)" if [[ ${#cmd[@]} -eq 0 ]]; then  echo "Error: command required" >&2  exit 1fi for ((i = 1; i <= attempts; i++)); do  if "${cmd[@]}"; then    exit 0  fi   if [[ $i -lt $attempts ]]; then    echo "failed, retrying..." >&2    sleep "$delay"    delay=$((delay * 2))  fidone echo "continued to fail after ${attempts} attempts" >&2exit 1