ci-pr-helper
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.zipInstalls 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.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
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
- Ensure you are on a feature branch (not
main). - Run local checks via the script in
scripts/. - Draft a PR title/body using the template below.
- If
ghis available and authenticated, rungh pr createyourself; 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
ghis ready to use, execute:
gh pr create --title "<title>" --body "<body>"
-
Some environments emit a spurious
Unsupported subcommand 'pr'warning before runninggh; ignore that message and continue with the command. -
If
ghis 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ci-pr-helper (this skill) | 0 | 6mo | Review | Beginner |
| release-skills | 2 | 3mo | Review | Intermediate |
| gen-rust | 1 | 6mo | Review | Advanced |
| dev | 2 | 6mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
release-skills
JimLiu
Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin, and generic projects. Use when user says "release", "发布", "new version", "bump version", "push", "推送".
gen-rust
MoonshotAI
Sync Rust implementation with Python changes (exclude UI/login) by reviewing recent changes, mapping modules, porting logic, and updating tests.
dev
atopile
LLM-focused workflow for working in this repo: compile Zig, run the orchestrated test runner, consume test-report.json/html artifacts, and discover/debug ConfigFlags.
testing
hw-native-sys
Testing guide and pre-commit testing strategy for PTO Runtime. Use when running tests, adding tests, or deciding what to test before committing.
auto_pr
splendidsummer
auto_pr — an agent skill by splendidsummer.
country-atlas-ci-fix
dimbo1324
Use when GitHub Actions, pre-commit, tests, typing, lint, SQL lint, Docker smoke, or Playwright checks fail.