Agent skill

Cs GitHub Push

by ChenShuo2004 in ChenShuo2004/cs-skills

将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。

MITAuto-check passedMedia & Creative

Install Cs GitHub Push

skills CLI
$ npx skills add ChenShuo2004/cs-skills --skill cs-github-push -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ChenShuo2004/cs-skills cs-github-push --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ChenShuo2004/cs-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cs-github-push .claude/skills/cs-github-push && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cs-github-push
GitHub stars
191
Token cost
~421 tokens
SKILL.md length
93 words
Files
2
Skills in repo
25
Repo updated
First seen
Licence
MIT

At a glance

将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。

  • Works in 6 steps: 确定交付目标。… → 核对真实来源。 对来自另一个… → 完成发布前检查。… → …
  • Media & Creative work in your project
  • SKILL.md covers 适用边界, 推送流程, 决策规则 and 交付报告
  • Calls git

What it does

Cs GitHub Push is an agent skill from ChenShuo2004/cs-skills. 将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Media & Creative. It works with GitHub and Git. The repository describes itself as: 陈硕的 Codex Skills 与 AI 工作流手册:把产品、内容、调研与交付沉淀为可复用的智能工作流。 The licence is MIT.

When your agent uses it

  • Media & Creative work in your project

Example prompts

  • “/cs-github-push”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 确定交付目标。 找到仓库根目录、AGENTS.md、当前分支、远端与默认分支;查看 git status --short --branch、近期提交和待推送提交。明确本次要交付哪些文件,保留其他人的改动。
  2. 核对真实来源。 对来自另一个 Agent、工作区或补丁的内容,先找到原文件并核对完整性。对话摘要、生成日志和“已提交”的说法不能代替本地文件或 Git 对象;缺源文件时说明缺口,不凭描述重建后冒充原版。
  3. 完成发布前检查。 运行与改动相关的验证,检查文档链接、示例命令、生成物和敏感文件。新增或修改 CS Skills 时,同步 README.md、cs-run/SKILL.md 和必要的 docs/ 清单;README…
  4. 精确提交。 查看每个待提交文件的 diff;用明确路径暂存,检查 git diff --cached --check、--stat 和关键内容,再提交。不要用 git add -A 把无关文件带入,也不要提交密钥、私有配置、依赖目录或临时产物。
  5. 检查远端变化并推送。 先 git fetch,确认目标分支相对远端的状态。远端已前进时,先整合并验证,不能用强制推送覆盖。按用户指定或仓库约定选择分支;需要 PR 时推送工作分支并创建 PR。直接更新默认分支时,确认它是本次明确的目标且没有分支保护阻挡。
  6. 核验交付。 比对本地提交 SHA 与远端分支 SHA;如果创建 PR,记录并打开 PR 地址,核对目标分支和包含的文件。推送命令成功但未完成远端比对时,只报告“推送命令成功,远端未核验”。

What it can do on your machine

Read from SKILL.md and the folder at commit 9b4f19e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cs GitHub Push loads about 421 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~421

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ChenShuo2004/cs-skills at commit 9b4f19e, republished under its MIT licence (© ChenShuo2004). 93 words, ~421 tokens.

Download SKILL.mdSave it as .claude/skills/cs-github-push/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
cs-github-push
description
将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。
<!-- CS Skills · 陈硕 | portable skill entry | https://github.com/ChenShuo2004/cs-skills -->

CS GitHub Push

把“本地做好了”变成可核验的 GitHub 结果。处理一次明确的仓库交付:确认来源和范围、完成必要检查、提交、推送,并用远端状态证明结果。

适用边界

  • 适用:推送已有改动、发布新增 skill、同步 README/文档、创建用户要求的 PR、核验某次推送是否真的到达 GitHub。
  • 如果实现尚未完成,先完成实现与必要验证,再进入本流程。
  • 如果还需要部署网站或应用,用 $cs-ending-time 管理完整交付;本 skill 的终点是 GitHub,不把推送等同于上线。
  • 用户只是询问如何推送时,解释流程即可;不要因此修改远端。

推送流程

  1. 确定交付目标。 找到仓库根目录、AGENTS.md、当前分支、远端与默认分支;查看 git status --short --branch、近期提交和待推送提交。明确本次要交付哪些文件,保留其他人的改动。
  2. 核对真实来源。 对来自另一个 Agent、工作区或补丁的内容,先找到原文件并核对完整性。对话摘要、生成日志和“已提交”的说法不能代替本地文件或 Git 对象;缺源文件时说明缺口,不凭描述重建后冒充原版。
  3. 完成发布前检查。 运行与改动相关的验证,检查文档链接、示例命令、生成物和敏感文件。新增或修改 CS Skills 时,同步 README.md、cs-run/SKILL.md 和必要的 docs/ 清单;README 的入口、用途、安装方式与实际目录一致。不要为一次普通代码推送重写无关文档。
  4. 精确提交。 查看每个待提交文件的 diff;用明确路径暂存,检查 git diff --cached --check、--stat 和关键内容,再提交。不要用 git add -A 把无关文件带入,也不要提交密钥、私有配置、依赖目录或临时产物。
  5. 检查远端变化并推送。 先 git fetch,确认目标分支相对远端的状态。远端已前进时,先整合并验证,不能用强制推送覆盖。按用户指定或仓库约定选择分支;需要 PR 时推送工作分支并创建 PR。直接更新默认分支时,确认它是本次明确的目标且没有分支保护阻挡。
  6. 核验交付。 比对本地提交 SHA 与远端分支 SHA;如果创建 PR,记录并打开 PR 地址,核对目标分支和包含的文件。推送命令成功但未完成远端比对时,只报告“推送命令成功,远端未核验”。

决策规则

  • 用户已明确要求推送本次成果,按该授权执行,不为同一动作重复求确认;新发现的其他仓库或其他任务不自动并入。
  • 当前分支、目标分支或 PR 方式不明确时,先按仓库约定与用户此前选择判断;只有不同选择会改变公开结果时才提问。
  • 禁止默认使用 reset --hard、push --force、删除分支或改写历史。遇到冲突、权限不足或远端拒绝,保留现场,给出具体原因与可恢复的下一步。
  • 如果 GitHub 推送会触发生产部署,按项目的部署规则处理并验证生产状态;必要时转入 $cs-ending-time。

交付报告

简洁列出:仓库、目标分支或 PR、提交 SHA、推送到的远端地址、完成的验证,以及尚未交付的文件或阻塞。区分“本地提交”“分支已推送”“PR 已创建”“默认分支已更新”和“部署已验证”。

© ChenShuo2004, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in cs-github-push of ChenShuo2004/cs-skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 9b4f19e

Compare with similar skills

Cs GitHub Push next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cs GitHub Push compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cs GitHub Push this skillChenShuo2004/cs-skills191—~421Automated safety check: PassMIT
Procedural Fish Rendervibe-motion/skills1.3k—~419Automated safety check: PassNone
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
Draft Release Notesjamiepine/voicebox57k—~941Automated safety check: PassMIT

Similar skills

  • Procedural Fish Render

    vibe-motion/skills

    Clone or update https://github.com/vibe-motion/procedural-fish and render procedural-fish animation to a video using the project's own render command.

    1.3k GitHub stars~419 tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Draft Release Notes

    jamiepine/voicebox

    Writes or refreshes the Unreleased section of CHANGELOG.md as a themed narrative built from the commits, PRs and diff since the last version tag.

    57k GitHub stars~941 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed

More from ChenShuo2004/cs-skills

All 25 skills in this repo
  • Cs Checkpoint Version

    ChenShuo2004/cs-skills

    A skill your agent uses when the user asks to save the current repository version, create a rollback point, checkpoint dirty worktree changes, preserve staged/unstaged/untracked files before risky…

    191 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Cs Code Video

    ChenShuo2004/cs-skills

    用代码做动画视频:页面暴露 render(t),Playwright 逐帧截图 + FFmpeg 合成 mp4,可接合成配乐、出图和配音。通用模式先明确主题、规格、风格和声音,出风格卡、分镜与关键帧后逐镜制作;Vibe知识大赏模式额外查证来源、记录真实素材许可、先渲 10 秒样片。触发词包括…

    191 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Cs Knowledge Film

    ChenShuo2004/cs-skills

    制作明确要求暗夜星空、衬线双语字幕与金色光点风格的知识解说片,或用户显式调用 $cs-knowledge-film:从概念与画面隐喻设计,到口播、场景 spec、配音和 1080p 渲染。普通科普视频不默认套用这一视觉模板;网页产品演示、ChatCut 策划和电商视频复刻各用对应 skill。

    191 GitHub stars~806 tokensUpdated yesterday
    Auto-check passed
  • Cs Auto Videl

    ChenShuo2004/cs-skills

    A skill your agent uses when the user types $cs-auto-videl or asks for Douyin/TikTok ecommerce video workflows, including competitor replication, strong-Hook nine-grid promptimage.md to image2…

    191 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • 当用户要把产品事实、口播、数字人、产品界面和 CTA 制作成可验收的数字人产品介绍视频时使用:统一预检 ChatCut、FFmpeg、ComfyUI、Fish/TTS 与 Remotion,按 plan、sample、batch 三种模式编排,先完成可审批样片再批量或出成片。用于有明确产品包的横版/竖版产品视频流水线;不要用于通用自动剪辑、电商短视频复刻、纯视频选题策划或未经确认的批量生成与发布。

    191 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Cs Code Story Video

    ChenShuo2004/cs-skills

    把中文口播、角色和参考素材制作成可验收的 16:9 代码叙事视频:A-roll 角色讲述、全屏场景 B-roll、真实音频时码、Remotion 样片与成片、3:4/4:3 杂志风封面。仅用于代码驱动的叙事视频,不替代 ChatCut 剪辑、数字人产品片或电商复刻。

    191 GitHub stars~541 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cs GitHub Push

What does Cs GitHub Push do?

将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。. Cs GitHub Push is an agent skill from ChenShuo2004/cs-skills.

When should I use Cs GitHub Push?

Cs GitHub Push fits situations like: media & Creative work in your project.

How do I install Cs GitHub Push in Claude Code?

Run `npx skills add ChenShuo2004/cs-skills --skill cs-github-push -a claude-code`. Or copy the skill folder (cs-github-push in ChenShuo2004/cs-skills) into .claude/skills/cs-github-push in your project. Claude Code loads it when a task matches its description.

How do I install Cs GitHub Push in Codex?

Run `npx skills add ChenShuo2004/cs-skills --skill cs-github-push -a codex`. Or copy the skill folder (cs-github-push in ChenShuo2004/cs-skills) into .agents/skills/cs-github-push in your project. Codex loads it when a task matches its description.

Can I use Cs GitHub Push in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ChenShuo2004/cs-skills --skill cs-github-push -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cs-github-push, .gemini/skills/cs-github-push, .github/skills/cs-github-push and .opencode/skills/cs-github-push in your project.

What does Cs GitHub Push need to run?

Going by SKILL.md and its folder, Cs GitHub Push needs the command-line tools its instructions call (git).

Does Cs GitHub Push access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cs GitHub Push safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cs GitHub Push use?

Cs GitHub Push is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cs GitHub Push use?

About 421 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cs GitHub Push?

Skills that share tags, products or a category with Cs GitHub Push: Procedural Fish Render (vibe-motion/skills, 1.3k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars) and Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cs GitHub Push?

ChenShuo2004 (a GitHub user) maintains it in ChenShuo2004/cs-skills, which has 191 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.

Source: ChenShuo2004/cs-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.