Agent skill

git-workflow

Orchestrates git commit and push operations based on user intent

Stars 1
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/sequenzia/claude-plugins/tree/main/plugins/dev-tools/skills/git-workflow

SKILL.md

Git Workflow

This skill routes git operations to the appropriate commands based on user intent.

When to Use

Trigger this skill when the user wants to:

  • Commit only: "commit changes", "save changes", "commit this", "commit it", "commit my work"
  • Push only: "push changes", "push to remote", "push it up", "push this", "push it"
  • Both: "commit and push", "ship it", "send it up", "save and push"

Behavior

Commit Only

When the user's intent is to commit without pushing:

Trigger phrases: commit, save changes, commit this, commit it, commit my work

Action: Run /dev-tools:git-commit

Push Only

When the user's intent is to push existing commits without creating a new commit:

Trigger phrases: push, push changes, push to remote, push it up, push it

Action: Run /dev-tools:git-push

Commit and Push

When the user wants to commit their changes AND push them to the remote:

Trigger phrases: commit and push, ship it, send it up, save and push

Action: Run /dev-tools:git-commit first, then /dev-tools:git-push

Decision Logic

  1. Parse the user's request for intent keywords
  2. If request contains "push" but NOT "commit" → push only
  3. If request contains "commit" or "save" but NOT "push" → commit only
  4. If request contains both "commit" and "push" → commit then push
  5. If request matches "ship it" or "send it up" → commit then push

Notes

  • The commit command stages all changes before committing
  • The push command handles upstream conflicts with automatic rebase
  • If commit fails (e.g., pre-commit hook), do not proceed to push

Expand your agent's capabilities with these related and highly-rated skills.

sequenzia/claude-plugins

spec-task-management

This skill should be used when the user asks to "analyze a specification", "break down a spec", "create tasks from a PRD", "decompose requirements", "generate a task list from a design document", or mentions working from specification documents. Provides comprehensive guidance for transforming specifications into structured, actionable task lists optimized for AI coding agents.

1 0
Explore
sequenzia/claude-plugins

simple-task-management

This skill should be used when the user asks to "generate tasks from a spec", "break down a spec", "create tasks from a PRD", "decompose requirements", "generate a task list from a design document", or mentions working from specification documents. Provides guidance for transforming specifications into structured, actionable task lists organized under missions.

1 0
Explore
sequenzia/claude-plugins

architecture-patterns

Provides architectural pattern knowledge for designing feature implementations including MVC, event-driven, microservices, and CQRS patterns

1 0
Explore
sequenzia/claude-plugins

project-conventions

Guides discovery and application of project-specific conventions including code patterns, naming, structure, and team practices

1 0
Explore
sequenzia/claude-plugins

code-quality

Provides code quality principles including SOLID, DRY, testing strategies, and best practices for implementation review

1 0
Explore
sequenzia/claude-plugins

changelog-format

Keep a Changelog format guidelines and entry writing best practices

1 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results