ck:git

Automate git workflows for staging, committing, pushing, PR creation, and merging.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/hidonguyen/trade-ops --skill ck-git-hidonguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:git
Source: https://github.com/hidonguyen/trade-ops/tree/main/.opencode/skills/git
Command: npx skills add https://github.com/hidonguyen/trade-ops --skill ck-git-hidonguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates and standardizes routine Git workflows so users can stage, inspect, split, commit, push, create pull requests, and merge branches reliably while preventing secrets and enforcing conventional commit rules.

Core Features & Use Cases

  • Conventional Commits & Commit Splitting: Suggests or creates commits grouped by type and scope when mixed changes are detected.
  • Security & Safety Checks: Scans staged diffs for API keys, tokens, and other secrets and blocks commits with remediation guidance.
  • PR & Merge Workflows: Creates remote-based pull requests, generates conventional commit style titles/bodies, and performs merges with pre-merge checks and conflict guidance.
  • Use Case: A developer with mixed changes across auth and payments uses the skill to group files into logical commits, run secret scans, push to origin, and open a PR that follows repository commit standards.

Quick Start

Use ck:git cp to stage changes, split commits by type, push to origin, and open a pull request.

Frequently Asked Questions about ck:git

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

FAQPage Schema
How do I split mixed git changes into separate conventional commits?

Conventional commits follow a structured format grouping changes by type and scope. This skill analyzes staged diffs and suggests grouped commits to standardize commit history and clarify release workflows.

How do I scan staged git diffs for secrets before pushing?

Scan staged git diffs for secrets detects API keys and tokens before committing. This skill blocks commits containing sensitive data and provides remediation guidance to prevent accidental exposure.

How do I create a pull request with conventional commit titles using gh-cli?

Create pull requests with conventional commit titles using gh-cli by generating remote-based PRs. This skill formats titles and bodies automatically and performs pre-merge checks for branch integration.

Can I automate git branch merging and conflict resolution checks?

Automate git branch merging and conflict resolution checks by performing pre-merge validations before integration. This skill provides conflict guidance to maintain branch lifecycle reliability during merges.

What is the best way to manage git branch lifecycle for feature development?

The best way to manage git branch lifecycle for feature development is automating staging, pushing, and merging workflows. This skill enforces conventional commits and secret scanning to maintain repository consistency.