AgentSkillsCN

Push to GitHub

运行所有必要检查(如代码风格检查、单元测试),并推送至 GitHub。可作为最后一道安全防线。

SKILL.md
--- frontmatter
name: Push to GitHub
description: Runs all necessary checks (lint, tests) and pushes to GitHub. Use this as the final safety gate.

Push to GitHub

Use this skill when you are ready to push your changes to the remote repository. It acts as a safety gate to prevent breaking CI.

Usage

  1. Verifies changes (Unit Tests).
  2. Runs code checks (Lint/CheckCode).
  3. Pushes to the current branch.

Command

bash
python3 .agent/skills/push_to_github/scripts/push.py