基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/chchchadzilla/github-safe-push --skill github-safe-push命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | github-safe-push |
| description | Ship leak-proof GitHub repos with README and banner. |
| version | 0.2.1 |
| author | Chad Keith |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["GitHub","git","push","secrets","identity","readme"],"related_skills":["github-auth","github-pr-workflow","github-repo-management"]}} |
How every Chad Keith project leaves this machine. Auth is github-auth. PRs are github-pr-workflow. Repo create/settings are github-repo-management. This skill is the ship: secrets stay off git, the remote stays clean, and the public page looks like a real product.
No exceptions. Skills, plugins, apps, scripts — if it is code, it gets a repo.
git push, first origin, or "publish this"Don't use for: minting a PAT, gh auth login, or reviewing a PR.
Shipped author fields say Chad Keith. Nothing else.
| Field | Value |
|---|---|
git user.name | Chad Keith |
git user.email | chad@conversatrait.com |
SKILL.md / plugin.yaml / LICENSE / package.json author | Chad Keith |
No Hermes Agent in author fields. No machine hostname. No C:\Users\... or /c/Users/... in README, examples, comments, or commit messages.
Set identity local to the repo unless asked for global:
terminal(command="git config user.name \"Chad Keith\" && git config user.email \"chad@conversatrait.com\"")
These never get git add, never get committed, never get pushed:
.env, .env.* except .env.examplelocal.env, .env.local, *.local, *.pem, id_rsa, id_ed25519, *.keyghp_, github_pat_, gho_, ghu_, ghs_, sk-, xai-, AKIA.gitignore must ignore the list above before the first commit. .env.example has empty or placeholder values only (GITHUB_TOKEN=, GITHUB_USERNAME=your-github-username).
Print env keys, never values. Never embed a token in a remote URL. Never write secrets into .git/config.
If the scan finds a secret: stop, unstage, rotate the key if it was ever printed, do not push.
Do this before the first push. Criterion: each box has a file or a live GitHub setting.
.gitignore covers env, keys, venv, OS junk. Criterion: git check-ignore -v .env local.env reports ignored.Copyright (c) <year> Chad Keith.package.json (and VERSION) at 0.1.0 for new work. Bump: patch = fix, minor = feature, major = break. Tag v<version>.## [0.1.0] - YYYY-MM-DD.assets/banner.png, landscape. Wordmarks and any banner with readable text must be rendered (PIL, SVG, or a real design tool). Diffusion/image-gen is a hard fail for text. slop-cop any graphic before commit. KILL = do not push.https://www.buymeacoffee.com/chadpkeith in the README (top and bottom) and .github/FUNDING.yml.v<version> with generated notes. That is the package.# <Name>
banner image
badges (license, version, platform)
star CTA + Buy Me a Coffee
What it is (3 sentences)
Requirements
Install (Windows / macOS / Linux)
Use
Config
Troubleshooting
Limits
License — Chad Keith
star CTA + Buy Me a Coffee (again)
Voice: installer docs, third person. Never "already done if I set it up" or a session recap.
git rev-parse --show-toplevel).scan clean or abort.https://github.com/<owner>/<repo>.git from env if needed. Criterion: HTTPS URL has no @ before github.com.gh if logged in, else GIT_ASKPASS from env, then delete the askpass file. Never remote set-url with a token.git status -sb; confirm .env / local.env untracked.has_discussions: true), set topics, create v<version> release.On Windows git-bash, pass C:/Users/<user>/... to native git -C, not /c/Users/<user>/....
.git/config.credential.helper store writes a plaintext token to disk. Prefer askpass for a one-shot push.auto_init: true on repo create fights the first push. Create empty, then push..env.example looks like a leak. Use empty values.git remote get-url origin is credential-freegit ls-files has no .env, local.env, or key filesChad Keith <chad@conversatrait.com>v* release