Agent Skills: Git Commits - Project Specifics

Provides project-specific git commit guidance for Simple History, especially for changes spanning core and premium plugins. Triggers: "commit", "multi-repo commit".

UncategorizedID: bonny/wordpress-simple-history/git-commits

Install this agent skill to your local

pnpm dlx add-skill https://github.com/bonny/WordPress-Simple-History/tree/HEAD/.claude/skills/git-commits

Skill Files

Browse the full folder contents for git-commits.

Download Skill

Loading file tree…

.claude/skills/git-commits/SKILL.md

Skill Metadata

Name
git-commits
Description
Provides project-specific git commit guidance for Simple History, especially for changes spanning core and premium plugins. Triggers: "commit", "multi-repo commit".

Git Commits - Project Specifics

Project-specific commit guidance for Simple History.

Multi-Repository Workflow

When changes span core (this repo) and premium (simple-history-premium):

  1. Commit core first, then premium
  2. Use related commit messages that reference each other
  3. Push core before premium when dependencies exist

When to Split Commits

Separate commits:

  • CSS vs PHP logic changes
  • Different features (even in same file)
  • Refactoring vs new functionality
  • Multiple independent bug fixes

Single commit:

  • Related changes for one feature
  • A handler + its CSS
  • Tests for the feature being added

Commit Message Style

Follow existing repo style - check git log --oneline -5 for examples.

<summary - what and why>

<optional body with context>

Keep summary concise and descriptive.