Skip to content
Back to skills

Ci Pr Helper

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
toolspythonrustgobashtestinggit

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill ci-pr-helper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci Pr Helper?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ci Pr Helper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-ci-pr-helper/badge)](https://www.skillsdirectory.com/skills/david-li0406-ci-pr-helper)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ci-pr-helper
description: 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.
---

# 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:

```bash
./.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:

```bash
gh auth status
```

When ready:

- If `gh` is ready to use, execute:

```bash
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.

Files in this skill

  • SKILL.md1.7 KB
  • scripts/run_ci_checks.sh639 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…