git-and-diff-workflows
Safe git and GitHub CLI workflows — status, diff, log, branch, PR operations with inspect-before-commit patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Safe git and GitHub CLI workflows — status, diff, log, branch, PR operations with inspect-before-commit patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run ProjectTwelve Unity batch validation and EditMode/PlayMode test suites via Unity 6000.5.1f1. Use when the user or ticket asks to run Unity tests, EditMode fixtures, batchmode validation, or verify test results from TestResults/*.xml.
Log agent sessions, consolidate project memory (dream), promote reviewed memory, and load context for new chats. Use when ending a session, improving cross-session recall, or when the user mentions agent memory, dream, log-session, or memory.md.
Wiki tickets under docs/wiki/tickets/ are the canonical task queue, each linked to a GitHub issue. Use when picking work, claiming an issue, or preparing PR references.
Recommend the next open wiki ticket to work on, ranked by phase then priority, without claiming or mutating anything. Use when the user asks "what's next", to pick the next task, or to start work without a specific ticket in hand.
Sync project-twelve with the Assets/_Licensed submodule via fetch_remotes.py, git hooks, and /fetch-remotes. Use at session start, before picking backlog work, or when the user asks to sync repos or get latest.
Use when the user asks to commit and push, publish, ship, or prepare a release commit. Guides staging only intended changes, writing a Conventional Commit, committing, and pushing to origin after verifying status and diff.
基于 SOC 职业分类
| name | git-and-diff-workflows |
| description | Safe git and GitHub CLI workflows — status, diff, log, branch, PR operations with inspect-before-commit patterns. |
Repository operations with bounded diffs and explicit confirmation for history rewrites.
status, diff)gh)gitleaks read-only)git, gh; optional delta, gitleaks, git-filter-repo (human-only).
Install blocks are shared — See install-blocks.md.
Use winget blocks from the reference when provisioning a new machine.
Use apt/curl blocks from the reference; symlink fdfind → fd if needed.
Use Homebrew blocks from the reference.
git status --short
git diff --stat
git diff -- path/to/file
git log --oneline -n 20
gh pr view 123 --json title,state,url
gh issue list --limit 20
gitleaks detect --source . --no-git -v 2>/dev/null | head -50
git status --short before staging.git diff --stat before commit messages.See commands-requiring-confirmation.md. — especially reset, clean, force-push, filter-repo.
gh auth: user runs gh auth login.git status clean or changes understood