What problem does it solve?
Reviewers receive large agent-generated diffs with no signal on where to focus. This Skill assembles a reviewable PR body from flow-next spec state — R-ID coverage, task evidence commits, decisions, deferred findings, and the git diff — so a human can decide where to look before reading code.
Core Features & Use Cases
- Cognitive-aid PR body: Aggregates spec, tasks, memory, glossary, strategy, and diff data via
flowctl spec export-cognitive-aid into a structured body with TL;DR, R-ID coverage table, risk-ranked review plan, and open items.
- Mermaid structural diagrams: Emits validated mermaid diagrams (or diff-fenced sketches) for cross-module changes, with hard caps and a pre-emission checklist to avoid silent rendering failures.
- Autonomous PR creation: Pushes the branch and runs
gh pr create with a retry loop for GitHub eventual-consistency errors, smart draft/ready defaults, --dry-run preview, and optional tracker (Linear/GitHub/GitLab/Jira) issue linkage.
- Use Case: After finishing a flow-next spec implementation, run the skill to open a draft PR whose body tells reviewers exactly which files must be reviewed, which requirements are evidenced, and which items remain open.
Quick Start
Ask the agent to open a PR for the current flow-next spec, optionally passing flags like --dry-run to preview the body or --base to override the target branch.