Skip to content

Add a GH Issue integration for Ralph#11

Open
aeaston1 wants to merge 4 commits intoiannuttall:mainfrom
aeaston1:main
Open

Add a GH Issue integration for Ralph#11
aeaston1 wants to merge 4 commits intoiannuttall:mainfrom
aeaston1:main

Conversation

@aeaston1
Copy link
Copy Markdown

@aeaston1 aeaston1 commented Jan 16, 2026

Manually describing PRDs can be tedious, especially if you already have your tasks tracked somewhere. This PR includes an integration with Github Issues on the repe directory that you are running ralph from. It lets you select the Issues that you have (multiple if you like) and then it runs a loop through ralph to create PRDs for all of them.

The PRD loop remain the same, so you can choose your desired harness (tested with claude) and tweak the PRD as you like in the usual way.

Tested with a repo of >10 issues, and successfully managed to generate PRDs for them all, albeit with a HITL process.

Future additions could parallelise this process, add more integrations (JIRA etc), and enable ralph to write back to task trackers dynamically, among other things.

Testing improvements:

  • Added a new test script tests/github-import.mjs that checks:

    • Detection of the GitHub CLI (gh)
    • Correct parsing of GitHub issue list output
    • Proper formatting of issues as markdown context
    • Live integration with the public cli/cli repository if gh is installed
  • Updated the test script in package.json to include the new GitHub import test, ensuring it runs alongside existing tests

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant