通用 GitHub 提交、脱敏、版本日志、提交说明、推送流程。Use when Codex needs to submit local changes to GitHub in any project, including checking diffs, protecting secrets, writing detailed changelogs, committing, pushing, and optionally preparing PR information.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
通用 GitHub 提交、脱敏、版本日志、提交说明、推送流程。Use when Codex needs to submit local changes to GitHub in any project, including checking diffs, protecting secrets, writing detailed changelogs, committing, pushing, and optionally preparing PR information.
GitHub Submit Workflow
Core Rule
Treat every GitHub submission as a publish operation. Verify scope, remove sensitive data, write a useful version log, then commit and push only the intended changes.
Workflow
Confirm repository context.
Run git status --short --branch and git remote -v.
Identify the current branch, upstream branch, and target remote.
If the repo is not initialized, has no remote, or the target branch is ambiguous, ask the user before publishing.
Inspect the full change set.
Use git diff --stat, git diff, and git diff --cached.
Include untracked files in the review with git status --short.
Do not stage unrelated user changes.
Never revert user changes unless the user explicitly asks.