Automated summary
Automates common Git operations (add, commit, push) based on user requests.
Strengths
- Generates relevant commit messages automatically.
- Confirms user intent before performing any action.
- Supports interactive staging via git add -p.
- Checks remote synchronization before pushing.
Limitations
- Does not handle complex merge conflicts.
- Limited to basic operations (add, commit, push).
- Requires explicit user instruction to trigger.
Best for fast, error-free automation of the standard Git workflow (add, commit, push).
Not suitable for advanced operations like branch management, complex merges, or rebasing.
Security analysis
CautionThe skill automates git add, commit, and push, which are powerful operations that modify repository state and can publish code. The instructions include confirmation steps, but the risk of miscommunication or unintended pushes remains, so caution is advised.
- •Instructs AI to execute git push, which could push unintended changes if user intent is not properly confirmed.
- •Automation of git operations without explicit per-action user confirmation might lead to accidental repository modifications.
Examples
Add index.html and style.css to staging.Commit my changes.Push my current branch to origin.name: git-skill description: 用户说使用 git 时调用,git add,git commit, git push 自动化
instructions
当用户要求进行 Git 相关操作时,请遵循以下规则:
- 仅在用户明确要求进行 Git 操作时使用此技能。
- 支持的操作包括:git add、git commit、git push。
- 在执行任何操作前,务必确认用户的意图。
- 在执行 git commit 时,由你根据上下文生成合适的提交信息,确保其简洁且描述性强。
- 在执行 git push 前,确保本地分支与远程分支同步,避免冲突。
usage examples
-
添加变更(git add) 目的:将工作区的修改暂存到索引区。 最优操作: 使用 git add <文件名> 精确添加特定文件,避免使用 git add . 误加无关文件。 交互式暂存:git add -p 可逐块审查变更,适合部分提交。 始终通过 git status 验证暂存内容。
-
提交变更(git commit) 目的:将暂存区的变更记录到本地仓库。 最优操作: 提交信息规范:采用清晰格式(如 类型: 描述),例如 fix: 修复登录逻辑错误。 频繁提交:小单元提交便于回溯,避免大规模一次性提交。 命令选择:git commit -m "消息" 快速提交,或 git commit 编写详细说明。
-
推送到远程(git push) 目的:将本地提交同步到远程仓库(如 GitHub)。 最优操作: 先拉取后推送:执行 git pull 合并远程更新,防止冲突。 指定分支:git push origin <分支名> 确保目标准确。 定期推送:减少合并复杂度,结合代码审查流程。
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/git-automation-mm5t8biz/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/git-automation-mm5t8biz' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-automation-mm5t8biz/download' --output '.skill-downloads/git-automation-mm5t8biz/SKILL.md.part' && mv '.skill-downloads/git-automation-mm5t8biz/SKILL.md.part' '.skill-downloads/git-automation-mm5t8biz/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && test -s '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/git-skill' && cp -R '.skill-downloads/git-automation-mm5t8biz' '.claude/skills/git-skill'Cursor
test -f '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && test -s '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/git-skill' && cp -R '.skill-downloads/git-automation-mm5t8biz' '.cursor/skills/git-skill'Codex
test -f '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && test -s '.skill-downloads/git-automation-mm5t8biz/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/git-skill' && cp -R '.skill-downloads/git-automation-mm5t8biz' '.agents/skills/git-skill'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/git-automation-mm5t8biz'openskills read 'git-automation-mm5t8biz'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/git-automation-mm5t8biz/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.