# Create Scrap Issue

Create a GitHub issue that consolidates passed content into a single scrap issue with...

- Repository: https://github.com/dyoshikawa/rulesync (1577 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add dyoshikawa/rulesync --skill create-scrap-issue -g -a claude-code -y`
Codex: `npx skills add dyoshikawa/rulesync --skill create-scrap-issue -g -a codex -y`
Cursor: `npx skills add dyoshikawa/rulesync --skill create-scrap-issue -g -a cursor -y`
Gemini CLI: `npx skills add dyoshikawa/rulesync --skill create-scrap-issue -g -a gemini-cli -y`

## Description

Create a GitHub issue that consolidates passed content into a single scrap issue with background context and solution details, labeled as maintainer-scrap. Use when the user wants to create a scrap issue, jot down notes as a GitHub issue, or save findings for later.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

Create a single GitHub issue that consolidates all the content provided by the user.

## Requirements

- Write the issue entirely in English.
- Always attach the `maintainer-scrap` label to the issue.
- Additionally, judge whether other labels are appropriate based on the content and attach them as needed. For example:
  - `bug`, if the content describes a defect or unexpected behavior
  - `enhancement`, if the content proposes a new feature or improvement
  - `documentation`, if the content relates to docs updates
  - `refactor`, if the content discusses code restructuring
  - Use `gh label list` to check available labels in the repository before attaching.
- Structure the issue so it is easy to understand even when revisited later:
  - **Background**: Describe the context, motivation, and why this matters.
  - **Details**: Include the specific content, observations, or problems passed by the user.
  - **Solution / Next Steps**: Propose a solution or outline actionable next steps.
- Use a clear, descriptive title that summarizes the scrap topic.
- Use `gh issue create` to create the issue.

## Workflow

1. Review the content provided by the user.
2. Organize and enrich it with background information and proposed solutions.
3. Check available labels with `gh label list` and determine which labels to attach in addition to `maintainer-scrap`.
4. Draft the issue body in the structure above.
5. Create the issue with the appropriate labels using `gh issue create --label maintainer-scrap --label <other-labels>`.

