Skip to content
R for the Rest of Us Logo

Ally AI skill

Create a Pull Request

Description

Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes. Activate when the user says "create pr", "make a pr", "open pull request", "submit pr", "pr for these changes", or wants to get their current work into a reviewable PR. Assumes the project uses git, is hosted on GitHub, and has GitHub Actions CI with automated checks (lint, build, tests, etc.). Does NOT merge - stops when CI passes and provides the PR link.

Installation

There are a number of ways to install skills. We made {ally}, an R package that simplifies the process. Learn more

Install {pak}:

install.packages("pak")

Then install {ally}:

pak::pak("rfortherestofus/ally")

You only need to do this once per computer.

After you've installed the {ally} package, choose whether you want to install the skill in this project or in all of your projects, then run the command.

ally::install_skill("https://github.com/posit-dev/skills/blob/main/github/pr-create/SKILL.md")

This puts the skill in locations that all agents can read, inside this project, so anyone you're working with on the project can use it.

ally::install_skill("https://github.com/posit-dev/skills/blob/main/github/pr-create/SKILL.md", scope = "user")

This puts the skill in locations that all agents can read, in your home folder, so every project you work on can use it.

Source Code

Name Last commit message Last commit date
scripts refactor(pr-create): extract reviewer lookup into find-collaborator.sh script 5 months ago
SKILL.md docs: refer to Agent Skills instead of Claude Skills (#92) 2 days ago