Iflow Yolo
Agent Buildingiflow-yoloIflow Yolo is an Agent Skill for agent building published in the jepegit/cellpy repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Chain init → plan → start → close yolo for a small, low-risk issue under one consolidated confirm. Stops on any ambiguity.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/jepegit/cellpy/blob/HEAD/.cursor/skills/iflow-yolo/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/iflow-yolo, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
issue-flow — issue yolo (/iflow-yolo)
Follow this skill to blast through a small, low-risk issue in one shot, with no mid-run confirmation checkpoints beyond the single consolidated confirm.
Use only for minor fixes, doc tweaks, and similar low-risk changes. Anything non-trivial should go through the individual commands.
Invoke: type iflow yolo in chat, or /iflow-yolo from the slash menu (iflow-yolo also works).
MODEL & EXECUTION DIRECTIVE
Profile: reasoning — Prioritize deep thinking and careful trade-offs over speed or token economy.
In Cursor: switch to a thinking-capable model before invoking this step (not Auto-only).
Keep scope tight to what this step requires.
Resolve project root (multi-root workspaces)
Before any git, gh, or .issueflows/ path operation in this workflow:
Resolution order (stop when unambiguous):
- Explicit hints in slash input —
root:<path>,repo:<folder-basename>(directory name, e.g.cellpy-core), orrepo:owner/name. - CLI fast path —
issue-flow agent resolve [-C <start>] [--from-file <active-file>] [--json]. Use the returnedproject_rootandrepo; pass-C <project_root>to otherissue-flow agent …subcommands. When the answer came from the workspace registry, the payload setsresolved_via_workspace_default: true. - Branch context — exactly one workspace repo whose branch matches
^\d+-→ that root. - Single scaffold — exactly one
.issueflows/tree visible in the workspace → that root. - Workspace default — an
issueflow-workspace.tomlat the workspace root (created withissue-flow workspace init) may name adefaultmember repo; use it when no scaffold matched above. Tell the user the default was used. - Ambiguous → stop and ask; never guess between sibling repos.
After resolution, treat the result as <project_root> and <owner/repo>:
- Git:
git -C <project_root> …(orissue-flow agent … -C <project_root>for supported ops). - GitHub: always
gh … --repo <owner/repo>— never rely ongh's implicit cwd default. - Paths: all
.issueflows/…paths are under<project_root>.
When .issueflows/04-designs-and-guides/multi-repo-workspaces.md exists, read it for layout and cross-repo guidance.
Preflight (abort on any failure)
-
Refuse on default branch. If the current branch is
main/master/ the detected default, stop and tell the user to create or switch to an issue branch first. Do not silently create one from yolo. -
Refuse with dirty unrelated changes. Run
git status --porcelain. If anything uncommitted is not clearly part of the target issue, ask once; if still unclear, stop. Suggest committing or stashing first. -
Tests must pass up front. Run
uv run pytest(or the repo's documented test command). On any failure, stop before the chain starts. -
Single consolidated confirm. Present the full planned chain explicitly (issue reference, target branch, repo, downstream commands including any
bump/patch/draft/stayflags). Require an explicit yes; any other input aborts. (When/iflow-pickrouted here via the yolo issue label, its combined confirmation already covered this — do not ask twice.)
Chain
Once preflight has passed and the user confirmed:
/iflow-init— capture the issue (or skip if*_original.mdalready exists for the focus issue)./iflow-plan— write a shortissue<N>_plan.md(Goal + Approach + Files to touch + Test strategy). Auto-confirm — the consolidated confirm above covered it. If the scope check reveals the change is not actually small, abort the yolo chain and tell the user to run the commands individually./iflow-start— implement the plan without an additional plan-mode prompt.- Re-run tests.
uv run pytestagain. On failure, stop before commit / push / PR. /iflow-close yolo— run the close flow with theyolotoken (plus forwardedbump/log/nohistory/draft/staytokens). Theyolotoken makes close hands-off: changelog bullet written without a confirm prompt, PR merged viagh pr merge --squash(fall back to--squash --autowhen branch protection or pending checks block it), then default-branch switch +git pull --ff-only.draftconflicts with auto-merge — when passed, skip the merge and say so. Do not chain/iflow-cleanupautomatically — local branch deletion stays a user decision.
Post-run
Report the PR URL, the merge result (merged, or queued via --auto), and the final branch. By default /iflow-close yolo merges the PR and switches back to the default branch with a pull; forwarded stay text leaves the user on the issue branch instead. Remind them that /iflow-cleanup will delete the now-merged local branch when they are ready.
Constraints
- Do not override downstream commands' own constraints (no
-D, no force-push, etc.)./iflow-yolois a chain, not a free pass. - If any downstream step requires a human decision (unrelated changes in
git status, ambiguous version bump, merge conflict, failed test), stop and hand back to the user. - Never run
/iflow-cleanupfrom this skill. Branch deletion always needs the user to see the merged PR first.