Pr ready

From flowexec/flow · View interactive version

Pr ready is an AI agent skill from the GitHub repository flowexec/flow. Run a pre-PR readiness check and report READY or NOT READY.

How to use this skill

Skill file

Check whether the current branch is ready to open a PR. Work through each item and report PASS or FAIL:

  1. No focus markers — grep -rn "FDescribe\|FIt\|FEntry\|FContext\|FWhen" --include="*.go" .

Any match is a FAIL — these silently exclude all other tests in the suite.

  1. Validation passes — run the validate executable via mcp__flow__execute (ref: validate).

All steps must pass. Use mcp__flow__run_command for the git/grep checks below so they land

in flow's history alongside it.

  1. No debug artifacts — grep for fmt.Println, spew.Dump in cmd/, internal/, pkg/.

Flag anything that looks like leftover debug output (not legitimate logging).

  1. Commit message format — git log main..HEAD --oneline.

Each commit should be: imperative, lowercase, ≤72 chars (fix: ..., feat: ..., refactor: ...).

  1. No direct edits to generated files — git diff main...HEAD --name-only should not show changes to types/**/*.go, docs/cli/*.md, or docs/types/*.md in isolation (without a corresponding schema change).

After all checks: report overall READY or NOT READY with a concise summary of what needs fixing. Do not open a PR automatically — let the user decide.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.