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

Generate GitHub Actions Workflows from a Description

bagwaa @bagwaa · 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
Scan Pending Changes for Security Issues with /security-review

The /security-review command scans your uncommitted changes for injection vectors, auth gaps, hardcoded secrets, and other common vulnerabilities.

bagwaa @bagwaa · 1 hour ago
0
Run Setup Scripts on Every Session with the SessionStart Hook

The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.

bagwaa @bagwaa · 1 hour ago
0
Write Property-Based Tests with fast-check and Claude

Ask Claude to write property-based tests for your functions using fast-check — it identifies the mathematical invariants in your code and generates tests that cover inputs you'd never enumerate by hand.

bagwaa @bagwaa · 2 hours ago