From flow-next
Exports RepoPrompt context from git repos to markdown for external LLM review of plans or implementations. Invoke via /flow-next:export-context plan|impl.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flow-next:flow-next-export-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build RepoPrompt context and export to a markdown file for use with external LLMs (ChatGPT Pro, Claude web, etc.).
Build RepoPrompt context and export to a markdown file for use with external LLMs (ChatGPT Pro, Claude web, etc.).
Use case: When you want Carmack-level review but prefer to use an external model.
CRITICAL: flowctl is BUNDLED — NOT installed globally. which flowctl will fail (expected). Always use:
FLOWCTL="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/flowctl"
$FLOWCTL <command>
Arguments: $ARGUMENTS
Format: <type> <target> [focus areas]
Types:
plan <epic-id> - Export plan review contextimpl - Export implementation review context (current branch)Examples:
/flow-next:export-context plan fn-1 focus on security/flow-next:export-context impl focus on the auth changesFLOWCTL="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/flowctl"
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
Parse arguments to determine if this is a plan or impl export.
For plan export:
$FLOWCTL show <epic-id> --json
$FLOWCTL cat <epic-id>
For impl export:
git branch --show-current
git log main..HEAD --oneline 2>/dev/null || git log master..HEAD --oneline
git diff main..HEAD --name-only 2>/dev/null || git diff master..HEAD --name-only
eval "$($FLOWCTL rp setup-review --repo-root "$REPO_ROOT" --summary "<summary based on type>" --create)"
$FLOWCTL rp select-get --window "$W" --tab "$T"
# Add relevant files
$FLOWCTL rp select-add --window "$W" --tab "$T" <files>
Get builder's handoff:
$FLOWCTL rp prompt-get --window "$W" --tab "$T"
Build combined prompt with review criteria (same as plan-review or impl-review).
Set the prompt:
cat > /tmp/export-prompt.md << 'EOF'
[COMBINED PROMPT WITH REVIEW CRITERIA]
EOF
$FLOWCTL rp prompt-set --window "$W" --tab "$T" --message-file /tmp/export-prompt.md
OUTPUT_FILE=~/Desktop/review-export-$(date +%Y%m%d-%H%M%S).md
$FLOWCTL rp prompt-export --window "$W" --tab "$T" --out "$OUTPUT_FILE"
open "$OUTPUT_FILE"
Exported review context to: $OUTPUT_FILE
The file contains:
- Full file tree with selected files marked
- Code maps (signatures/structure)
- Complete file contents
- Review prompt with Carmack-level criteria
Paste into ChatGPT Pro, Claude web, or your preferred LLM.
After receiving feedback, return here to implement fixes.
This skill is for manual external review only. It does not work with Ralph autonomous mode (no receipts, no status updates).
npx claudepluginhub gmickel/flow-next --plugin flow-nextInvoke external LLMs like OpenAI Codex for code reviews on git diffs with project context from CLAUDE.md and lessons. Use for second opinions with custom focus areas.
Coordinates Carmack-level reviews of Flow epic specs and design docs using RepoPrompt or Codex backends via flowctl. Triggers on /flow-next:plan-review.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.