Agent skill · Code Review & Quality

porting-another-repository

Plan how to port a feature, configuration, or implementation from this repository into another repository. Analyzes the source feature here and the target repo's conventions, then writes a multi-file porting plan (overview, source analysis, target analysis, plan, diff) to tmp/porting-another-repository-{YYYYMMDD-HHmm}/*.md for the user to review and apply manually.

dyoshikawa1,265★ · +16/wk · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add dyoshikawa/rulesync --skill porting-another-repository --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: .rulesync/skills/porting-another-repository/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,285 · +20 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

arguments = the user's request Parse `arguments` as: - `target_repo`: the repository to port INTO, in `owner/repo` form, a URL, or a local path - `scope`: what to port from THIS repository (a feature name, directory, file, or rough description) If `target_repo` is not provided, ask the user which repository to port into. If `scope` is not provided, ask the user what part of this repository they want to port. The direction is fixed: the **source** is this repository, the **target** is `target_repo`. This skill never modifies the target repository directly — it only produces a porting plan on disk for the user to apply manually. ## Step 0: Prepare the Output Directory Compute a single timestamp once and reuse it for every file: ```bash ts="$(date +%Y%m%d-%H%M)" out="tmp/porting-another-repository-${ts}" mkdir -p "${out}" ``` All artifacts in this run go under `${out}/`. Do not recompute the timestamp per file — every file must share the same directory. ## Step 1: Analyze the Source (This Repository) Understand exactly what is being ported. Prefer targeted symbol and search tools over reading whole files. Identify, for the requested `scope`: - The entry points and the files that imple

What's inside
Steps it walks through
  1. Step 0: Prepare the Output Directory
  2. Step 1: Analyze the Source (This Repository)
  3. Step 2: Analyze the Target Repository
  4. Step 3: Produce the Porting Plan
  5. Step 4: Produce Concrete Diffs
  6. Step 5: Write the Overview and Report
Commands it runs
mkdir -p "${out}"
More from rulesync
All skills →
About this skill
What does the porting-another-repository skill do?

Plan how to port a feature, configuration, or implementation from this repository into another repository. Analyzes the source feature here and the target repo's conventions, then writes a multi-file porting plan (overview, source analysis, target analysis, plan, diff) to tmp/porting-another-repository-{YYYYMMDD-HHmm}/*.md for the user to review and apply manually.

How do I install it?

Run `npx skills add dyoshikawa/rulesync --skill porting-another-repository --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dyoshikawa/rulesync, a repository with 1,285 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going