hs:git

Automates git commits, pushes, pull requests, and merges with conventional commit formatting and secret scanning.

Updated Jul 19, 2026
One-click install
npx skills add https://github.com/Dozyboy/VSF --skill hs-git-dozyboy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hs:git
Source: https://github.com/Dozyboy/VSF/tree/main/Day2_VSF/Demo1/harness/plugins/hs/skills/git
Command: npx skills add https://github.com/Dozyboy/VSF --skill hs-git-dozyboy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manually staging changes, writing consistent commit messages, checking for leaked secrets, and managing pull requests is repetitive and error-prone. This Skill standardizes git operations with conventional commits, automatic commit splitting, and mandatory secret scanning before every commit. ## Core Features & Use Cases - Conventional Commits with Auto-Splitting: Stages changes, analyzes the diff, and splits work into atomic commits grouped by type (config, deps, test, code, docs) using the type(scope): description format. - Secret Scanning Gate: Scans every staged diff for API keys, tokens, passwords, private keys, and database URLs, blocking the commit until the user resolves the issue. - PR and Merge Workflows: Creates pull requests via GitHub CLI, merges branches from remote state, merges open PRs with squash/merge/rebase strategies, and watches target-branch CI after merging. - Use Case: After finishing a feature branch, run the pr operation to sync with main, generate a titled PR with summary and test plan, then use merge-pr to squash-merge it and monitor the resulting CI run. ## Quick Start Ask the assistant to stage and commit my current changes with a conventional commit message using the git skill.

Frequently Asked Questions about hs:git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create conventional commits automatically with git?▼

Stage your changes and invoke the commit operation, which analyzes the staged diff and generates messages in the type(scope): description format. When changes span multiple types, it splits them into separate atomic commits for config, dependencies, tests, code, and docs.

How to scan git commits for secrets before pushing?▼

The skill runs a mandatory grep-based scan of the staged diff for patterns like API keys, AWS AKIA identifiers, tokens, passwords, private keys, and database connection strings. If any match is found, the commit is blocked until you remove the secret or move it to environment variables.

Can I merge an open GitHub PR from the command line?▼

Yes, the merge-pr operation wraps gh pr merge and defaults to squash-merging the current branch's open PR with branch deletion. It refuses to proceed when checks are failing or the PR has conflicts, and watches target-branch CI after the merge completes.

Why was my git push blocked by the pre-push hook?▼

The pre-push hook requires a verification.json artifact and calls artifact_check.check_stage before allowing any push. If the artifact is missing or python3 is unavailable, the hook exits with a fail-closed error; create the verification artifact as instructed rather than bypassing the hook.

When should I avoid force pushing with this workflow?▼

Never force push to main, master, production, or release branches; the skill warns and refuses in those cases. Force pushing a feature branch is allowed only after explicit user confirmation, since it rewrites history and can cause collaborators to lose work.