/engineering:git-branching [issue number, ticket id or short description]from gener8v engineering workflow
Put work on the correct branch before the first edit. Finds the base branch, starts a well-named branch from the current remote tip, and sets up one worktree per agent for parallel work. Use at the start of any change to a tracked file, such as 'start on issue 42', 'fix this typo', 'set up branches for these three tickets', or before you start sub-agents that edit code. Not for opening or merging a PR (github-pr-merge) or for history rewrites and other risky git commands (git-safety).
Ships in gener8v engineering workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Every change goes on its own branch. This includes a one-line fix and a change with no issue. Do not commit on the base branch.
Use the first source that gives an answer:
CLAUDE.md, CONTRIBUTING.md and .github/ documents. If they name a base or integration branch, use it.git symbolic-ref --short refs/remotes/origin/HEAD # prints origin/<name>
gh repo view --json defaultBranchRef -q .defaultBranchRef.name
develop or development and no document says which one is the base, ask the user. Do not guess.When an integration branch (for example develop) is the base, a hotfix for a released version starts from the default branch instead. Use that only when the user calls the work a hotfix.
git status --porcelain
git rev-parse --abbrev-ref HEAD
git switch -c <name> keeps them in the working tree.git fetch origin --prune
git switch -c <name> origin/<base>
git log -1 --oneline
Starting from origin/<base> means that a stale local base branch does no harm. Do not run git pull on the base branch to "catch up" first. It is not necessary.
Use the repository convention if it has one. If not, use <type>/<ref>-<slug>:
| Part | Values |
|---|---|
type | feat, fix, docs, chore, refactor, test, release, hotfix |
ref | Issue number (42), pipeline ticket (ticket-007), or nothing |
slug | Two to five lowercase words, joined with hyphens |
Examples: fix/42-null-session-crash, feat/ticket-007-search-filters, docs/readme-install-steps.
Co-Authored-By: Claude trailer to any commit message. This is a gener8v rule.origin/<base>. After the branch is pushed, merge the base into the branch instead. A rebase of a pushed branch rewrites history, and engineering:git-safety gates that.set -o pipefail
git fetch origin && <test command> 2>&1 | tail -n 40 && git push -u origin HEAD
Without set -o pipefail, | tail hides the exit code of the command before it. Never pipe a git command or a test command through tail without it.For two or more agents that edit code at the same time, read resources/parallel-work.md before you start any agent. In short: one batch branch from the base, one worktree and one branch per agent from the batch branch, and no two agents on the same files.
origin/<base>.git status shows no changes that belong to someone else.engineering:github-pr-merge: open the PR when the work is complete.engineering:git-safety: approval rules for force-push, branch deletion and similar commands.engineering:github-issue-workflow: the full lifecycle of an issue or a pipeline ticket. It calls this skill first.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gener8v/gener8v.claude-skills.engineering --plugin engineering11 skills in this plugin
/development-commandsFind and run a project's test, lint, type-check, build and dev-server commands, read the results correctly, and seed a throwaway database when UI work needs realistic data. Never seeds the project's real or default database. Use before 'run the tests', 'lint this', 'does it build', 'start the app so I can see it', 'seed some demo data', and before you claim that a change works. Not for deployment or CI pipeline design; use the project's own deploy tooling for those./documentation-bootstrapCreate or top up a project's documentation set: list what exists, let the user choose which document types to add, collect one shared fact sheet from the code, write the documents (in parallel when there are several), then check them against each other and against the code. Use when asked to 'bootstrap the docs', 'start the documentation', 'we have no README or ARCHITECTURE', or 'fill in the missing docs'. Not for the per-commit update of existing documents (documentation-sync), and not for gener8v pipeline documents (gener8v:brownfield and gener8v:planning make those)./documentation-syncBefore a commit, find every document that describes what the change touched and update it in the same commit, or confirm in one line that no document needs a change. Catches stale text, missing documentation and facts kept in two places. Use before any commit or PR, and when asked 'are the docs up to date', 'update the docs for this change' or 'did I miss a README change'. Not for creating a documentation set or filling large gaps (documentation-bootstrap), and not for gener8v pipeline documents under .gener8v/, which the pipeline skills own.