Skip to content

PR Creator Agent #40

@aboo

Description

@aboo

Problem

There is no agent to create a PR. At the moment PR needs to be created manually,

Proposed solution

Right now the final step is commit and we end there. The idea is to have a command called /pull-request and an agent called pull-requester with inputs aligned with the rest of the commands and agents.

  • default branch name should be in the settings with value main
  • create pull request only if the current branch is not default
  • the pr subject should be relevant and short and highlights the most important implementation
  • the pr body must be a consolidation of all the commits reformatted following the commit language
  • The PR body should end with Delivers {ticket-id-1} [{ticket-id-2} {ticket-id-n}]
  • The ticket id can be extracted from the content, the input or the commit in the current branch till the main (default) branch. If the ticket id cannot be extracted then we need to ask the user what ticket id is
  • gh can be used for all the repo management activities and we assume it's already authenticated
  • PR creation should be turned on and off in the workbench config file

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