Cs Github Push logo

Cs Github Push

Community
ChenShuo2004
cs-github-push

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

Overview

PublisherChenShuo2004
Repositorycs-skills
Skill namecs-github-push
Stars
204
Forks
21
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ChenShuo2004 on GitHub. Read the source before you install it.

Installation

Install the Cs Github Push AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ChenShuo2004/cs-skills/tree/main/cs-github-push
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ChenShuo2004/cs-skills.git /tmp/cs-skills
mkdir -p .claude/skills
cp -r /tmp/cs-skills/cs-github-push .claude/skills/cs-github-push
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cs Github Push in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cs Github Push on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cs Github Push is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 已创建”“默认分支已更新”和“部署已验证”。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cs Github Push AI skill do?

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

Why use Cs Github Push on TypingMind?

Because you install it once and use it with any model. Cs Github Push is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cs Github Push in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ChenShuo2004/cs-skills/tree/main/cs-github-push. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cs Github Push?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cs Github Push?

As many as you like. As long as a model supports skills, you can use Cs Github Push with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cs Github Push AI skill free?

Yes. It is published on GitHub by ChenShuo2004 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇