Skip to content

Branch-per-task with optional PR creation #9

Closed

Description

@dominicnunez

Summary

sfk run --branch-per-task
sfk run --branch-per-task --create-pr

Each PRD task gets its own branch. Optionally create PRs via gh.

Why

Working directly on main is fine for solo dev but dangerous for teams or when you want to review before merging. Branch-per-task gives you a safety net.

Behavior

  • --branch-per-task: creates sfk/<task-slug> branch per task, commits there
  • --create-pr: pushes branch, creates PR with task as title via gh pr create
  • --base-branch: specify base (default: current branch)
  • After task: return to base branch for next task
  • Without flags: current behavior (commit to current branch)

Activity

  1. dominicnunez commented on Feb 21, 2026

    @dominicnunez
    OwnerAuthor

    Closed as duplicate of #24 - Worktree-based parallel execution (Phase 3) addresses this feature. Worktrees provide isolated branches per task without needing separate PR creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions