Back to Skills

rulebook-git-workflow

verified

Git workflow standards including branching strategy, commit conventions, and PR guidelines. Use when creating branches, writing commit messages, preparing pull requests, or following git best practices.

View on GitHub

Marketplace

hivehub-marketplace

hivellm/rulebook

Plugin

rulebook

Repository

hivellm/rulebook
5stars

./skills/rulebook-git-workflow/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/hivellm/rulebook/blob/main/./skills/rulebook-git-workflow/SKILL.md -a claude-code --skill rulebook-git-workflow

Installation paths:

Claude
.claude/skills/rulebook-git-workflow/
Powered by add-skill CLI

Instructions

# Git Workflow Standards

## Branch Naming

```
feature/<task-id>-<short-description>
fix/<issue-id>-<short-description>
refactor/<scope>-<description>
docs/<scope>-<description>
```

## Commit Message Format

```
<type>(<scope>): <subject>

<body>

<footer>
```

### Types
- `feat`: New feature
- `fix`: Bug fix
- `docs`: Documentation
- `style`: Formatting
- `refactor`: Code restructuring
- `test`: Adding tests
- `chore`: Maintenance

### Example

```
feat(auth): add JWT token validation

Implement JWT validation middleware for protected routes.

Closes #123
```

## Pull Request Guidelines

### PR Title
```
feat(scope): short description
```

### PR Description

```markdown
## Summary
Brief description of changes.

## Changes
- Change 1
- Change 2

## Testing
How this was tested.

## Checklist
- [ ] Tests pass
- [ ] Lint passes
- [ ] Documentation updated
```

## Workflow Steps

1. Create feature branch from main
2. Make commits following conventions
3. Run quality checks before push
4. Create PR with description
5. Address review feedback
6. Squash and merge

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1055 chars