AGENT SKILL

git-commit-push

Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes.

License 许可
MIT
最近更新
2026-06-28
Stars
★ 1
Forks
0

01 前言 Front Matter

name
git-commit-push
license
MIT
metadata
{ "author": "farm", "version": "1.0" }
description
Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes.
compatibility
Requires git repository with remote configured.

02 资源文件 1

03 SKILL.md 正文

Safely commit and push changes for the current branch.

Steps

  1. Check current branch and repo status

    • git branch --show-current
    • git status --short
  2. Validate commit preconditions

    • If no changes: stop and report nothing to commit.
    • If merge conflicts exist: stop and ask user for conflict resolution direction.
  3. Stage changes

    • Default: git add -A
    • If user specifies paths, only stage those.
  4. Create commit

    • Use user-provided commit message.
    • If none is provided, draft a concise conventional message and ask for confirmation.
    • Run git commit -m "<message>".
  5. Push changes

    • Run git push.
  6. Report result

    • Include branch name, commit hash, commit title, and push destination.
    • Include final git status --short result.

Guardrails

  • Never use destructive git operations (force push, reset --hard, checkout --) unless explicitly requested.
  • Do not amend commits unless explicitly requested.
  • If hooks fail, surface the first failure and stop.

04 同仓库更多 Skills

vdcworkshop
vdcworkshop/Skills-Catalog

rhaios-staging

Interact with the Rhaios staging REST API for yield operations. Discover -> prepare -> setup-if-needed -> sign -> execute flow with pluggable signer backend. Triggers on requests involving DeFi yield, vault deposits, redeems, rebalancing, or Rhaios API.

★ 1
vdcworkshop
vdcworkshop/Skills-Catalog

exec-slurm-compile

Compile TensorRT-LLM on a SLURM cluster. Covers submitting a batch job with a container image, monitoring the job, and verifying the build. Use when the user wants to compile TRT-LLM remotely via SLURM rather than on a local compute node.

★ 1
vdcworkshop
vdcworkshop/Skills-Catalog

databases

Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.

★ 1
vdcworkshop
vdcworkshop/Skills-Catalog

toast

Toast — restaurant POS, orders, menus, employees, revenue centers, and reporting.

★ 1
vdcworkshop
vdcworkshop/Skills-Catalog

k-schoollunch-menu

Use when the user asks for Korean school meal menus (급식 식단) by natural-language education office and school name, via k-skill-proxy NEIS school-search and school-meal routes.

★ 1
vdcworkshop
vdcworkshop/Skills-Catalog

theme-factory

This skill provides a curated collection of professional font and color themes themes, each with carefully selected color palettes and font pairings. Once a theme is chosen, it can be applied to any artifact.

★ 1