一键导入
git-ops
Git operations: status, diff, log, branch, add, commit following conventional commit format. Safety-first: destructive ops require explicit confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Git operations: status, diff, log, branch, add, commit following conventional commit format. Safety-first: destructive ops require explicit confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Dual-model adversarial review: local and delegated reviewers audit independently, verdicts are synthesized.
Implement the SDD task list. Read tasks and design from memory, write code, run tests.
Archive all SDD artifacts for a change as a single completed record in memory.
Write the technical design for a planned change: components, interfaces, data flows, edge cases.
Explore the codebase to build context for a planned change. First phase of the SDD workflow.
Propose 2–3 solution approaches for a planned change, evaluating trade-offs and recommending one.
| name | git-ops |
| description | Git operations: status, diff, log, branch, add, commit following conventional commit format. Safety-first: destructive ops require explicit confirmation. |
| compatibility | opencode |
Use this skill when:
git status, git log, git diff)git add)github-ops territory)REQUIRE:
git status before any destructive operationgit push --force to main/master unless the calling agent provides explicit rationaleREJECT if:
git status --short — show current stategit diff --stat — summary of changesgit diff — review full diff (pipe to calling agent for review)git add <files> — stage specific files (never git add -A blindly)commits skill for conventional commit format rulesgit commit -m "<type>(<scope>): <description>" — conform to conventional commitsgit branch --list — list local branchesgit checkout -b <name> — create and switch to new branchgit checkout <name> — switch to existing branchgit branch --mergedgit status — working tree statusgit log --oneline -n 20 — recent commitsgit log --graph --oneline --all — branch graphgit diff — unstaged changesgit diff --staged — staged changesgit show <ref> — full details of a commitgit rev-parse --verify HEAD fails. Handle by explaining this is a fresh repo and suggesting git add + first commit.git log --oneline -n 20 (limit output). Use -- <path> to scope diff/log to specific paths.