Skip to content

/go-pr

Submit your GO-CAM annotations as a GitHub Pull Request for review.

Usage

/go-pr

No arguments needed — the skill walks you through the entire process.

What It Does

  1. Checks prerequisites — GitHub CLI authentication and annotation files
  2. Shows what will be submitted — lists all annotation files in output/
  3. Creates a submission — prepares and uploads your files
  4. Creates a Pull Request — opens a review request for your colleagues
  5. Celebrates! — gives you the PR link and next steps

Prerequisites

  • GitHub CLI (gh) installed and authenticated
  • Annotation files in output/ (created with /go-try)
  • Repository access — you need push access to the repository

First Time?

If you haven't used GitHub before, /go-pr will walk you through authentication step by step. No git knowledge required.

Scientist-Friendly Language

This skill avoids git jargon entirely:

What happens What we call it
Creating a branch Making a working copy
Committing changes Saving a snapshot
Pushing to remote Uploading to GitHub
Opening a PR Submitting for review
Merging Incorporating your work

Example Session

/go-pr

> Here's what we'll be submitting for review:
>
>   output/gocam-20250101-120000.json — "Human TP53 protein kinase binding"
>
> Does this look right? (yes/no)

yes

> Preparing your files...
> Uploading to GitHub...
> Creating your submission for review...
>
> Your work has been submitted!
>   Pull Request: https://github.com/geneontology/goldsmith/pull/42
>
> Your colleagues can now review your annotations.

Troubleshooting

  • "Not authenticated" — Run gh auth login and follow the prompts
  • "No permission" — Ask your team lead for repository access
  • "No files found" — Create annotations first with /go-try