/qtq:commit-and-pushfrom qtq
This skill should be used when the user says "commit and push to git", "commit and push", or asks to commit the current changes and push them up. It commits the pending changes with a brief, one-line commit message, pushes the current branch to its remote, and then surfaces the pull-request creation link returned in the git push output so the user can click straight through to open a PR.
Ships in qtq. 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.
Chain a commit and a push into one step, then recover the pull-request creation URL that the git host prints in the push output (Bitbucket, GitHub, and GitLab all do this for a branch that doesn't have an open PR yet) instead of letting it scroll past unread.
Inspect the change set. Run git status and git diff (staged and
unstaged) in parallel, plus git log -5 --oneline to match the repo's
commit message style. Skip everything below if the tree is clean — tell
the user there is nothing to commit.
Stage deliberately. Add the specific files that changed by name. Don't
use git add -A or git add ., and don't stage anything that looks like a
secret (.env, credentials, keys).
Write a brief, conventional commit message. One short line describing the why, not a multi-paragraph body — the user explicitly asked for "brief." Build it as:
<purpose>: [jira-id]<message>
<purpose> is a conventional-commit type inferred from the diff: feat,
fix, chore, refactor, docs, test, style, perf, build, or
ci.<jira-id> comes from the current branch name, not the message text.
Run git branch --show-current and pull out a ticket pattern like
[A-Z][A-Z0-9]+-[0-9]+ (e.g. dev-bot/SVC-2102-fix-review-tab →
SVC-2102). If the branch has no such pattern (e.g. hotfix/DisableEvent),
drop the [jira-id] segment entirely rather than inventing one —
don't ask the user to supply a ticket unless they bring it up.<message> is the short description itself.Examples: fix: [SVC-2102]Fix review tab available modes or, with no
ticket in the branch, fix: Disable event on hotfix path.
Match the repo's existing style from git log where it doesn't conflict
with this format. Commit with the message passed via a HEREDOC so
formatting survives:
git commit -m "$(cat <<'EOF'
<purpose>: [jira-id]<message>
EOF
)"
Follow standard git safety rules: create a new commit rather than amending,
and never pass --no-verify unless the user explicitly asks for it. If a
pre-commit hook fails, fix the issue and commit again rather than bypassing
it.
Push the current branch, capturing full output (the PR link normally arrives on stderr, so don't discard it):
git push 2>&1
If the branch has no upstream yet, use git push -u origin HEAD 2>&1
instead. Never force-push as part of this skill.
Extract the PR creation link from that output. Look for a remote:
line containing one of these patterns:
pull-requests/newpull/newmerge_requests/newReport back to the user:
origin's host/workspace/repo from
git remote get-url origin and construct the host's standard
"create PR" URL for the current branch (e.g. Bitbucket:
https://bitbucket.org/<workspace>/<repo>/pull-requests/new?source=<branch>&t=1),
but label it clearly as constructed, not one the push actually returned.Never open the link or create the PR automatically — just hand the user the URL so they can review the diff before opening it themselves.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thaiquangquy/claude.me --plugin qtq12 skills in this plugin
/add-best-practiceThis skill should be used when the user asks to save, note, or add a new Java best practice or pattern to their java-tutorial repo — e.g. "add this as a best practice", "note this pattern for my Java best practices", "save this to java-tutorial's best practices and commit it" — typically said while working in a completely different project/session. It records the practice in java-tutorial's best_practices section (README table, plus a runnable example when warranted) and commits — and pushes — that change inside the java-tutorial repo itself, without touching the git state of whatever project the current session is actually in./blind-spot-passThis skill should be used when the user is about to work on something they have little context on and asks Claude to help find their "unknown unknowns" — e.g. "I'm working on X but I know nothing about the Y modules/domain, help me figure out my unknowns so I can prompt better," "teach me what I don't know about Z so I can ask better questions." It produces a grounded briefing (terminology, hidden constraints, adjacent systems, risky decisions) plus concrete follow-up prompts, rather than a generic explainer./brainstorm-and-prototypeThis skill should be used when the user wants cheap, disposable options to react to before committing to a direction — e.g. "make me an HTML page with N wildly different design directions so I can react," "mock up this UI with fake data before wiring anything up, I want to react to the layout first," "brainstorm N places we could intervene, from cheapest to most ambitious, I'll tell you which ones resonate." Covers both visual/UI mockups and ranked option lists produced purely for reaction, not for shipping.Other plugins' skills for the same job