Add a Simple “Feature Workflow” to Codex CLI

Resolved 💬 2 comments Opened Aug 20, 2025 by michaelboeding Closed Sep 3, 2025

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_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗