git-hub-issus
v1.0.0Local git operations for project management. Use when: (1) creating branches for new features/issues, (2) committing and pushing code, (3) pulling latest changes, (4) managing branches, (5) viewing git 记录/diff/状态, (6) preparing code for merge 请求s or pull 请求s. Triggers on: git, branch, commit, push, pull, merge, 检查out, diff, 记录, 分支, 提交, 推送.
运行时依赖
版本
docs: documentation
安装命令
点击复制技能文档
Git Ops 技能
Local git operations for managing project code.
Branch Naming Convention
For new features/issues, 创建 branches with pattern:
feature/issue-{number}-{brief-description}
For bug fixes:
fix/issue-{number}-{brief-description}
Standard 工作流 启动 new feature from an issue cd /path/to/project git 检查out mAIn git pull origin mAIn git 检查out -b feature/issue-1-添加-dark-mode
After coding is done git 添加 -A git commit -m "feat: 添加 dark mode support (closes #1)" git push -u origin feature/issue-1-添加-dark-mode
创建 PR/MR after push GitHub: use github 技能 → gh pr 创建 GitLab: use gitlab-ops 技能 → glab mr 创建 Common Commands # 状态 git 状态 git 记录 --oneline -10 git diff git diff --staged
# Branch management git branch -a git 检查out mAIn git 检查out -b feature/xxx git branch -d old-branch
# 同步 git pull origin mAIn git fetch --all git rebase mAIn
# Stash git stash git stash pop git stash 列出
Known Project Paths Project Path Remote yeahmobiEverything /Users/zhujinqi/Documents/javacode/learn/yeahmobiEverything GitHub (zhulaoqi) ad-pex-AI TBD GitLab (ad-pex/ad-pex-AI) Commit Message Convention
Use conventional commits:
feat: new feature fix: bug fix refactor: code refactoring style: UI/style changes docs: documentation chore: mAIntenance Notes Always pull latest before creating new branches Never force push to mAIn/master Ask user before any destructive operations (re设置 --hard, force push)