一键导入
gh-push
Push local commits to remote. Use when need to push commits to remote. Triggers on "推送", "push", "gh-push", "/gh-push", "推上去".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push local commits to remote. Use when need to push commits to remote. Triggers on "推送", "push", "gh-push", "/gh-push", "推上去".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Comprehensive health check of Claude Code skill ecosystem — cross-check registry.yaml, disk, symlinks, INDEX.md, and frontmatter validation. Use after skill restructuring or periodically.
Audit Claude Code settings.json for security vulnerabilities — detect allow-bypasses-deny, missing sensitive file denies, and overly broad permissions. Use after any settings.json change.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session.
Use when installing packages, adding dependencies, or running package manager commands. Triggers on npm install, npm add, package installation, dependency management.
| name | gh-push |
| description | Push local commits to remote. Use when need to push commits to remote. Triggers on "推送", "push", "gh-push", "/gh-push", "推上去". |
| allowed-tools | Bash, Read |
| version | 1.0.0 |
| scope | public |
| evolution | {"enabled":true,"version":"1.0.0","stability":"stable","auto_evolve":"patch","created":"2026-02-12T00:00:00.000Z","updated":"2026-02-12T00:00:00.000Z","history":[{"version":"1.0.0","date":"2026-02-12","note":"Split from gh-commit-and-push"}]} |
Push local commits to the remote repository.
upstream:
- skill: gh-commit
receives: Committed but unpushed commits
downstream:
- output: git pushed to remote
produces: Remote branch updated
Confirm there are unpushed commits
git status
git log --oneline @{upstream}..HEAD 2>/dev/null || echo "No upstream set"
Check current branch
git branch --show-current
Switch gh auth to the correct account
Determine the required account based on directory:
| Path | GH Account |
|---|---|
~/work/ | pdyei |
~/personal/, ~/site/ | panda850819 |
# Check current active account
gh auth status 2>&1 | grep "Active account: true" -B2 | head -1
# If not the expected account, switch
gh auth switch --user <expected-account>
Pushing as [account]Confirm remote status
git fetch --dry-run 2>&1
Push to remote
git push
If this is a new branch (no upstream):
git push -u origin <branch-name>
| Situation | Action |
|---|---|
| On main/master branch | Ask user to confirm |
| Remote has new commits | Prompt to run git pull |
| git push failed | Display error, prompt for manual handling |
| No unpushed commits | Notify user, stop |
| No remote configured | Prompt to set up remote |
# Confirm pushed to remote
git status
# Confirm remote branch status
git log --oneline -3