agentleFS
MicrosoftKnown publishermicrosoft/vscode/.github/skills/migrate-issues/SKILL.md

migrate-issues

Skill196k starsChanged 17 days agoMITView on GitHub

migrate GitHub issues from one repository to another

Trending

More talk lately.about the whole repository

Dec 2025: 2 mentionsJan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 1 mentionApr 2026: 2 mentionsMay 2026: 4 mentionsJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 3 mentionsOct 2026: 1 mentionNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/vscode repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/vscode

The biggest 5 of 96 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 96

Talked about on Bluesky, Hacker News and GitHub (96 times).

On Bluesky · 48

43 more on Bluesky

On Hacker News · 39

34 more on Hacker News

On GitHub · 9

4 more on GitHub

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this prompt when migrating issues from one GitHub repository to another (e.g., from microsoft/vscode-copilot to microsoft/vscode).

    line 8
  2. Distinctive:

    Create the new issue with this header format:

    line 57
  3. Very specific:

    Issue references like #12345 are REPO-SPECIFIC: If you copy #12345 from the source repo to the target repo, it will incorrectly link to …

    line 97
  4. Distinctive:

    After creating the new issue and all comments:

    line 123
  5. Distinctive:

    Add a comment to the original issue linking to the new issue:

    line 125

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue Migration Prompt

Use this prompt when migrating issues from one GitHub repository to another (e.g., from microsoft/vscode-copilot to microsoft/vscode).

Input Methods

You can specify which issues to migrate using any of these three methods:

Option A: GitHub Search Query URL

Provide a full GitHub issues search URL. All matching issues will be migrated.

https://github.com/microsoft/vscode-copilot/issues?q=is%3Aissue+is%3Aopen+assignee%3Ayoyokrazy

Option B: GitHub Search Query Parameters

Provide search query syntax for a specific repo. All matching issues will be migrated.

repo:microsoft/vscode-copilot is:issue is:open assignee:yoyokrazy

Common query filters:

  • is:issue / is:pr - Filter by type
  • is:open / is:closed - Filter by state
  • assignee:USERNAME - Filter by assignee
  • author:USERNAME - Filter by author
  • label:LABEL - Filter by label
  • milestone:MILESTONE - Filter by milestone

Option C: Specific Issue URL

Provide a direct link to a single issue. Only this issue will be migrated.

https://github.com/microsoft/vscode-copilot/issues/12345

Task

Target Repository: {TARGET_REPO}

Based on the input provided, migrate the issue(s) to the target repository following all requirements below.

Requirements

1. Issue Body Format

Create the new issue with this header format:

_Transferred from {SOURCE_REPO}#{ORIGINAL_ISSUE_NUMBER}_
_Original author: `@{ORIGINAL_AUTHOR}`_

---

{ORIGINAL_ISSUE_BODY}

2. Comment Migration

For each comment on the original issue, add a comment to the new issue:

_`@{COMMENT_AUTHOR}` commented:_

---

{COMMENT_BODY}

3. CRITICAL: Preventing GitHub Pings

ALL @username mentions MUST be wrapped in backticks to prevent GitHub from sending notifications.

✅ Correct: `@username` ❌ Wrong: @username

This applies to:

  • The "Original author" line in the issue body
  • Any @mentions within the issue body content
  • The comment author attribution line
  • Any @mentions within comment content
  • Any quoted content that contains @mentions

4. CRITICAL: Issue/PR Link Reformatting

Issue references like #12345 are REPO-SPECIFIC. If you copy #12345 from the source repo to the target repo, it will incorrectly link to issue 12345 in the target repo instead of the source.

Convert ALL #NUMBER references to full URLs:

✅ Correct: https://github.com/microsoft/vscode-copilot/issues/12345 ✅ Also OK: microsoft/vscode-copilot#12345 ❌ Wrong: #12345 (will link to wrong repo)

This applies to:

  • Issue references in the body (#12345 → full URL)
  • PR references in the body (#12345 → full URL)
  • References in comments
  • References in quoted content
  • References in image alt text or links

Exception: References that are already full URLs should be left unchanged.

5. Metadata Preservation

  • Copy all applicable labels to the new issue
  • Assign the new issue to the same assignees (if they exist in target repo)
  • Preserve the issue title exactly

5. Post-Migration

After creating the new issue and all comments:

  • Add a comment to the original issue linking to the new issue:
    Migrated to {TARGET_REPO}#{NEW_ISSUE_NUMBER}
  • Close the original issue as not_planned

Example Transformation

Original Issue Body (in microsoft/vscode-copilot):

I noticed @johndoe had a similar issue in #9999. cc @janedoe for visibility.

Related to #8888 and microsoft/vscode#12345.

Steps to reproduce:

1. Open VS Code
2. ...

Migrated Issue Body (in microsoft/vscode):

_Transferred from microsoft/vscode-copilot#12345_
_Original author: `@originalauthor`_

---

I noticed `@johndoe` had a similar issue in https://github.com/microsoft/vscode-copilot/issues/9999. cc `@janedoe` for visibility.

Related to https://github.com/microsoft/vscode-copilot/issues/8888 and microsoft/vscode#12345.

Steps to reproduce:

1. Open VS Code
2. ...

Note: The microsoft/vscode#12345 reference was already a cross-repo link, so it stays unchanged.

Checklist Before Migration

  • Confirm input method (query URL, query params, or specific issue URL)
  • Confirm target repository
  • If using query: verify the query returns the expected issues
  • Verify all @mentions are wrapped in backticks
  • Verify all #NUMBER references are converted to full URLs
  • Decide whether to close original issues after migration

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.