devops-dx
GitHub/Railway housekeeping for CI env/secret management and DX maintenance.Use when setting or auditing GitHub Actions variables/secrets, syncing Railway env → GitHub, or fixing CI failures due to missing env.
When & Why to Use This Skill
The DevOps DX Helper is a specialized Claude skill designed to automate and streamline the management of environment variables and secrets across GitHub Actions and Railway. It focuses on improving developer experience (DX) by providing efficient tools for auditing, syncing, and troubleshooting CI/CD environment configurations, ensuring seamless and secure deployment pipelines.
Use Cases
- Automated Secret Management: Quickly set or update GitHub Actions secrets and variables using CLI-integrated commands to avoid manual entry errors and save time.
- Environment Synchronization: Seamlessly sync environment variables from Railway services to GitHub repositories to maintain consistency between production and CI environments.
- CI Failure Troubleshooting: Rapidly identify and resolve CI/CD pipeline failures caused by missing environment variables by auditing logs and applying fixes directly through the agent.
- Security and Hygiene Auditing: Audit existing GitHub Actions secrets and variables to ensure compliance with security best practices and maintain clean environment configurations.
| name | devops-dx |
|---|---|
| description | | |
| tags | [devops, github, env, ci] |
| - Bash(gh | *) |
| - Bash(railway | *) |
DevOps DX Helper
Lightweight playbook for CI/Railway env hygiene. Examples use this repo's Beads prefix (bd-); swap for your repo.
Common Tasks
Set GitHub Actions variables (non-secret paths, stub fixtures):
gh variable set CLERK_TEST_JWKS_PATH --body "frontend/e2e-smoke/fixtures/clerk-test-jwks.json"gh variable set CLERK_TEST_PRIVATE_KEY_PATH --body "frontend/e2e-smoke/fixtures/clerk-test-private.pem"
Set GitHub Actions secrets (API keys, tokens):
gh secret set ZAI_API_KEY <<<"…"gh secret set OPENAI_API_KEY <<<"…"
Sync Railway → GitHub secrets (if already stored in Railway):
scripts/sync_env_to_github.sh <environment> [service]- Copies Railway env vars to GitHub repo secrets (keys sanitized for GH).
When CI Fails for Missing Env
- Identify missing var from logs (e.g.,
CLERK_TEST_JWKS_PATH missing). - Decide scope:
- CI-only → set via
gh variable/secret set. - Runtime (Railway) → set in Railway dashboard or
railway variables set.
- CI-only → set via
- Re-run the affected workflow:
gh workflow run CI --ref master.
Notes
- Keep stub/test fixtures in GH Actions vars, not Railway.
- Use Railway for production secrets; keep CI-only secrets separate.
- For multi-repo, reuse this skill and adjust variable names/prefixes per repo.