Skip to content

Add a Simple “Feature Workflow” to Codex CLI #2531

@michaelboeding

Description

@michaelboeding

What feature would you like to see?

Feature Request: Add a Simple “Feature Workflow” to Codex CLI

Summary

Introduce a small set of commands that handle the most common Git workflow around AI-assisted edits:
start a feature → work → open PR → finish/merge — without leaving the CLI.


Why

Codex CLI already handles local edits well, but users still have to drop down into git or provider CLIs to:

  • create a feature branch,
  • push it
  • open a PR
  • merge it safely once CI passes

That glue work is repetitive and inconsistent. A built-in workflow would streamline this and enforce best practices.


Proposed UX

  • codex feature start <name>

    • Creates and checks out feature/<slug> from the base branch.
    • Prompts interactively for base branch, issue key, or other metadata if not provided.
  • codex feature pr

    • Pushes the branch and opens a PR.
    • Prompts for title, reviewers, labels if not passed as flags.
  • codex feature finish

    • Safely merges into base only if CI checks and approvals are green.
    • Offers option to delete the branch.
    • Prompts for merge method (squash|merge|rebase) if not configured.
  • codex feature status

    • Shows branch info, linked PR, and CI state.

Are you interested in implementing this feature?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions