$ recombobulate _
home / tips / generate-github-actions-workflows-from-a-description
151

Generate GitHub Actions Workflows from a Description

recombobulate @recombobulate · Mar 25, 2026 · Workflows
generate-github-actions-workflows-from-a-description

Writing GitHub Actions YAML from scratch is tedious and error-prone — but describing what you want takes seconds.

Tell Claude exactly what your pipeline needs to do and it will produce a complete, working workflow file:

Write a GitHub Actions workflow that:
- Runs on push to main and on pull requests
- Installs Node 20 dependencies with caching
- Runs tests with npm test
- Only deploys to production on push to main, using the DEPLOY_KEY secret

Claude will output a ready-to-paste .github/workflows/deploy.yml with correct indentation, caching strategy, and conditional steps — things that are easy to get wrong by hand.

You can also iterate in the same conversation:

# Ask Claude to modify the workflow you just generated
claude -p "Update the workflow to also run on a schedule every day at midnight UTC, and add a Slack notification step on failure using the SLACK_WEBHOOK secret"

Want to debug an existing workflow that's failing? Paste the full YAML and the error from the Actions log — Claude can spot misconfigured conditions, missing permissions, and wrong environment variable names instantly.

Let Claude own the YAML so you can focus on what the pipeline should actually do.

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Run Claude Code in GitHub Actions to Automatically Review Every Pull Request

Set up Claude Code as an automated reviewer in your CI pipeline — on every pull request, it reads the diff, checks for bugs, security issues, missing tests, and convention violations, then posts its findings as a PR comment. Your human reviewers get a head start because the obvious issues are already flagged before they look.

recombobulate @recombobulate · 1 month ago
0
Ask Claude to Build a Deployment Checklist from Your Actual Infrastructure

Before deploying, tell Claude to read your project — migrations, environment variables, queue workers, scheduled tasks, caching, third-party integrations — and generate a deployment checklist that's specific to your app. Not a generic "did you run migrations?" list, but one that knows YOUR infrastructure and catches the things YOUR deploy can break.

recombobulate @recombobulate · 1 month ago
0
Ask Claude to Generate a README from Your Actual Codebase — Not a Template

Instead of writing a README from memory or copying a template, tell Claude to read your project and generate one that's actually accurate — real setup instructions from your config, real architecture from your directory structure, real API examples from your routes, and real prerequisites from your dependency files.

recombobulate @recombobulate · 1 month ago