Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Morrison-Lab/ai-config --skill slide-tag명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | slide-tag |
| description | Move floating Git tag to main. |
| user-invocable | true |
| allowed-tools | ["Bash","Read"] |
Force-move a floating Git tag to a new target commit. Used for repos where
consumers pin to a major-version tag (e.g., v2) that advances with each
release.
v2)origin/main unless user specifies otherwisegit fetch origin main --tags # FETCH
Confirm the tag exists:
git tag -l '<tag>' # should output the tag name
If the tag doesn't exist yet, create it fresh (skip the delete steps):
git tag <tag> <target>
git push origin <tag> # PUSH
Display the before/after so the user can sanity-check:
echo "Current: $(git log --oneline -1 <tag>)"
echo "Target: $(git log --oneline -1 <target>)"
echo "Commits being added:"
git log --oneline <tag>..<target> | head -20
git tag -d <tag>
git tag <tag> <target>
git push origin :refs/tags/<tag> # DELETE_REF
git push origin <tag> # PUSH
Why delete+recreate instead of git push --force? Some GitLab/GitHub
instances have protected-tag rules that block force-push but allow
delete+create. The delete+recreate pattern works universally.
git log --oneline -1 <tag>
Report the new tag position to the user.
User: "slide v2"
→ moves v2 to origin/main
User: "slide v2 to abc123"
→ moves v2 to commit abc123
User: "slide v3 to the release branch"
→ moves v3 to origin/release (or whatever the release branch is)
git push --force origin <tag> without trying delete first"Slide the <x> submodule" is a different operation from this skill —
this skill moves a floating tag (e.g. v2) to a new commit; a submodule
pin is a gitlink entry in the parent repo pointing at a specific commit of a
different repo. Bumping a submodule pin means: fetch the submodule's
upstream, check out its new commit, git add <submodule-path> in the parent
repo, and commit — no tag involved. check-dependency-updates (cdu)'s
"Git submodules" step covers this; use-math-macros covers it specifically
for the d-morrison/macros submodule as part of a broader macro-conversion
pass. Don't reach for slide-tag on a "slide the submodule" request — the
name similarity is coincidental. (Confirmed on ai-config's own session
history: sliding the macros submodule pin in d-morrison/rme#983 and
ucdavis/epi204#361 was done by hand, slide-tag doesn't apply.)