/isg-skills:landing-on-mainfrom isg-skills
Use when committing, finishing or delivering a change in a git repo the user owns personally (its GitHub owner is the user's own login, e.g. the dotfiles repo), or before opening a PR in one.
Ships in isg-skills. 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.
None: SKILL.md is the whole skill.
In a repo the user owns, finished work lands on local main and is pushed
straight to origin/main: no PR. This is the user's standing exception to
"I do the merge" and "never push straight to main"; everywhere else those
rules hold and the pr-conventions skill applies.
gh repo view --json owner -q .owner.login must equal
gh api user -q .login. Org repos fail the check even with admin rights.
So does a repo with no GitHub remote or a failing gh: fall back to PRs.<type>/<scope>/<slug>
branch in a worktree only you use. A shared checkout can switch HEAD under
you, and then commit and merge hit someone else's branch. Commits stay
small, one change each, titles within 50 characters.git fetch origin, rebase the branch onto
origin/main, re-run the repo's checks, then fast-forward main:
git fetch . <branch>:main. It never touches another checkout's HEAD.
If git refuses because main is checked out elsewhere, confirm that
checkout is on main and clean, and run git merge --ff-only <branch>
there in the same command. Never a merge commit, never a squash.git log origin/main..main: it
may hold other sessions' landed commits, and they go up with yours. If
anything there is not finished work, stop and ask. Then
git push origin main. Never force. A rejected push means main moved:
fetch, rebase the branch, land and push again. A rejection from branch
protection means this repo wants PRs after all: say so and open one.main is pushed, delete the branch and finish the
worktree per the worktrees skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/capturing-configUse after installing a tool or package, or changing machine or tool configuration outside the dotfiles repo (brew install, a ~/.config file, defaults write, a global npm/cargo/uv tool, a launch agent), to propose recording it in the dotfiles repo./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./domain-modelingBuild and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model./grillingUse when planning, when the user asks to be grilled or says "grill me", or wants a plan, design, decision or idea stress-tested or challenged before acting on it./pr-conventionsUse when opening a pull request, deciding how to size or split a change, sequencing multi-part work across PRs, or naming a branch.npx claudepluginhub isdg/.rc --plugin isg-skills