本文へ移動
cccskills
無料GitHub で公開

xquic-safe-push

Safely stage, commit, and push XQUIC changes after scoped Git checks. Use when asked to stage, commit, push, publish a branch to a fork, or verify that only intended files will be sent to a remote.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

XQUIC Safe Push

This skill owns local Git scope, commit, and push safety. It does not own pull request body content, review state, validation semantics, or PR pre-review. Use PR-specific skills only when those tasks are explicitly in scope.

Preflight

  1. Read AGENTS.md and honor branch policy: never push directly to remote main or master.
  2. Check git status --short --untracked-files=all, git branch --show-current, and git remote -v.
  3. Resolve the intended push remote from the user request and the repository's current configuration:
    git remote -v
    git remote get-url --push <target-remote>
    
    Remote names such as origin, upstream, or fork are local conventions, not portable identities. Do not create, rename, or repoint a remote unless the user explicitly requests that configuration change.
  4. Use an explicitly named target when the user provides one. Otherwise use the current branch's configured upstream only when its push URL and intended ownership are unambiguous; ask before pushing when multiple or unclear writable targets exist.
  5. Show staged and unstaged scopes separately using git diff --cached --name-status and git diff --name-status.
  6. If the user requested staged-only behavior, do not add any other files.
  7. If user-owned unrelated edits exist, leave them untouched and name them before proceeding.
  8. Confirm the target remote and branch before pushing.

Commit

  • Commit only the intended staged files.
  • Follow CONTRIBUTING.md: commit headers use [<type>]: <subject> with +, -, =, or ~.
  • Use one concern per commit and keep debug/log-only commits out of the final branch history.
  • After commit, verify the new commit with git log --oneline --decorate --max-count=3.

Push

Before pushing, show:

  • current branch
  • target remote, resolved push URL, and branch
  • commits that will be pushed
  • local uncommitted files that will remain local

Push when the requester explicitly asks to push or create a pull request. Also push when the development pipeline reaches its default publication stage and the requester has not asked to stop before publication. A missing, ambiguous, or apparently unwritable target still requires confirmation.

Push to the resolved target without embedding repository ownership in the skill:

git push <target-remote> <branch-name>

Forbidden

  • Do not push to origin main, origin master, or any remote main/master.
  • Do not assume a remote name identifies an upstream repository, a personal fork, or a writable target; resolve its configured push URL first.
  • Do not hard-code or automatically add a contributor-owned repository URL.
  • Do not use --force unless the user explicitly requested it. Prefer --force-with-lease when force is necessary.
  • Do not reset, checkout, clean, or remove files to simplify the state unless explicitly requested.

Git Conventions

Remotes

  • Treat all remote names and URLs as repository-local configuration.
  • Resolve the selected remote with git remote get-url --push immediately before pushing.
  • Prefer the target named by the user. If none is named, use a configured branch upstream only when it is clearly intended and writable.
  • Keep contributor usernames, fork URLs, and machine-specific paths out of this public skill.

Worktree Convention

Each issue uses an independent git worktree for parallel isolation:

<project-root>/                         (main worktree)
<workspace-parent>/<repo>-<task-id>/    (task worktree)

Lifecycle: git worktree add -> work -> push to the resolved target -> PR handling by the relevant PR skill -> git worktree remove.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Classify XQUIC GitHub issues with an evidence-backed L1-L4 resolution-complexity label while keeping validity, priority, severity, and disposition separate and skipping uniquely labeled issues unless the user explicitly forces a recheck. Use when triaging one issue or a batch of issues, creating an issue-complexity backlog, or applying or correcting L1-L4 GitHub labels.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

Address actionable GitHub pull request review comments for xquic. Use when asked to handle PR review feedback, requested changes, unresolved inline threads, or reviewer comments while preserving unrelated edits.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

gh-fix-ci

無料

Debug and fix failing GitHub PR checks for xquic. Use when a PR, branch, or commit has failed CI, GitHub Actions, build checks, test checks, or requested validation failures that should be diagnosed from logs before editing.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

Review XQUIC harness structure for bloat, duplicated facts, trigger overlap, reference drift, and missing hard checks. Use when changing AGENTS.md, harness specs, pipelines, skills, setup scripts, validation routing, or when asked to audit harness design.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

Verify whether a proposed XQUIC bug issue is real by checking the cited RFC or Internet-Draft mechanism against the repository's actual source behavior, tracing any root cause to current file and line evidence, and returning a fail-closed boolean gate. Use when validating an issue draft, investigating a claimed QUIC, HTTP/3, QPACK, or MoQT protocol violation, or before issue-submit may publish an issue.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

Draft and submit evidence-backed XQUIC GitHub bug issues in the repository's CONTRIBUTING and issue-template format. Use when preparing or opening an alibaba/xquic issue that must identify an exact RFC or draft mechanism, expected-versus-actual behavior, reproduction evidence, and optional verified source root cause; requires issue-check to return true before any GitHub submission.

日本語の概要は準備中です。原文の説明を表示しています。

alibaba/xquic1,9222026年10月9日 更新

alibaba のスキルをすべて見る

このスキルの問題を報告する