Skip to content

Expand issue-flow workflow with additional slash commands (#39)#41

Merged
jepegit merged 3 commits into
mainfrom
39-expand-issue-flow-workflow-with-additional-slash-commands
Apr 19, 2026
Merged

Expand issue-flow workflow with additional slash commands (#39)#41
jepegit merged 3 commits into
mainfrom
39-expand-issue-flow-workflow-with-additional-slash-commands

Conversation

@jepegit
Copy link
Copy Markdown
Owner

@jepegit jepegit commented Apr 19, 2026

Summary

Closes #39.

Expands the issue-flow lifecycle from three commands (/issue-init, /issue-start, /issue-close) to eight, and adds a smart dispatcher so users don't have to remember the new surface.

New commands and skills

  • /issue-plan — writes issue<N>_plan.md (Goal / Constraints / Approach / Files to touch / Test strategy / Open questions) and stops for user confirmation before any implementation.
  • /issue-pause — parks work in .issueflows/02-partly-solved-issues/ with a Remaining work note; offers a consolidated WIP-commit + switch-to-default prompt.
  • /issue-cleanup — owns post-merge branch hygiene: detects merged PR, switches to default, git pull --ff-only, git fetch --prune, and git branch -d on merged local branches (single consolidated confirm; never -D).
  • /issue-yolo — all-in-one chain (init → plan → start → close) for small, low-risk issues, with up-front safeguards (no default branch, clean tree, passing tests, single consolidated confirm).
  • /iflowsmart dispatcher. Inspects the focus issue (branch-derived N is authoritative; else single group in 01-; else asks) and dispatches to the right linear-flow command based on which files exist and whether the status file is marked - [x] Done. Warns when the focus issue is archived so /issue-init's guard is expected. Forwards trailing args verbatim. Never auto-dispatches to /issue-pause, /issue-cleanup, or /issue-yolo.
  • Matching Agent Skills shipped for all new commands (issueflow-iflow, issueflow-issue-plan, issueflow-issue-pause, issueflow-issue-cleanup, issueflow-issue-yolo).

Breaking changes (strict migration)

  • /issue-start no longer plans. It reads issue<N>_plan.md and, when missing, offers three options (run /issue-plan now, proceed without a plan and note it in the status file, or abort).
  • /issue-close no longer deletes branches. Step 7 now points users at /issue-cleanup after the PR merges.

Other changes

  • TEMPLATE_MANIFEST grew from 9 to 19 entries; in-tree scaffold regenerated via uv run issue-flow update.
  • docs/cursor-issue-workflow.md rewritten: new 0. /iflow section, updated end-to-end diagram, expanded command and skill tables, per-command sections for every new command.
  • rules/issueflow-rules.mdc gains a Command lifecycle section with a /iflow one-liner at the top.
  • README.md refreshed to match the new scaffold tree, commands, and skills.
  • HISTORY.md [Unreleased] bullet covers the new commands, the two breaking migrations, and the /iflow dispatcher (including the authoritative branch-derived-N rule).

Test plan

  • uv run pytest — 43 passed (10 new tests covering the new commands, the migrated behaviors of /issue-start and /issue-close, the /iflow state machine, and the authoritative branch-derived N rule).
  • uv run issue-flow update regenerates the in-tree .cursor/ scaffold cleanly (19 files refreshed).
  • Manual smoke test of /iflow on a fresh branch, on a branch with only _original.md, after /issue-plan, and after the status file flips to - [x] Done.
  • Manual smoke test of /issue-cleanup after a real PR merges.

Made with Cursor

jepegit added 3 commits April 19, 2026 19:59
- Introduced four new commands: `/issue-plan`, `/issue-pause`, `/issue-cleanup`, and `/issue-yolo` to streamline the issue management process.
- Updated `/issue-close` to delegate post-merge branch hygiene to `/issue-cleanup`.
- Implemented `/iflow` as a smart dispatcher to automatically route to the appropriate command based on the current issue state.
- Enhanced documentation in `HISTORY.md` to reflect these changes and provide clear guidance on the new command functionalities.

This update improves the overall workflow efficiency and user experience in managing issues.
…tions

- Revised the documentation to include new commands: `/issue-plan`, `/issue-pause`, `/issue-cleanup`, and `/issue-yolo`.
- Updated the command sequence for issue management to enhance clarity and usability.
- Added descriptions for the new commands and their functionalities, including the smart dispatcher `/iflow`.
- Improved overall structure and readability of the README to guide users through the issue-flow lifecycle more effectively.
Issue #39 is fully resolved. Move issue39_original.md and
issue39_status.md from .issueflows/01-current-issues to
.issueflows/03-solved-issues per the workflow rule that only the
active focus issue lives in 01-.

Made-with: Cursor
@jepegit jepegit linked an issue Apr 19, 2026 that may be closed by this pull request
6 tasks
@jepegit jepegit merged commit c678717 into main Apr 19, 2026
1 check passed
@jepegit jepegit deleted the 39-expand-issue-flow-workflow-with-additional-slash-commands branch April 19, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand issue-flow workflow with additional slash commands

1 participant