pre-publish-review
Read every file in the diff you did not author before it leaves the machine. Load before any git push, `gh pr create`, wiki push, package publish, or vendoring third-party content.
- License 许可
- BSD-3-Clause
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pre-publish-review
- description
- Read every file in the diff you did not author before it leaves the machine. Load before any git push, `gh pr create`, wiki push, package publish, or vendoring third-party content.
03 SKILL.md 正文
Pre-Publish Review
Before ANY push, PR, or publish: read every file in the diff you did not author. Vendored deps, third-party skills, WIP handed to you, anything you copied or cloned. No exception for "it is just markdown" or "the user said it is fine" — publishing is irreversible, review is cheap.
This is required review, not routine re-validation. Guidance against reflexive git calls
targets re-checking your own work; it never exempts the read before an irreversible action.
A secret scanner catches key-shaped strings only. It cannot see the rest. That pass is yours.
Check for
- Live credentials — keys, tokens, private keys, connection strings with real passwords.
- Real names of private things — vault or item names, internal hostnames, private URLs, buckets,
client or employer names, ticket IDs. Placeholders (
op://Private/FOO,sk-ant-api12345....) fine. - Personal paths —
/home/<user>/…, machine names, local ports revealing a private setup. - Unreleased or confidential content — plans, prices, roadmaps, anything not already public.
Vendored third-party content
- Never commit a clone. A nested
.gitmakes git treat the dir as a foreign repo and silently skip its files. Copy the files you want; leave the clone behind. - Record provenance where it will be read: upstream URL + pinned SHA or tag + license.
- Ship the upstream LICENSE next to the content.
- Prefer a pinned build-time fetch when upstream has real release tags and ships more than a file or two. Vendor only when it is small and untagged.
Report
State provenance and what you checked, in the PR and to the user. Did not read a file → say so. Never imply coverage you do not have.
Pairs with the [[floor]]'s confirmation gate: that gates WHETHER you publish, this gates WHAT.
04 同仓库更多 Skills
foo
GH-649 fixture skill.
time-helper
Ask the time MCP server for the current time in any IANA timezone and convert times between timezones.
wrangler
暂无简介
varlock
Create and maintain `.env.schema` files in the varlock/@env-spec DSL. Use when adding env var definitions, migrating from `.env.example`, running varlock commands (init, load, run, encrypt, audit), debugging missing env vars, or wiring 1Password secrets.
thinking-partner
Find where the user's idea, plan, direction, or draft is wrong before they accelerate. Use on "I've been thinking", "what do you think", "assess this", "review my plan", "am I going the right direction", "should I". Not for code diffs.
tests-are-authority
An existing test encodes a decision already made; your change does not outrank it. Load when a test fails after your change, before editing an existing test, and before adding skip/xfail or loosening an assertion.