Safe Pull
Description
--- description: 安全地從 origin/main 拉取最新內容到本機,自動 stash 本地未 commit 的修改,rebase 完成後再還原 allowed-tools: Bash --- ## Context - 使用者想把 origin/main 的新 commits 同步到本機 - 本機可能有未 commit 的修改,不能被覆蓋 - 策略:stash 本地修改 → fetch + rebase → stash pop ## Your Task 安全同步 origin/main 到本機,保留本地所有修改。 ### Steps 1. **確認目前 git 狀態** ```bash git status --short git log --oneline -5 ``` 顯示目前 branch、有哪些修改、目前在哪個 commit。 2. **檢查 origin/main 有多少新 commits** ```bash git fetch origin git log --oneline HEAD..ori
Installation
Installs to ~/.claude/skills/fredrick84823-fstack-safe-pull/SKILL.md
mkdir -p ~/.claude/skills/fredrick84823-fstack-safe-pull && curl -fsSL https://raw.githubusercontent.com/fredrick84823/fstack/HEAD/commands/safe-pull.md -o ~/.claude/skills/fredrick84823-fstack-safe-pull/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git