maroffo/claude-forge/source-control

Claude Code and agent skill by maroffo/claude-forge

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Git conventions for commit messages and workflow. Use for git commit, conventional commits, branch strategy, rebasing, merge conflicts, git workflow. Not for general code changes that happen to need a commit afterward.

Install

npx vskill@latest install maroffo/claude-forge/source-control

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

ABOUTME: Git conventional commit format and version control best practices

ABOUTME: Commit message standards, branch strategies, workflow patterns

Source Control

Quick Reference

bash
git commit -m "feat: add user authentication"
git checkout -b feat/user-auth
git fetch origin && git rebase origin/main
git stash && git stash pop

Conventional Commits

Format: <type>(<scope>): <subject> (scope/body/footer optional), standard Conventional Commits types.

Rules: Imperative mood, present tense, lowercase, no period, max 50 chars

bash
# Good
git commit -m "feat(auth): add JWT validation"
git commit -m "fix: resolve race condition"
# Bad
git commit -m "Fixed stuff" # Not conventional
git commit -m "Feat: Add thing" # Capital letter

Commit Process

  1. Check state:

``bash git status && git diff HEAD && git branch --show-current && git log --oneline -5 ``

  1. Verify NOT on main/master (abort if so, unless authorized)
  1. Stage specific files (never git add -A):

``bash git add <specific-files> ``

  1. Commit with conventional format:

``bash git commit -m "<type>(<scope>): <subject>" ``


Branch Naming

TypePattern
Featurefeat/user-auth, feature/dashboard
Fixfix/login-bug, bugfix/api-error
Hotfixhotfix/security-patch
Chorechore/update-deps

Workflow

UseWhen
RebaseKeep feature branch current, clean linear history
MergeIntegrate to main (via PR), preserve history

Post-PR Loop (babysitting)

After a PR is opened, CI failures and review comments arrive asynchronously. Instead of Max polling, offer a time-based loop:

/loop 10m check PR #<N>: if CI failed, diagnose and fix; if new review comments, address them; commit fixes on the PR branch and push; stop when CI is green and no comments are unaddressed

Rules for the loop:

  • Push scope: the loop pushes fixes to the PR branch only; merging the PR stays with Max, even when CI is green and every comment is addressed.
  • Never force-push inside a loop; --force-with-lease only, and only for rebase-on-main conflicts Max asked for.
  • Commits inside the loop follow the same conventional format and pre-commit gate (make check && make test-e2e); hooks are never bypassed under loop time pressure.
  • Match the interval to the external system: CI that takes ~10 minutes doesn't need a 2-minute loop.
  • Stop condition is part of the prompt (CI green + comments addressed); the loop must not idle-run after the PR merges: cancel it from the session that started it (interrupt, or ask the loop to stop).

Rules

  • Commit, push the feature branch and open the PR without asking; never merge a PR (no gh pr merge, no auto-merge, no local merge into the integration branch or main): the merge is Max's review gate
  • NEVER work on main/master unless explicitly authorized
  • Small, logical commits; no huge unrelated changes
  • --force-with-lease, never bare --force on shared branches
  • Run make check && make test-e2e before committing (see language skills for the expansion)
  • Conflict resolution and recovery commands (reset, reflog, revert, amend): use standard git, no project-specific conventions here.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
Repository forks
2
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 6 months ago.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/maroffo/claude-forge/source-control/badge)](https://verified-skill.com/skills/maroffo/claude-forge/source-control)

Something wrong with this skill or its page? Tell us.