# PR ruancat repo

> PR ruancat repo is an open-source agent skill for developer tools. Batch-edit cloned ruan-cat repos with local commits, opening PRs only on request. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/common-tools/skills/pr-ruancat-repo
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** pr-ruancat-repo
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill applies one shared change across several locally cloned ruan-cat repositories. Its default route is a local commit on the branch that is already checked out, with no new branch and no pull request. A pull request workflow is used only when the user explicitly asks for one, and then the agent also watches GitHub Actions, Cloudflare Workers and Vercel after the PR is opened.

The workflow scopes the target repositories, drafts a commit message through the git-commit skill, and can generate a Node-based batch script with dry-run and per-repo overrides. When the request is ambiguous, the agent is told to ask a single clarifying question before touching any files.

It expects the repositories to be cloned locally, the GitHub CLI for PR work, and Node.js to run the generated script. The reference files are written in Chinese and the commit conventions it follows are Chinese Conventional Commits with emoji.

## When your agent uses it

> 对已克隆的 ruan-cat 仓库做批量修改。默认只在当前分支做本地 git commit，不新建分支，不开 GitHub PR。只有用户明确要求 PR 时才进入批量 PR，并在开 PR 后跟踪 GitHub Actions、Cloudflare Worker 和 Vercel。意图无法判断时先用 grill-me 提问，不得动手。触发关键词包括“pr-ruancat-repo” “批量改仓库”“本地提交”“批量 PR”“对 ruan-cat 的仓库发 PR”。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/common-tools/skills/pr-ruancat-repo)
- [No network calls found in its scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/common-tools/skills/pr-ruancat-repo)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/common-tools/skills/pr-ruancat-repo)

## Features

- **Default local commit route:** Commits changes on the current branch without switching branches or opening a pull request.
- **Explicit pull request mode:** Runs a batch PR flow only when the user clearly asks for pull requests.
- **Repository scope analysis:** Scans target repositories for matching files and records occurrences and special cases before editing.
- **Generated batch script:** Produces a TypeScript script with dry-run, workdir options and a per-run summary file.
- **CI and deploy tracking:** Checks GitHub Actions, Cloudflare Workers and Vercel results for opened pull requests.
- **Clarification before action:** Asks one question about delivery method when the intent could mean either a commit or a PR.

## Good for

- Apply the same config change to several cloned repositories and commit locally
- Run a dry-run preview of a batch edit across ruan-cat projects
- Open coordinated pull requests across a set of repositories and check their pipelines
- Update the Node version in CI workflow files across multiple repos

## Install

### Claude Code

This skill ships in the `common-tools` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-tools
```

Or copy only this skill to `~/.claude/skills/pr-ruancat-repo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pr-ruancat-repo &&
cp -R "$tmp/ai-plugins/common-tools/skills/pr-ruancat-repo" ~/.claude/skills/pr-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pr-ruancat-repo` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pr-ruancat-repo` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pr-ruancat-repo &&
cp -R "$tmp/ai-plugins/common-tools/skills/pr-ruancat-repo" ~/.agents/skills/pr-ruancat-repo &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pr-ruancat-repo` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pr-ruancat-repo` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pr-ruancat-repo &&
cp -R "$tmp/ai-plugins/common-tools/skills/pr-ruancat-repo" ~/.cursor/skills/pr-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pr-ruancat-repo` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/pr-ruancat-repo
```

Or copy the folder to `~/.gemini/skills/pr-ruancat-repo` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pr-ruancat-repo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pr-ruancat-repo &&
cp -R "$tmp/ai-plugins/common-tools/skills/pr-ruancat-repo" ~/.copilot/skills/pr-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pr-ruancat-repo` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruan-cat/monorepo.git
```

Then copy `monorepo/ai-plugins/common-tools/skills/pr-ruancat-repo` into your agent's skills folder as `pr-ruancat-repo`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Will PR ruancat repo open a pull request by default?

No. The default route is a local commit on the currently checked-out branch. A pull request is created only when the user explicitly asks for one.

### What does PR ruancat repo need to run?

The repositories must be cloned locally. The pull request mode uses the GitHub CLI, and the generated script requires Node.js 18 or newer.

### Which tools does PR ruancat repo watch after opening a PR?

It checks GitHub Actions, Cloudflare Workers and Vercel for each repository that uses them, as documented in that repository.

### How do I install PR ruancat repo in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pr-ruancat-repo to use it in all your projects, or to .claude/skills/pr-ruancat-repo in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.

### Does PR ruancat repo run scripts?

Yes. It runs TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use PR ruancat repo?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to PR ruancat repo?

The closest alternatives to PR ruancat repo are Make PR, Commit push PR, Clone ruancat repo, PR review and Create PR.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Make PR](https://ai-powered.com/skills/make-pr): Make PR is an open-source agent skill for developer tools.
- [Commit push PR](https://ai-powered.com/skills/commit-push-pr-redpanda-data): Commit push PR is an open-source agent skill for developer tools.
- [Clone ruancat repo](https://ai-powered.com/skills/clone-ruancat-repo): Clone ruancat repo is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review-tjmonsi): PR review is an open-source agent skill for developer tools.
- [Create PR](https://ai-powered.com/skills/create-pr): Create PR is an open-source agent skill for developer tools.
- [Review PR](https://ai-powered.com/skills/review-pr-tonyghiani): Review PR is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review is an open-source agent skill for developer tools.
- [Code pull request](https://ai-powered.com/skills/code-pull-request): Code pull request is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/pr-ruancat-repo
