maroffo/claude-forge/source-control
Claude Code and agent skill by maroffo/claude-forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
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-controlSemi-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
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
Commit Process
- Check state:
``bash git status && git diff HEAD && git branch --show-current && git log --oneline -5 ``
- Verify NOT on main/master (abort if so, unless authorized)
- Stage specific files (never
git add -A):
``bash git add <specific-files> ``
- Commit with conventional format:
``bash git commit -m "<type>(<scope>): <subject>" ``
Branch Naming
| Type | Pattern | |
|---|---|---|
| Feature | feat/user-auth, feature/dashboard | |
| Fix | fix/login-bug, bugfix/api-error | |
| Hotfix | hotfix/security-patch | |
| Chore | chore/update-deps |
Workflow
| Use | When | |
|---|---|---|
| Rebase | Keep feature branch current, clean linear history | |
| Merge | Integrate 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:
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-leaseonly, 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/masterunless explicitly authorized - Small, logical commits; no huge unrelated changes
--force-with-lease, never bare--forceon shared branches- Run
make check && make test-e2ebefore 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
- SKILL.md in the repositoryCheckingskills/source-control/SKILL.md
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
[](https://verified-skill.com/skills/maroffo/claude-forge/source-control)