Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Fetch recent maintainer-scrap issues, validate each with web research, then either close the ones that need no action or open a single consolidated pull request that resolves the ones that do
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .claude/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .claude/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issuesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .agents/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .agents/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .cursor/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .cursor/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dyoshikawa/rulesync.git --path .rulesync/skills/resolve-scrap-issues--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .gemini/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .gemini/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issuesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .github/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .github/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .github/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.rulesync/skills/resolve-scrap-issues .opencode/skills/resolve-scrap-issues && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "resolve-scrap-issues" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/resolve-scrap-issues into .opencode/skills/resolve-scrap-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resolve-scrap-issues", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
resolve-scrap-issuesFetch recent maintainer-scrap issues, validate each with web research, then either close the ones that need no action or open a single consolidated pull request that resolves the ones that do
Resolve Scrap Issues is an agent skill from dyoshikawa/rulesync. Fetch recent maintainer-scrap issues, validate each with web research, then either close the ones that need no action or open a single consolidated pull request that resolves the ones that do
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Pull requests. The repository describes itself as: A Utility CLI for AI Coding Agents. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 85bcaf6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghpnpmgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, pnpm and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Resolve Scrap Issues loads about 1.9k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 1,028 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dyoshikawa/rulesync at commit 85bcaf6, republished under its MIT licence (© dyoshikawa). 1,028 words, ~1,870 tokens.
.claude/skills/resolve-scrap-issues/SKILL.md (or your agent's skills folder).Fetch the newest scrap issues (GitHub issues labeled maintainer-scrap), understand each one, validate whether it is still a real and actionable problem using web research and codebase inspection, and then drive each issue to closure: close the issues that need no action, and resolve the actionable ones — bundling them into a single pull request when there is more than one.
This skill extends understand-scrap-issues: Steps 1–3 are the same intake flow, and Steps 4 onward add validation and resolution.
List the most recent open issues that carry the maintainer-scrap label. gh issue list returns issues in creation order (newest first), so limiting to 3 yields the 3 newest:
gh issue list --label maintainer-scrap --state open --limit 3 --json number,title,url,createdAtIf the result is empty, report that there are no open scrap issues and stop.
For each scrap issue returned, read both the body and the discussion. Run these in parallel across the issues where practical:
gh issue view <issue_number>
gh issue view <issue_number> --commentsIf an issue references related pull requests, commits, or files that are needed to understand it, gather that context as well.
For each scrap issue, explain the following based on its content:
Keep each summary concise and focused. Present the issues in the order returned (newest first), with the issue number, title, and URL as a heading for each.
Decide, per issue, whether it still describes a real, actionable problem. Combine three angles:
WebSearch / WebFetch): Verify any claim that depends on external facts — a tool's current file format, config schema, default location, scope support, deprecation, or recent behavior change. Prefer primary sources (official docs, release notes, source code) over blog posts, and cross-check non-trivial claims against at least one primary source. Capture exact URLs and version numbers; they will be cited. Run independent searches in parallel.CLAUDE.md, .claude/rules/**, and docs/** (for example, the feature-change and frontmatter conventions).Classify each issue into exactly one bucket:
Default to action. Leave an issue open only in two narrow cases: the facts the fix depends on cannot be established from any primary source or the code, or the fix would do real harm (edit .github/** or the release pipeline, add a new runtime dependency, contradict an explicit maintainer decision in the thread, or delete or overwrite user files outside the outputs rulesync already manages). In those cases, leave the issue open, report the missing fact or harm, and exclude it from both Step 5 and Step 6.
For every issue classified as No action needed, post an explanatory comment and close it. The comment must state the reason and cite the evidence (inline links to primary sources, file paths, or related issue/PR numbers) so the decision is auditable. Write the comment in English.
gh issue close <issue_number> --comment "<reason with evidence>"Do not close an issue without leaving this reasoning comment.
If no issue is Action needed, skip to Step 7.
For all actionable issues, decide the concrete edits, grounded in the Step 4 findings. Follow .claude/rules/feature-change-guidelines.md where applicable (e.g., rules-processor.ts conventions, frontmatter precedence, gitignore.ts, scope support, README/docs sync, and preserving the Tool × Feature happy-path tests).
Create one branch for the whole batch. If the current branch is main or master, create a descriptive branch (e.g., resolve-scrap-issues-<short-topic>); otherwise reuse the current working branch.
Make the edits for every actionable issue. When several issues touch the same area, resolve them together coherently rather than with conflicting patches.
Run the project checks and fix anything they surface before committing:
pnpm cicheckIf the change affects generated config files (commands, rules, gitignore, etc.), regenerate them as the relevant docs/rules instruct (for example, pnpm dev gitignore) and keep README.md and docs/** in sync with the implemented behavior.
Stage and commit with a clear message, then push:
git add .
git commit -m "<message>"
git push -u origin <branch-name>Open a single pull request that resolves all actionable issues in the batch. The body must include a Closes #<n> line for every issue it fixes so they auto-close on merge:
gh pr create --title "<title>" --body "<description>"The PR description should include:
Closes #<issue_number> lines for every actionable issue (one consolidated PR even when there are multiple issues).pnpm cicheck.If a PR already exists for the branch, update it instead of creating a duplicate (use gh api repos/<owner>/<repo>/pulls/<pr-number> -X PATCH to avoid GraphQL deprecation warnings).
Summarize, per issue:
All issue comments, PR title, and PR body must be written in English regardless of the conversation language. Write the final report to the user in the language of the current conversation.
© dyoshikawa, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .rulesync/skills/resolve-scrap-issues of dyoshikawa/rulesync.
Open the folder on GitHubat commit 85bcaf6
Resolve Scrap Issues next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Resolve Scrap Issues this skilldyoshikawa/rulesync | 1.5k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Understand Diff AnalysisEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| PR Design DocOpenHands/OpenHands | 90k | — | ~2.4k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
dyoshikawa/rulesync
Maps rulesync feature implementations to upstream coding-agent documentation.
dyoshikawa/rulesync
Babysit a Dependabot dependency-bump PR all the way to merge: verify the author is the genuine Dependabot bot, diagnose and resolve any CI failure (excluding or fixing a breaking bump when needed)…
dyoshikawa/rulesync
Commit current changes, push to remote, and create or update a pull request.
dyoshikawa/rulesync
Manages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync.
dyoshikawa/rulesync
Drive a pull request to a clean state and merge it: run the review-pr skill, fix every mid-or-above finding, and repeat until no mid-or-above findings remain, then merge.
dyoshikawa/rulesync
Cut a release end to end: use the draft-release skill to open the release PR and draft GitHub release, wait for CI to turn green, run the merge-pr skill to merge the release PR, then update the…
Categories
Fetch recent maintainer-scrap issues, validate each with web research, then either close the ones that need no action or open a single consolidated pull request that resolves the ones that do. Resolve Scrap Issues is an agent skill from dyoshikawa/rulesync.
Resolve Scrap Issues fits situations like: tasks that involve Pull requests.
Run `npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a claude-code`. Or copy the skill folder (.rulesync/skills/resolve-scrap-issues in dyoshikawa/rulesync) into .claude/skills/resolve-scrap-issues in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a codex`. Or copy the skill folder (.rulesync/skills/resolve-scrap-issues in dyoshikawa/rulesync) into .agents/skills/resolve-scrap-issues in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resolve-scrap-issues, .gemini/skills/resolve-scrap-issues, .github/skills/resolve-scrap-issues and .opencode/skills/resolve-scrap-issues in your project.
Going by SKILL.md and its folder, Resolve Scrap Issues needs the command-line tools its instructions call (gh, pnpm and git).
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Resolve Scrap Issues is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Resolve Scrap Issues: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dyoshikawa (a GitHub user) maintains it in dyoshikawa/rulesync, which has 1,507 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 8, 2026.
Source: dyoshikawa/rulesync on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.