GitHub Delivery Check
Prepare a product project for GitHub delivery by completing deployment notes, verifying it locally, and pushing it to the main branch.
Basic info
- Name
- GitHub Delivery Check
- Description
- Use when the user asks to push a product project to GitHub, create a GitHub repository, prepare a deployable project, complete README deployment instructions, or hand off deployment details to engineers. Also trigger for Chinese requests like "推到 GitHub", "创建 GitHub 仓库", "首次提交", "整理成可部署项目", or "用 GitHub交付规范 Skill". Do NOT trigger when the user only wants ordinary code changes, code review, production deployment without GitHub delivery, or discussion-only planning; route those to the coding, review, deploy, or normal discussion workflow.
GitHub Delivery Check
Turns a product project into a deployable, hand-offable, trackable GitHub delivery — the skill classifies the project, completes the README deployment section, verifies locally, and pushes straight to main by default.
When to use it
Prepare a delivery:
The product code is largely finished and I want the skill to push it straight to the GitHub main branch instead of opening a PR to merge later.
Create a repository:
This product is landing on GitHub for the first time. I want the skill to create the repo, name it under the tranfu convention (lowercase + hyphens + -app), derive the production URL, complete the README, and push to main.
Update a repository:
There's already a GitHub remote. I just want the skill to align the README deployment section, run local verification, and push the latest changes to main.
Check before delivery:
I want it to run real commands to prove the project can install, build, start, and be exercised (Node install + build/test, Web serve + HTTP hit, Docker build/compose) — not static inspection only.
Hand off to engineers:
An engineer is going to deploy this. I want the skill to emit a GitHub Delivery Card that lists env-var field names and target locations clearly, while real secret values move through a private channel.
Not this skill: ordinary code changes → normal coding workflow; code review → review; production deployment not tied to GitHub delivery → deploy; tagging / version bumps → release; explicit "discuss only / don't push" → the skill reports without touching Git.
What it produces
Pushes straight to main by default; does not open a PR by default — the most counterintuitive part. A PR is used only when branch protection or permissions block a direct push, the repo isn't directly maintained by the team, or the user explicitly asks for one.
- Project-type classification: frontend / backend / full-stack / Docker / static site / server deployment — inspect files first, ask the user second, never the other way around.
- First-push product metadata: Chinese name, English name, summary, repo name (lowercase-hyphen +
-app), production URL (https://{repo}.tranfu.com/), GitHub owner — all required before pushing. - Pre-push secret scan: tracked files, staged files, and hidden files (excluding
.git, dependency directories, and build output); a secret already in Git history is called暂不建议推送and stops. - README deployment gate: install, run locally, build, env vars, port, deploy, production URL, health check — any missing piece is completed before pushing.
- Real local verification: Node runs build/test/lint, Web hits HTTP 200, API hits the health endpoint, Docker runs build/compose — failures are fixed and re-run; nothing runnable means verdict
未推送: 需先修复. - GitHub Delivery Card: the conclusion is exactly one of
已推送完成/未推送: 待 GitHub 授权/未推送: 需先修复/暂不建议推送; the card lists env-var names + target location and says real values are "provided privately." - Never does: claim a GitHub push equals production; invent auth codes / repo URLs / production URLs; commit
.env/ private keys / DB files / dependency dirs / build caches; open a PR to replace a direct push without permission.
Prerequisites & boundaries
Prerequisites:
The target directory is readable and git is available; pushing to GitHub requires gh CLI or an equivalent authenticated GitHub tool (gh auth status); local verification requires the matching runtime (Node / Docker / Python, etc.) to be available locally.
Adjacent skills:
| Situation | Skill |
|---|---|
| Turn current changes into a reviewed PR | github:yeet |
| Full release + changelog + version bump | ship / release |
Cold-start AGENTS.md + openspec/ scaffolding |
project-init-docs |
Subtle boundaries:
- Real secrets may live in a local uncommitted
.envor in server environment variables; they must not appear in GitHub, README,.env.example, screenshots, or the final reply. - When GitHub authorization is missing, the skill hands the user the real link and one-time code printed by
gh auth login --web— it never invents them. - Repo-existence conflict (
owner/repoexists but may belong to a different project) → stops at未推送: 需先修复and asks the user to confirm before pushing. - "Push to the GitHub main branch" triggers this skill; "merge to main and go live" does not (that is
deploy); code review before landing does not (that isreview).
Version info
Local public Skill catalog snapshot, showing only public-safe fields.
Skill files
(6)SKILL.md
SKILL.md · Markdown