Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill git-workflow명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | git-workflow |
| description | > Use when this capability is needed. |
This skill governs the default Git shape of implementation work: which branch to use, how to name it, how to cut commits, and when it is safe to push or open a PR. It is intentionally lighter than the /git-commit-split custom command, which is for taking an already-dirty working tree and splitting it into commits or PRs.
git status --porcelain=v1, and recent commit style when commit messages will be written.Use a feature branch in its own worktree for implementation work.
main, master, a release branch, or another protected/default branch, create a task worktree before edits unless the user explicitly asked to work in the current checkout.Task worktree creation:
git pull --ff-only # when on the main worktree and updating the base branch
git fetch origin
git worktree add -b <branch> ../<repo-name>-<branch-path-slug> origin/<base>
cd ../<repo-name>-<branch-path-slug>
Rules:
<branch> follows the branch name format below.<branch-path-slug> is the branch name with / replaced by -.agent-harness branch feat/worktree-branch-delivery uses ../agent-harness-feat-worktree-branch-delivery.-2, -3, etc. to the worktree path if it already exists.main itself, use git pull --ff-only in the main worktree. Do not use git pull --rebase origin main for the base branch.Branch name format:
<type>/<kebab-subject>
Rules:
<type> is the Conventional Commits type that would be used for the primary commit: feat, fix, refactor, perf, docs, test, build, ci, chore, style, or revert.<kebab-subject> is lowercase ASCII, hyphen-separated, derived from the imperative commit subject with no scope.-2, -3, etc. if a local or remote branch already exists.Examples:
feat/jwt-refresh-token-rotation
fix/parser-empty-input
refactor/extract-query-builder
docs/clarify-install-steps
Commit by intent, not by file.
test:.style: when it would obscure a logic review./git-commit-split custom command when the task is specifically to organize pending changes.Before committing, verify the relevant test or quality gate is green. If the full suite is too expensive or unrelated failures exist, run the narrowest gate that proves the change and report the limitation.
Use Conventional Commits for every commit message.
<type>(<scope>): <imperative subject>
Scope is optional:
Subject rules:
add, fix, remove, rename.Use a body only when the why is not obvious from the subject. Wrap body text at about 72 columns.
Common types:
| type | when to use |
|---|---|
feat | new user-visible capability |
fix | bug fix |
refactor | restructure without behavior change |
perf | performance-only change |
docs | documentation only |
test | test-only change for existing behavior |
build | build system, packaging, dependencies, lockfiles |
ci | CI configuration only |
chore | tooling/config that does not fit elsewhere |
style | formatting only, no logic change |
revert | reverts a previous commit |
Examples:
feat(auth): add JWT refresh-token rotation
fix(parser): handle empty input without panicking
refactor(db): extract query builder from repository
docs: clarify install steps for Apple Silicon
test(auth): cover refresh-token expiry edge case
build(deps): bump axios from 1.6.0 to 1.7.2
For implementation tasks:
git fetch origingit rebase origin/<base> before the first push when the feature branch should be refreshed onto the latest basegit push -u origin <branch>gh pr create -f --base <base>For explicit commit requests:
/git-commit-split custom command instead of improvising partial commits here.For explicit PR requests:
git push -u origin <branch>.gh pr create -f --base <base>.For rebase and force-push:
git rebase origin/<base> is allowed before the first push for a PR branch.git rebase --continue and git rebase --abort are allowed to complete or recover from that narrow workflow.--onto, and rebasing onto local branches are outside the default workflow; ask before using them.git push --force, git push --force-with-lease, and +refspec pushes are not part of the default workflow. Stop and ask the user if a remote history rewrite is genuinely required./git-commit-splitUse this skill for normal work as it is being implemented.
Use the /git-commit-split custom command when the user's task is specifically to organize existing pending changes into multiple commits, multiple branches, or one PR per feature. Do not duplicate its hunk-splitting and PR-per-feature execution flow here.
Source: furedea/agent-harness — distributed by TomeVault.