用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill git-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | git-workflow |
| description | >- Use when this capability is needed. |
These are the user's repository defaults. Apply them on every git action unless the user explicitly overrides them in the same turn.
git push only. No --force, no --force-with-lease.git commit --amend is forbidden, even for typo fixes, unless the user explicitly asks in the same turn.Resolve the base branch from the remote default — do not hardcode main:
BASE_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
issue-123-short-slug, fix-checkout-validation).When the branch is behind the remote base, merge the baseline:
git fetch origin "$BASE_BRANCH"
git merge "origin/$BASE_BRANCH" --no-edit
Resolve any conflicts and commit the merge before continuing. Do not git rebase origin/$BASE_BRANCH.
type(scope): summary, with type from feat, fix, docs, style, refactor, perf, test, build, ci, chore, or revert. Pick the narrowest accurate scope; omit the scope only when no meaningful scope exists.--no-verify) unless the user explicitly asks.git push # routine push
git push -u origin HEAD # first push of a new branch
Never git push --force or git push --force-with-lease. If a remote push is rejected because the histories diverged, stop and ask the user — do not paper over with a force push.
git checkout "$BASE_BRANCH"
git pull origin "$BASE_BRANCH"
git branch -D <merged-branch>
Deviate from any rule only when the user explicitly asks in the same turn. State the deviation in chat so it is not silently normalized.
Source: frostney/known-good-route — distributed by TomeVault.