agentleFS
goo114yy-sudogoo114yy-sudo/claude-skills/skills/development/git-workflow-and-versioning/SKILL.md

git-workflow-and-versioning

Skill0 starsChanged 28 days agoNo licenceView on GitHub

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog. Use when asked to write a commit message or a changelog entry for a change, or to split a change into commits, even when the diff is pasted inline and the message seems easy to write from it.

  • Reads credentials
  • Deletes or force-pushes
  • Commits and pushes

78 other projects use a version of this, 60 of them edited; 8 of 59 edited versions we compared changed its rules; 0 new projects in the last 4 weeks, against 2 the 4 before.

How people change it

8 of 59 edited versions changed its rules, and some changes recur.

Of the 59 edited versions we compared: 50 keep every rule, 1 is an older text, 8 made changes of their own.

Not in older versions

  1. Keep main always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. …missing from 1 of 1
  2. Dev branches are costs. Every day a branch lives, it accumulates merge risk.missing from 1 of 1
  3. Release branches are acceptable. When you need to stabilize a release while main moves forward.missing from 1 of 1
  4. Feature flags > long branches. Prefer deploying incomplete work behind flags rather than keeping it on a branch for weeks.missing from 1 of 1
  5. Prefer feature flags over long-lived branches for incomplete featuresmissing from 1 of 1

Rules people drop

  1. Commit generated files only if the project expects them (e.g., package-lock.json, Prisma migrations)dropped by 6 of 8
  2. After any modification, provide a structured summary. This makes review easier, documents scope discipline, and surfaces unintended changes:dropped by 5 of 8
  3. Keep main always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. …dropped by 4 of 8
  4. Dev branches are costs. Every day a branch lives, it accumulates merge risk.dropped by 4 of 8
  5. Release branches are acceptable. When you need to stabilize a release while main moves forward.dropped by 4 of 8
  6. Feature flags > long branches. Prefer deploying incomplete work behind flags rather than keeping it on a branch for weeks.dropped by 4 of 8
  7. Commit messages explain the *why*, not just the *what*:dropped by 4 of 8
  8. Don't combine formatting changes with behavior changes. Don't combine refactors with features. Each type of change should be a separate commit — and ideally a separate PR:dropped by 4 of 8

Rules people add

  1. Commit messages 解释 *why*,而不只是 *what*:added by 2 of 8
  2. A rule we can't quote: its licence doesn't allow itadded by 2 of 8

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data

Week of Oct 4: 1 new projectWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 1 new projectWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 2 in all, so this is a hint, not a trend.

Most recently taken up by

Used with

Projects with it also use accessibility-engineering, constraint-driven-development and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • steven123397Skill

    accessibility-engineering

    Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.

    Also in 4 projects that use this

  • MrCipherSmithSkill

    constraint-driven-development

    Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.

    Also in 22 projects that use this

  • jaydubya818Skill

    deprecation-and-migration

    Retire APIs or migrate consumers and persistent data across releases.

    Also in 42 projects that use this

  • HK-hubSkill

    source-driven-development

    Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

    Also in 43 projects that use this

  • seikaikyoSkill

    doubt-driven-development

    對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。

    Also in 41 projects that use this

  • HK-hubSkill

    code-simplification

    Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

    Also in 49 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 14 are common, 0 are distinctive, and 1 is very specific to this project.

  • 14

    Common

    Most of the 68 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.