wutongyuonce/repomirror/repo-mirror-config-skill

Claude Code and agent skill by wutongyuonce/repomirror

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Create, explain, review, or repair RepoMirror schemaVersion 3 import JSON. Use when a user supplies GitHub repository or directory links, wants to restore or move a configuration after local folders changed, asks why an import failed, or needs an importable configuration checked against current path and source rules.

Install

npx vskill@latest install wutongyuonce/repomirror/repo-mirror-config-skill

SKILL.md

RepoMirror Configuration

Create only schemaVersion: 3 JSON. Read references/schema.md before generating, modifying, or reviewing a configuration. RepoMirror rejects version-2 files.

Workflow

  1. Ask only for unknown essentials: one or more root directory paths, folder group paths, GitHub links, optional destination names, and mirror preference. For an ambiguous tree or blob URL whose branch may contain /, ask for the full branch name instead of guessing.
  2. Give every Root Directory a unique id and an absolute path. A moved or missing local root is valid when its existing ancestors are accessible directories. When repairing an existing configuration, preserve its saved path unless the user provides a new location; do not guess where a folder moved. Optional name is a display label.
  3. Convert each GitHub URL into exactly one Sync Item with that item's rootId. Accept only HTTPS github.com repository, tree/<branch>/<path>, or blob/<branch>/<path> directory URLs without credentials, ports, query strings, or fragments. Normalize a repository clone URL ending in .git to a plain repository sourceUrl. A repository URL uses null for branch and sourcePath; a directory URL sets both fields to the exact branch and remaining directory path. A file path may pass configuration validation but fails at preview.
  4. Represent folder groups as { rootId, path } objects. Include every ancestor of a nested path (community/tools also needs community). Use folderGroup: "" only for a root-level Sync Item.
  5. Generate unique IDs for new roots and items. Preserve valid existing IDs and synchronization history when repairing a configuration. For new items, set lastStatus to not_synced and the three last* fields to null unless the user provides real synchronization state.
  6. Validate the finished JSON against the checklist below. Return JSON in a fenced json block, followed by only necessary notes.

Final Checklist

  • Use the exact top-level fields from the reference; do not add comments or unknown fields.
  • Set schemaVersion to 3.
  • Keep every root path absolute. One root must not be inside another, including after resolving any existing path ancestors. A missing root alone is not an import error.
  • Keep folder group paths unique per root, non-empty, relative, and normalized: no leading/trailing slash, repeated slash, backslash, . or .. segment.
  • Keep every id unique across the entire configuration and every final <folderGroup>/<destinationName> path unique within its root.
  • Require each item rootId to match a Root Directory, and each non-empty folderGroup to match a Folder Group under that root.
  • Require repoUrl to match its sourceUrl repository.
  • Use HTTPS github.com URLs without credentials, custom ports, fragments, or query strings.
  • For a directory link, require branch and sourcePath to exactly match the URL.
  • Do not claim a configuration is importable when any check is uncertain; explain the failing field and request the smallest missing detail.

Safety

Explain that importing or adding a link changes only application configuration; it does not fetch the Source, create a missing local folder, or synchronize files. Confirmed sync creates missing folders. If a Root Directory was already moved in Finder and its old path is missing, direct the user to “重新关联现有文件夹” before syncing so RepoMirror does not recreate the old path. Warn that mirror: true permits RepoMirror to delete ordinary destination files absent from the Source after preview confirmation.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
78
Repository forks
7
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Sep 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wutongyuonce/repomirror/repo-mirror-config-skill/badge)](https://verified-skill.com/skills/wutongyuonce/repomirror/repo-mirror-config-skill)

Something wrong with this skill or its page? Tell us.