flowyeah
Plan-to-PR pipeline for Claude Code. Takes any source — issues, error trackers, plan files, or conversation — and produces tested, reviewed, merged PRs with git worktree isolation.
Install
/plugin marketplace add rodrigomanhaes/flowyeah
/plugin install flowyeah@flowyeah-marketplace
By default, the plugin installs at user scope (available in all projects). To install at a different scope:
/plugin install flowyeah@flowyeah-marketplace --scope project # shared via .claude/settings.json
/plugin install flowyeah@flowyeah-marketplace --scope local # gitignored, personal only
Setup
- Run
flowyeah:build or flowyeah:review in your project — either will interactively create flowyeah.yml on first run
- Commit
flowyeah.yml to your repo
The build pipeline automatically adds .flowyeah/ and tmp/ to .gitignore when creating worktrees.
Prerequisites
- Claude Code 1.0.33+ — verify with
claude --version, update with claude update
- git — version control operations and worktree isolation
- python3 —
flowyeah:review runs bin/review-delta to review only what changed since the previous round. Without it, every round reviews the full diff
- pr-review-toolkit — provides the default code review agents; install with
/plugin install pr-review-toolkit@claude-plugins-official. Without it, setup offers general-purpose instead
Depending on which adapters you use:
| Adapter | Requires |
|---|
| GitHub, GitHub Actions | gh (GitHub CLI) — authenticate with gh auth login |
| GitLab | curl, jq, and a personal access token |
| Linear | A connected Linear MCP server — the adapter calls Linear through MCP tools (see adapters/linear/connection.md) |
| Bugsink | curl, jq, and a Bugsink API token |
| New Relic | curl, jq, and a NerdGraph API key |
Use Cases
Implement an issue from a tracker
Point flowyeah:build at any issue and it drives the full cycle: fetch the issue, generate a plan, create a worktree, implement with TDD, open a PR, wait for CI and code review, and merge.
flowyeah:build from github:#45
flowyeah:build from gitlab:#5588
flowyeah:build from linear:PROJ-123
What happens:
- Fetches the issue and extracts requirements into a task plan
- Creates an isolated git worktree and claims the issue in the tracker
- Picks the first task — brainstorms approach if the task is complex
- Implements via TDD: write a failing test, make it pass, refactor
- Commits, runs the test suite, checks the diff against the success criteria, and pushes
- Opens a PR linking back to the issue, or carrying the criteria when there is no issue
- Runs code review agents in parallel and waits for CI
- If CI or review finds problems, fixes and re-pushes (up to 3 CI attempts before asking for help)
- Runs the
before_merge hook, if configured
- Merges (or stops and asks, depending on your
pull_requests.merge setting)
- Cleans up the worktree
Fix a production error
Feed an error tracker URL or ID directly. The pipeline fetches the error details, stack trace, and context, then follows the same build cycle.
flowyeah:build from bugsink:68b87507-8b6f-4250-9d5c-55a1dc39d9c6
flowyeah:build from https://bugsink.example.com/issues/issue/{id}/
flowyeah:build from newrelic:MXxBUE18...
Fix a CI failure
Point at a failing GitHub Actions run. The pipeline fetches the failure log, identifies the root cause, and builds a fix.
flowyeah:build from ghactions:12345678
flowyeah:build from https://github.com/{owner}/{repo}/actions/runs/{run_id}/job/{job_id}
Investigate an intermittent test failure
When a CI failure looks non-deterministic, --intermittent runs an escalating investigation from a clean main branch — independent of the PR that triggered the failure.
flowyeah:build from ghactions:12345678 --intermittent
What happens:
- Creates a worktree from main (not the PR branch)
- Runs the failing test in isolation
- Reproduces with the CI seed to match test ordering
- Analyzes shared state: database leaks, globals, time dependencies
- Runs framework-specific bisect (
rspec --bisect, pytest, jest)
- If root cause found, switches to the normal TDD fix cycle
- If not reproducible on main, stops and reports — the flakiness may be PR-specific
Build from a plan or conversation
No tracker needed. Describe what you want in the conversation, or point at a local plan file.
flowyeah:build from docs/plans/redesign.md
flowyeah:build
When invoked without from, the pipeline uses the current conversation context as the source.
Work through a multi-task plan without stopping