CI

Executes local CI checks and creates PRs with standard summaries.

Install

mkdir -p .claude/skills/ci-pr-helper && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13077" && unzip -o skill.zip -d .claude/skills/ci-pr-helper && rm skill.zip

Installs to .claude/skills/ci-pr-helper

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Run local test/style checks and open GitHub PRs for lance-context. Use when asked to run CI-equivalent checks (uv pytest, ruff/pyright, cargo fmt/clippy/test) and then create a PR with a proper title/body.
205 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Ensure the user is on a feature branch
  • Run local test and style checks via a script
  • Draft a PR title and body using a template
  • Create a GitHub PR if `gh` is available and authenticated
  • Surface the exact `gh pr create` command for manual execution
  • Install missing tools like `uv` or `cargo` if needed

How it works

The skill runs local CI checks, drafts a PR title and body, and then attempts to create a GitHub PR using the `gh` CLI tool.

Inputs & outputs

You give it
A request to run CI-equivalent checks and open a GitHub PR
You get back
Results of local checks, a drafted PR title/body, and a GitHub PR created or the command to create it

When to use ci-pr-helper

  • Run local CI checks
  • Create pull request
  • Format and lint code

About this skill

CI PR Helper

Overview

Run project checks locally, then prepare and open a PR with a clear title and summary.

Workflow

  1. Ensure you are on a feature branch (not main).
  2. Run local checks via the script in scripts/.
  3. Draft a PR title/body using the template below.
  4. If gh is available and authenticated, run gh pr create yourself; otherwise, surface the exact command for the user to execute manually.

Local checks

Run:

./.codex/skills/ci-pr-helper/scripts/run_ci_checks.sh

If it fails due to missing tools, install uv, cargo, or Python deps, then rerun.

PR creation

Draft a conventional title (e.g., feat:/fix:/ci:) and use:

## Summary
- ...

## Testing
- uv run pytest
- cargo test --manifest-path rust/lance-context/Cargo.toml
- cargo fmt --manifest-path rust/lance-context/Cargo.toml -- --check
- cargo clippy --manifest-path rust/lance-context/Cargo.toml --all-targets -- -D warnings
- ruff format --check python/
- ruff check python/
- pyright

If you need to check auth status, you may still run:

gh auth status

When ready:

  • If gh is ready to use, execute:
gh pr create --title "<title>" --body "<body>"
  • Some environments emit a spurious Unsupported subcommand 'pr' warning before running gh; ignore that message and continue with the command.

  • If gh is missing or fails, print the command instead so the user can run it locally.

When not to use it

  • When on the `main` branch
  • When skipping local checks before creating a PR
  • When `gh` is not available and the user expects automatic PR creation

Prerequisites

uvcargoPython dependenciesgh (GitHub CLI)

Limitations

  • Ensure you are on a feature branch (not `main`).
  • If `gh` is missing or fails, print the command instead so the user can run it locally.
  • If it fails due to missing tools, install `uv`, `cargo`, or Python deps, then rerun.

How it compares

This workflow automates local CI checks and PR creation with a structured title/body template, simplify the process compared to manual execution and drafting.

Compared to similar skills

ci-pr-helper side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ci-pr-helper (this skill)06moReviewBeginner
release-skills23moReviewIntermediate
gen-rust16moReviewAdvanced
dev26moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry