소스 정보
- 저장소
- tomevault-io/skills-registry
- 최근 소스 활동
- 2026년 5월 11일 15:30
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill git-push명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | git-push |
| description | Push commits to remote with upstream handling Use when this capability is needed. |
| metadata | {"author":"dtsong"} |
Push local commits to remote repository with smart upstream handling.
/git-push # Push to tracking branch
/git-push -u # Push and set upstream (for new branches)
/git-push --force-with-lease # Safe force push for rebased branches
# Get current branch
BRANCH=$(git branch --show-current)
# Prevent pushing to protected branches without confirmation
if [[ "$BRANCH" == "main" || "$BRANCH" == "master" ]]; then
echo "Warning: You're about to push directly to $BRANCH"
# User should confirm
fi
# Check if there are commits to push
if git diff --quiet @{u}..HEAD 2>/dev/null; then
echo "No commits to push. Branch is up to date with remote."
exit 0
fi
# Check if upstream is configured
if ! git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1; then
echo "No upstream configured. Setting upstream to origin/$BRANCH"
NEEDS_UPSTREAM=true
fi
# Fetch to ensure we're comparing with latest
git fetch --quiet
# Check if we're behind
BEHIND=$(git rev-list --count HEAD..@{u} 2>/dev/null || echo "0")
if [ "$BEHIND" -gt 0 ]; then
echo "Remote has $BEHIND commits not in local."
echo "Pull first with: /git-pull"
exit 1
fi
# Standard push with upstream
if [ "$NEEDS_UPSTREAM" = true ]; then
git push -u origin "$BRANCH"
else
git push
fi
# For force push (after rebase)
# git push --force-with-lease
Show what was pushed and provide next steps.
Pushed to origin/feat/dark-mode
Commits pushed:
abc1234 Add theme toggle component
def5678 Wire up theme context
ghi9012 Add dark mode styles
Branch is now synced with remote.
Next steps:
/gh-pr-status # Check if PR exists
/commit-push-pr # Create a PR if needed
Branch feat/new-feature pushed to origin for the first time.
Upstream set: origin/feat/new-feature
Next steps:
/commit-push-pr # Create a pull request
/gh-pr-status # Check PR status
Push rejected! Remote has changes not in local.
Remote is 2 commits ahead:
xyz7890 Someone else's commit
uvw1234 Another commit
Options:
/git-pull --rebase # Rebase your changes on top
/git-pull # Merge remote changes
You're about to force push to feat/shared-branch
This will overwrite remote history!
Only do this if:
- You just rebased and need to update the PR
- No one else is working on this branch
- You understand the implications
To proceed:
git push --force-with-lease
To cancel:
This skill will not force push automatically.
--force for safety| Scenario | Command |
|---|---|
| Normal push | /git-push |
| New branch first push | /git-push -u |
| After rebasing | /git-push --force-with-lease |
| To different remote | Use git push <remote> <branch> |
/commit to create commits before pushing/git-sync to check remote status first/commit-push-pr for full commit-push-PR workflow/gh-pr-status after pushing to check PR statusConverted and distributed by TomeVault — claim your Tome and manage your conversions.