git-workflow

Route git operations to reference-backed guidance for status, diff, log, commits, branches, conflicts, and rebasing.

2|2|Updated Apr 7, 2013
One-click install
npx skills add https://github.com/warpcode/dotfiles --skill git-workflow-warpcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/warpcode/dotfiles/tree/main/generic/.config/opencode/skills/git-workflow
Command: npx skills add https://github.com/warpcode/dotfiles --skill git-workflow-warpcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Routes ALL git operations to appropriate resources, loading references before responding, and providing actionable guidance without committing or pushing without explicit permission.

Core Features & Use Cases

  • Centralized guidance for status, diff, log, commits, branches, conflicts, and rebases.
  • Reference-driven workflows for branch strategies, conflict resolution, and rebase guidelines.
  • Safe, permission-driven operations with explicit user confirmation for destructive actions.

Quick Start

Use for any Git operation to get structured, reference-backed guidance.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I resolve git merge conflicts safely?

Git merge conflicts occur when branches modify the same lines. This Skill routes conflict resolution by loading reference guidelines, showing you the conflicting sections, and recommending strategies—status, diffs, and rebase workflows—without auto-committing changes.

What's the best way to manage branches and rebasing in git?

Branch management and rebasing organize commits across workflows. This Skill provides reference-driven guidance on branch strategies, rebase workflows, and safe rebase operations, routing all decisions through structured recommendations before any destructive action.

How do I review git diffs and commit logs effectively?

Git diff and log commands expose code changes and history. This Skill centralizes guidance on reading diffs, inspecting commits, and understanding branches by formatting outputs and routing queries to appropriate references for actionable insights.

Can I use git workflows across local repositories and GitHub?

Git workflows span local repos and remote platforms like GitHub. This Skill routes operations—status, commits, branches, conflicts, code review—across both local and GitHub workflows, providing guidance that aligns with your platform without committing without permission.

Why should I load references before executing git operations?

References provide guardrails for safe, consistent git practices. This Skill loads reference files before responding to ensure all guidance on conflicts, rebasing, and branching strategies aligns with proven patterns and prevents unsafe commits or pushes.

What operations require explicit user permission in git workflows?

Destructive git operations—commits, pushes, resets—pose risk if executed without confirmation. This Skill requires explicit permission for all write operations, routing requests through a permission check so you retain full control over when changes are applied.