git-workflow-general
Skill9 starsChanged 8 months agoMITView on GitHub
Git workflow: branch naming, conventional commits, PR conventions, and merge strategies
- Reads credentials
In this repository31 other files it gives its agents.
- git-workflow-releaseSkill
- skill-authoring-generalSkill
- git-workflow-releaseSkill
- skill-authoring-generalSkill
- accessibility-generalSkill
- accessibility-react-nativeSkill
- architecture-generalSkill
- architecture-pythonSkill
- assistant-rocky-lti-assistSkill
- assistant-ucd-mobileSkill
- ci-cd-github-actionsSkill
- code-review-generalSkill
- code-review-pythonSkill
- code-review-typescriptSkill
- data-science-pythonSkill
- design-frontendSkill
- documentation-projectSkill
- documentation-readmeSkill
- git-workflow-monorepoSkill
- git-workflow-pr-generatorSkill
- git-workflow-releaseSkill
- infrastructure-terraformSkill
- package-management-pythonSkill
- project-management-jiraSkill
- refactoring-typescriptSkill
- security-generalSkill
- skill-authoring-generalSkill
- testing-generalSkill
- testing-javaSkill
- testing-pythonSkill
- testing-typescriptSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 54
Delete branches after merge.
- Very specific: line 55
Never force-push to main or develop.
- Very specific: line 58
Never commit .env files, secrets, or credentials.
- Very specific: line 59
Add .env.example with placeholder values.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Workflow
Branch Naming
<type>/<short-description>| Type | Use for |
feat | New functionality |
fix | Bug fixes |
chore | Tooling, deps, config |
refactor | Code improvements, no behavior change |
docs | Documentation only |
test | Adding or fixing tests |
hotfix | Urgent production fix |
Examples: feat/user-auth, fix/login-redirect, chore/upgrade-node
Commit Messages (Conventional Commits)
<type>(<scope>): <subject>
[body — explain why, not what]
[footer — Closes #123, breaking changes]- Subject: imperative mood, no period, max 72 characters.
- Body: explain why the change was made. Reference issues.
feat(auth): add JWT refresh token support
Adds sliding window refresh to prevent session expiry during active use.
Tokens expire after 7 days of inactivity. Refresh endpoint is POST /auth/refresh.
Closes #142Pull Requests
- Title: follows conventional commit format.
- Description: what changed, why, and how to test it.
- Size: one logical change per PR. Large PRs get worse reviews.
- Reviewers: request at least one before merging.
- Link: reference the related issue.
Merge Strategy
- Squash and merge for feature branches → clean linear history on
main. - Merge commit for release branches → preserves release history.
- Delete branches after merge.
- Never force-push to
mainordevelop.
Rules
- Never commit
.envfiles, secrets, or credentials. - Add
.env.examplewith placeholder values. - CI must be green before merging.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

