Agent skill

Resolve Scrap Issues

by dyoshikawa in 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

MITAuto-check passedDevelopment

Install Resolve Scrap Issues

skills CLI
$ npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dyoshikawa/rulesync resolve-scrap-issues --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-src

Use ~/.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/

Facts

Skill name
resolve-scrap-issues
GitHub stars
1.5k
Token cost
~1.9k tokens
SKILL.md length
1,028 words
Files
1
Skills in repo
40
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 7 steps: Fetch the Latest Scrap Issues → Gather Each Issue's Content → Understand and Summarize → …
  • Tasks that involve Pull requests
  • SKILL.md covers Step 1: Fetch the Latest Scrap…, Step 2: Gather Each Issue's…, Step 3: Understand and Summarize and Step 4: Validate Each Issue, plus 3 more sections
  • Calls gh, pnpm and git

What it does

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.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/resolve-scrap-issues”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Fetch the Latest Scrap Issues
  2. Gather Each Issue's Content
  3. Understand and Summarize
  4. Validate Each Issue
  5. Close the Issues That Need No Action
  6. Resolve the Issues That Need Action
  7. Report Result

What it can do on your machine

Read from SKILL.md and the folder at commit 85bcaf6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • pnpm
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    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.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

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.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from dyoshikawa/rulesync at commit 85bcaf6, republished under its MIT licence (© dyoshikawa). 1,028 words, ~1,870 tokens.

Download SKILL.mdSave it as .claude/skills/resolve-scrap-issues/SKILL.md (or your agent's skills folder).
name
resolve-scrap-issues
description
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
targets
*

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.

Step 1: Fetch the Latest Scrap Issues

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:

bash
gh issue list --label maintainer-scrap --state open --limit 3 --json number,title,url,createdAt

If the result is empty, report that there are no open scrap issues and stop.

Step 2: Gather Each Issue's Content

For each scrap issue returned, read both the body and the discussion. Run these in parallel across the issues where practical:

bash
gh issue view <issue_number>
gh issue view <issue_number> --comments

If an issue references related pull requests, commits, or files that are needed to understand it, gather that context as well.

Step 3: Understand and Summarize

For each scrap issue, explain the following based on its content:

  1. Topic: A one-line summary of what the scrap note is about.
  2. Background: The context, motivation, or problem the note captures and why it matters.
  3. Details / Findings: The specific observations, problems, or content recorded in the note.
  4. Proposed Solution / Next Steps: Any solution or actionable next step mentioned. If none is recorded, state explicitly that it is still undecided.

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.

Step 4: Validate Each Issue

Decide, per issue, whether it still describes a real, actionable problem. Combine three angles:

  • Web research (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.
  • Codebase inspection: Check whether the issue is already resolved, partially handled, or contradicted by the current code. Prefer targeted symbol and search tools over reading whole files. Apply the project rules in CLAUDE.md, .claude/rules/**, and docs/** (for example, the feature-change and frontmatter conventions).
  • Issue discussion: Honor any maintainer decision already recorded in the comments (e.g., "won't do", "superseded by #N").

Classify each issue into exactly one bucket:

  • No action needed — invalid, obsolete, already fixed, out of scope, a duplicate, or explicitly declined. Record the concrete reason and the evidence (URLs / file references / linked issue) behind it.
  • Action needed — a real problem, gap, or worthwhile proposal that still applies, with a concrete fix in mind. An open design point is not a blocker: pick the option that best fits the project's existing conventions and the tool's documented behavior, and state the choice in the PR body.

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.

Show full SKILL.md (427 more words)Show less

Step 5: Close the Issues That Need No Action

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.

bash
gh issue close <issue_number> --comment "<reason with evidence>"

Do not close an issue without leaving this reasoning comment.

Step 6: Resolve the Issues That Need Action

If no issue is Action needed, skip to Step 7.

6a. Plan the change

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).

6b. Branch

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.

6c. Implement

Make the edits for every actionable issue. When several issues touch the same area, resolve them together coherently rather than with conflicting patches.

6d. Verify

Run the project checks and fix anything they surface before committing:

bash
pnpm cicheck

If 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.

6e. Commit, push, and open ONE consolidated PR

Stage and commit with a clear message, then push:

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

bash
gh pr create --title "<title>" --body "<description>"

The PR description should include:

  • A summary of the changes, grouped by the issue each part resolves.
  • Closes #<issue_number> lines for every actionable issue (one consolidated PR even when there are multiple issues).
  • The validation evidence (key research links) that justified the change.
  • A test plan / the result of 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).

Step 7: Report Result

Summarize, per issue:

  • Closed (no action): issue number, title, and the reason it was closed.
  • Resolved (PR): issue number, title, and the single PR URL that closes it.
  • Left open (inconclusive): issue number, title, and the missing fact or harm that blocked it.

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

Files

Just SKILL.md in .rulesync/skills/resolve-scrap-issues of dyoshikawa/rulesync.

Open the folder on GitHubat commit 85bcaf6

Compare with similar skills

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.

Resolve Scrap Issues compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Resolve Scrap Issues this skilldyoshikawa/rulesync1.5k—~1.9kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • 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.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    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.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    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.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    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…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from dyoshikawa/rulesync

All 40 skills in this repo
  • Rulesync Feature Research

    dyoshikawa/rulesync

    Maps rulesync feature implementations to upstream coding-agent documentation.

    1.5k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Babysit Dependabot PR

    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)…

    1.5k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Commit Push PR

    dyoshikawa/rulesync

    Commit current changes, push to remote, and create or update a pull request.

    1.5k GitHub stars~458 tokensUpdated today
    Auto-check passed
  • Git Worktree Runner

    dyoshikawa/rulesync

    Manages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync.

    1.5k GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • Goal PR

    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.

    1.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Goal Release

    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…

    1.5k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Resolve Scrap Issues

What does Resolve Scrap Issues do?

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.

When should I use Resolve Scrap Issues?

Resolve Scrap Issues fits situations like: tasks that involve Pull requests.

How do I install Resolve Scrap Issues in Claude Code?

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.

How do I install Resolve Scrap Issues in Codex?

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.

Can I use Resolve Scrap Issues in Cursor, Gemini CLI or GitHub Copilot?

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.

What does Resolve Scrap Issues need to run?

Going by SKILL.md and its folder, Resolve Scrap Issues needs the command-line tools its instructions call (gh, pnpm and git).

Does Resolve Scrap Issues access the network?

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.

Is Resolve Scrap Issues safe to install?

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.

What licence does Resolve Scrap Issues use?

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.

How many tokens does Resolve Scrap Issues use?

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.

What are the alternatives to Resolve Scrap Issues?

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.

Who maintains Resolve Scrap Issues?

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.