Skip to content

amp - GitHub CLI extension for PR approval/merge/pull workflow #27

@chicks-net

Description

@chicks-net

Project Idea

Create a GitHub CLI extension called amp that streamlines the PR review workflow by providing an interactive interface to approve, merge, and pull PRs.

Problem Statement

Reviewing and merging PRs involves checking multiple things:

  • What PRs are available?
  • What do the CI/CD checks show?
  • Are the changes safe to merge?

Currently this requires multiple gh commands or browser visits. Theres no single streamlined workflow that combines listing, viewing status, and taking action.

Proposed Solution

Build a gh extension that:

  • Lists available PRs (configurable filters: repo, author, labels, etc.)
  • Shows GitHub Actions status using gh observer or similar
  • Provides interactive selection (checkboxes/fzf-style)
  • Prompts for approve/merge/pull decisions
  • Handles the full workflow: approve → merge → pull locally

Technical Considerations

  • Extension Type: gh CLI extension (gh-amp)
  • Language: Bash should be enough for this application.
  • UI: Interactive TUI with bubbletea or similar
  • Status Checks: Integrate with gh run list / gh run view or use gh observe pattern
  • Concurrency: Support selecting multiple PRs for batch operations

Key Features

  1. gh amp status - Show CI status for selected PR(s)
  2. gh amp review - Interactive workflow: select → view status → approve/merge/pull

Deliverables

  • Installable gh extension (gh extension install fini-net/gh-amp)
  • Interactive TUI for PR management
  • Integration with GitHub Actions status
  • Configuration for default workflows and preferences
  • Documentation with examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions