Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Claude Code skill for quick commit + auto-push. /qc stages, writes a Conventional Commit message, commits with hooks + GPG signing, and pushes — all in one. Bootstraps gh CLI auth on first run. No --no-verify, no --amend, no AI watermarks.
Jump to setup instructionsFetched from the repository for this visit.
Quick Commit + Auto-Push skill for Claude Code. Run
/qcto stage, write a Conventional Commit message, and push — all in one. Bootstraps the GitHub CLI (gh) with browser auth on first run.
A drop-in Claude Code skill that turns the staging → commit → push dance into a single slash command. Reads your repo's existing commit conventions (Conventional Commits, ticket-prefixed, plain prose — whatever your git log is already doing) and matches them. Refuses to skip hooks, signing, or amend history.
# In any Claude Code session, after editing some files:
/qc
That's it. The skill:
gh is installed and authenticated — bootstraps both via apt/brew/dnf/pacman/winget + gh auth login --web if not.git add -A unless you opt in).git push -u origin HEAD.Most Claude Code users end up typing the same 3-step incantation a hundred times a day:
git add path/to/file.py
git commit -m "feat(scope): summary"
git push
/qc collapses that to one slash command. More importantly, it encodes the right defaults so AI-generated commits stay clean:
--no-verify — pre-commit hooks exist for a reason.--no-gpg-sign — signed commits stay signed.--amend — history doesn't get rewritten silently.Co-Authored-By: Claude … — no AI watermarks in your commit log.git add -A — .env files don't get committed by accident.Compare that to the default Claude Code commit behavior, which adds an attribution line, sometimes uses --amend to fold fixes, and stages everything with -A. /qc is the opinionated middle ground.
mkdir -p ~/.claude/skills/qc && \
curl -fsSL https://raw.githubusercontent.com/TimothyVang/claude-code-qc/main/SKILL.md \
-o ~/.claude/skills/qc/SKILL.md
Next Claude Code session, /qc is live.
mkdir -p .claude/skills/qc && \
curl -fsSL https://raw.githubusercontent.com/TimothyVang/claude-code-qc/main/SKILL.md \
-o .claude/skills/qc/SKILL.md && \
git add .claude/skills/qc/SKILL.md
Commit it so your teammates get it automatically.
git clone https://github.com/TimothyVang/claude-code-qc.git
cp claude-code-qc/SKILL.md ~/.claude/skills/qc/SKILL.md
/qc — commit + push current branch/qc
Stages your changes, drafts a message, commits, and pushes the current branch to its origin upstream. The default — use during normal feature-branch work.
/qc main — commit + push directly to default branch/qc main
Switches to the repo's default branch (main/master/whatever origin/HEAD points at), commits there, and pushes. Solo-speed flow — skips PR review. Use only when you're the sole reviewer.
If you're on a feature branch with uncommitted changes, the skill carries them across with git stash --include-untracked → git checkout → git stash pop. If conflicts can't be resolved cleanly, it stops and asks; it never throws away work.
/qc is project-agnostic — it adapts to whatever conventions your repo already uses. Detection order (first hit wins):
CLAUDE.md at repo root — if it specifies a commit format, follow it exactly.CONTRIBUTING.md — many projects encode commit rules here..gitmessage template or commit.template in .git/config — pre-fill it.type(scope): summary → Conventional CommitsJIRA-123: ... → ticket-prefixedIf your project mandates a task ID format like [W1.A.0] or JIRA-456, the skill resolves it from your turn, recent commits, or your project's plan file — and asks if it can't.
You: /qc
Claude: I see you changed `src/auth.ts` (3 lines) — adding session timeout.
Drafted message: feat(auth): add 30-minute idle session timeout
Staged 1 file. Commit + push?
You: yes
Claude: ✓ committed, ✓ pushed to origin/feat/idle-timeout
[W#.#.#])You: /qc
Claude: Active task from recent commits: [W2.C.4]
Drafted message: fix(graph): correct executor fanout reducer race [W2.C.4]
Staged 2 files. Commit + push?
You: yes
Claude: ✓ committed, ✓ pushed to origin/feat/W2.C.4-...
gh yet)You: /qc
Claude: gh CLI not installed — bootstrapping for Ubuntu...
[installs gh via apt]
Now run: gh auth login --hostname github.com --git-protocol https --web
[opens browser for OAuth]
✓ Authenticated as TimothyVang
Continuing with commit...
There is no config file. /qc reads your repo's existing conventions and your shell's gh auth state. To customize behavior, edit the SKILL.md directly — it's plain markdown instructions for the agent. Project-local copies at .claude/skills/qc/SKILL.md override the global one at ~/.claude/skills/qc/SKILL.md, so per-project overrides are easy.
/qc will not dogh pr create) — that's a separate /ship step.~/.gitconfig or set committer identity.Q: Does this work with GitLab / Gitea / Forgejo?
Partial. The commit + push flow is host-agnostic. The gh bootstrap is GitHub-specific — for other hosts, configure git's credential helper yourself (e.g. glab auth login for GitLab) and the skill skips the bootstrap step.
Q: Does it work with SSH remotes instead of HTTPS?
Yes. If your remote is SSH (git@github.com:user/repo.git), gh auth login isn't strictly required for git push — your SSH key handles that. The skill still suggests gh auth login --git-protocol ssh for gh features (PR commands, etc.), but won't block on it.
Q: Can I customize the commit-message format?
Yes — drop a project-local .claude/skills/qc/SKILL.md with your overrides. Project-local takes precedence over global.
Q: What if I don't want it to push automatically?
Edit your project-local SKILL.md and remove Step 6, or replace /qc invocations with explicit git commit then manual git push. The auto-push is the whole point of the skill, but it's not load-bearing.
Q: What's a Claude Code skill?
A markdown file at ~/.claude/skills/<name>/SKILL.md (global) or .claude/skills/<name>/SKILL.md (project) that Claude Code loads as instructions when you invoke /<name>. It's prompt-engineering for the agent, not executable code. See Claude Code docs.
/qc defaults to.gh) — the auth + PR tool /qc bootstraps./qc refuses to bypass.Issues and PRs welcome. The whole skill is one markdown file (SKILL.md); changes to the agent's behavior happen there.
If you build a related skill (/ship for PR creation, /land for merging, /wt for worktree-aware commits), open an issue and I'll link it here.
MIT — see LICENSE.
claude code, claude code skill, claude code skills, claude skills, anthropic claude, ai coding assistant, slash command, /qc, quick commit, git automation, conventional commits, commit message generator, gh cli, github cli, git workflow, developer productivity, terminal automation, agentic coding, ai pair programming, llm coding tools
GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.