Gitflow Workflow Rules. These rules should be applied when performing git operations.
Add this skill
npx mdskills install PatrickJS/cursor-gitflowComprehensive gitflow reference with clear branching rules and conventions.
1---2description: Gitflow Workflow Rules. These rules should be applied when performing git operations.3---4# Gitflow Workflow Rules56## Main Branches78### main (or master)9- Contains production-ready code10- Never commit directly to main11- Only accepts merges from:12 - hotfix/* branches13 - release/* branches14- Must be tagged with version number after each merge1516### develop17- Main development branch18- Contains latest delivered development changes19- Source branch for feature branches20- Never commit directly to develop2122## Supporting Branches2324### feature/*25- Branch from: develop26- Merge back into: develop27- Naming convention: feature/[issue-id]-descriptive-name28- Example: feature/123-user-authentication29- Must be up-to-date with develop before creating PR30- Delete after merge3132### release/*33- Branch from: develop34- Merge back into:35 - main36 - develop37- Naming convention: release/vX.Y.Z38- Example: release/v1.2.039- Only bug fixes, documentation, and release-oriented tasks40- No new features41- Delete after merge4243### hotfix/*44- Branch from: main45- Merge back into:46 - main47 - develop48- Naming convention: hotfix/vX.Y.Z49- Example: hotfix/v1.2.150- Only for urgent production fixes51- Delete after merge5253## Commit Messages5455- Format: `type(scope): description`56- Types:57 - feat: New feature58 - fix: Bug fix59 - docs: Documentation changes60 - style: Formatting, missing semicolons, etc.61 - refactor: Code refactoring62 - test: Adding tests63 - chore: Maintenance tasks6465## Version Control6667### Semantic Versioning68- MAJOR version for incompatible API changes69- MINOR version for backwards-compatible functionality70- PATCH version for backwards-compatible bug fixes7172## Pull Request Rules73741. All changes must go through Pull Requests752. Required approvals: minimum 1763. CI checks must pass774. No direct commits to protected branches (main, develop)785. Branch must be up to date before merging796. Delete branch after merge8081## Branch Protection Rules8283### main & develop84- Require pull request reviews85- Require status checks to pass86- Require branches to be up to date87- Include administrators in restrictions88- No force pushes89- No deletions9091## Release Process92931. Create release branch from develop942. Bump version numbers953. Fix any release-specific issues964. Create PR to main975. After merge to main:98 - Tag release99 - Merge back to develop100 - Delete release branch101102## Hotfix Process1031041. Create hotfix branch from main1052. Fix the issue1063. Bump patch version1074. Create PR to main1085. After merge to main:109 - Tag release110 - Merge back to develop111 - Delete hotfix branch
Full transparency — inspect the skill content before installing.