Automated summary
This skill automates Git commit and push operations with security checks and Conventional Commits messages.
Strengths
- Detects and warns about sensitive files before committing
- Automatically generates commit messages in Conventional Commits format
- Requires user confirmation before executing actions
- Supports automatic push to remote branch
Limitations
- Only works on local Git repositories
- Can be slow for large sets of changes
- Does not handle complex merge conflicts
Use this skill to quickly commit and push changes with properly formatted messages and security checks.
Avoid using it when you need to review each change in detail or manage multiple repositories simultaneously.
Security analysis
CautionThe skill automates git commit and push with user confirmation and secret detection, reducing risk. However, it uses Bash to perform powerful repository actions, and final control relies on the user's judgment, so caution is warranted.
- •Uses Bash to run git commands, which could push commits to remote repositories.
- •The security check for sensitive files is advisory; user can still confirm commit with secrets.
- •git add . stages all changes, potentially including unintended files if not reviewed carefully.
Examples
コミットしてプッシュして変更をコミットして、メッセージは「fix: ログインのバグを修正」プッシュしてname: committer description: 変更をコミットしてプッシュする。「コミット」「コミットして」「変更をコミット」「プッシュして」などで起動。 allowed-tools: [Read, Bash, Glob, Grep]
Committer
変更をコミットしてリモートにプッシュします。
ワークフロー
1. 変更内容の確認
# 変更状態を確認
git status
# 変更差分を確認
git diff
git diff --staged
2. セキュリティチェック
以下のパターンを検出したら警告し、.gitignore への追加を提案:
| パターン | 説明 |
|----------|------|
| .env* | 環境変数ファイル |
| *.pem, *.key | 秘密鍵 |
| credentials.json | 認証情報 |
| *_secret*, *_token* | シークレット |
| node_modules/ | Node.js 依存パッケージ |
| vendor/ | PHP/Go 依存パッケージ |
| .DS_Store | macOS システムファイル |
警告が出た場合:
⚠️ 機密ファイルが検出されました:
- .env.local
.gitignore に追加しますか?
3. コミットメッセージ生成
変更内容を分析し、Conventional Commits 形式でメッセージを自動生成:
プレフィックス判定:
| 変更内容 | プレフィックス |
|----------|---------------|
| 新規ファイル追加(機能) | feat: |
| バグ修正 | fix: |
| ドキュメント変更 | docs: |
| リファクタリング | refactor: |
| テスト追加・修正 | test: |
| ビルド・依存関係 | chore: |
メッセージ例:
feat: ユーザー認証機能を追加
- ログインフォームを実装
- JWT トークン認証を追加
- セッション管理を実装
4. ユーザー確認
## コミット内容の確認
### 変更ファイル
{git status --short の出力}
### コミットメッセージ
{自動生成されたメッセージ}
この内容でコミット・プッシュしてよろしいですか?
5. コミット実行
git add .
git commit -m "{コミットメッセージ}"
6. プッシュ実行
# リモートブランチが設定されていない場合
git push -u origin {現在のブランチ名}
# リモートブランチが設定されている場合
git push
7. 完了報告
## コミット完了
コミット: {commit_hash}
ブランチ: {branch_name}
プッシュ: ✅ 完了
変更内容:
- {変更ファイル1}
- {変更ファイル2}
重要な注意事項
- ✅ コミット前に必ずユーザー確認を行う
- ✅ 機密ファイルをコミットしない
- ✅ Conventional Commits 形式を使用
- ❌ 確認なしでコミット・プッシュしない
- ❌ main ブランチへの直接コミットは避ける(警告を出す)
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-commit-validator-mm78nndh/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-commit-validator-mm78nndh' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-commit-validator-mm78nndh/download' --output '.skill-downloads/git-commit-validator-mm78nndh/SKILL.md.part' && mv '.skill-downloads/git-commit-validator-mm78nndh/SKILL.md.part' '.skill-downloads/git-commit-validator-mm78nndh/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-commit-validator-mm78nndh/SKILL.md' && test -s '.skill-downloads/git-commit-validator-mm78nndh/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/committer' && cp -R '.skill-downloads/git-commit-validator-mm78nndh' '.claude/skills/committer'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-commit-validator-mm78nndh'openskills read 'git-commit-validator-mm78nndh'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-commit-validator-mm78nndh/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.