qc

Installation
SKILL.md

qc — quick commit + auto-push

Portable, project-agnostic quick-commit skill. Drop this file at ~/.claude/skills/qc/SKILL.md to make /qc available in every project on the machine.

A project may override this with its own .claude/skills/qc/SKILL.md (project-local takes precedence). Use that for project-specific commit conventions (e.g. required task IDs).

Two invocations

  • /qc — commit + push the current branch to its upstream on origin. Default. Use during normal feature-branch work.
  • /qc main — switch to main (or master, whichever the repo's default branch is — detect with git symbolic-ref refs/remotes/origin/HEAD), commit, push origin's default branch directly. Solo-speed flow — skips the PR review path. Only use when the user is the only reviewer and the change is ready.

If /qc main is invoked while on a feature branch with uncommitted changes, carry the changes across with git stash --include-untrackedgit checkout <default>git stash pop → resolve any conflicts → continue. If conflicts can't be resolved cleanly, stop and surface to the user; do not throw away work.

Step 0 — Prerequisite: gh installed and authenticated

/qc relies on gh having configured git's credential helper so git push over HTTPS doesn't prompt. Before staging anything, verify:

Installs
1
First Seen
Jul 20, 2026
qc — timothyvang/claude-code-qc