Skip to content

Export Context

/flow-next:export-context writes a structured review prompt to a markdown file so you can paste it into an external model.

Use it when you want Carmack-level review but prefer ChatGPT Pro, Claude web, Gemini, or another model that does not have a CLI integration with flow-next.

  • You have a paid subscription on an external model and want to use it.
  • The local backends (rp, codex, copilot) are unavailable or rate-limited.
  • You want to compare review verdicts across two models.
  • You want to archive a review prompt for later replay.
Terminal window
/flow-next:export-context <type> [focus areas]
TypeBuilds
plan <spec-id>Plan-review prompt with the spec, R-IDs, and relevant repo context.
implImplementation-review prompt for the current branch with diff and committed evidence.

Free-text focus areas after the type narrow what the reviewer is asked to look at — e.g. focus on security, the auth changes only, migration safety.

The skill uses RepoPrompt’s builder to assemble a context bundle — spec, code, diff — and renders it as a single markdown file you can paste into any web chat.

For impl, the diff range is detected automatically from the current branch against main or master.

The export file contains:

  • A reviewer brief (Carmack-level adversarial; concrete findings; binary verdict).
  • The spec or diff under review.
  • A curated selection of relevant code so the model has enough context.
  • A prompt template that asks for findings in a format flow-next can re-ingest as a receipt.
  • Not a backend. The external model’s response is read by you, not by the skill — there is no round-trip integration.
  • Not a token optimizer. The export is sized for completeness; large repos can produce large files.

After receiving the external review, address findings in the spec or code, then re-export or run a local review:

Terminal window
/flow-next:plan-review <spec-id>
/flow-next:impl-review