Skip to main content

migrate

Mirror current git project to personal GitHub account with commit author rewrite. Use when user types /migrate.

설치로 이동

소스 정보

저장소
1t1sCooL/claude-skills
최근 소스 활동
2026년 6월 17일 15:04
감지된 SKILL.md 언어
영어
스타
16
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
migrate
description
Mirror current git project to personal GitHub account with commit author rewrite. Use when user types /migrate.
trigger
/migrate
# /migrate — Mirror to Personal GitHub Зеркалирует текущий git-проект в личный GitHub аккаунт, переписывая авторов коммитов под личную идентичность. ## Execution Run immediately from the project root (do NOT ask for confirmation): ```bash bash ~/.claude/skills/migrate/migrate.sh ``` Stream all output to the user. The script: 1. Loads credentials from `~/.claude/secrets.env` 2. Checks if the repo exists under personal account — creates private repo if not 3. Bare-clones the project locally to a temp directory 4. Rewrites ALL commit authors → `Mikhail Alabugin <mmalabugin@gmail.com>` 5. Force-pushes all branches and tags to personal GitHub 6. Prints the final URL and exits cleanly ## Notes - Force-push is intentional — this is a mirror pattern, not a shared branch - Uses `git-filter-repo` if installed (faster), falls back to `git filter-branch` - Token is in `~/.claude/secrets.env` — never print it in output - If the script fails mid-way, temp dir is auto-cleaned by the EXIT trap
GitHub에서 보기