semver
Skill3 starsChanged 8 months agoCC0-1.0View on GitHub
Enforces Semantic Versioning 2.0.0 (semver.org) rules. Use when choosing a version bump type for a release, validating version strings, tagging releases, handling pre-release or build metadata, managing deprecations, or advising on version precedence.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- 27Aaron/skillstheir own version, first seen Nov 8, 2026
- r3b1s/skillstheir own version, first seen Nov 8, 2026
- mqmalagris/agent-skillstheir own version, first seen Nov 5, 2026
- lelborn/skillstheir own version, first seen Nov 1, 2026
- DeepSpaceCartel/skillstheir own version, first seen Oct 25, 2026
- alexjmiller5/agent-config-publictheir own version, first seen Oct 2, 2026
Other versions8 projects use a version of this.
Word for word · 1
- kayaman/agentskills★ 1100% same
Edited · 0
None found.
Wrote their own version · 7
- 27Aaron/skills★ 2same name
- DeepSpaceCartel/skills★ 2same name
- r3b1s/skills★ 2same name
- jasoncrawford/claude-skills★ 1same name
- alexjmiller5/agent-config-public★ 0same name
- lelborn/skills★ 0same name
- mqmalagris/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- 3d-printingSkill
- app-securitySkill
- architecture-designSkill
- aws-genai-lensSkill
- aws-well-architected-frameworkSkill
- aws-well-architectedSkill
- azure-well-architectedSkill
- blog-post-with-diagramsSkill
- clean-architectureSkill
- clean-codeSkill
- databricks-genie-spaces-best-practicesSkill
- data-visualization-guideSkill
- design-an-interfaceSkill
- design-patternsSkill
- domain-driven-designSkill
- dry-principleSkill
- edit-articleSkill
- event-driven-designSkill
- git-best-practicesSkill
- git-guardrails-claude-codeSkill
- grill-meSkill
- hexagonal-architectureSkill
- improve-codebase-architectureSkill
- language-conventions-source-en-docs-brSkill
- learn-electronicsSkill
- linked-dataSkill
- microservices-skillSkill
- object-oriented-programmingSkill
- oop-design-patternsSkill
- oreilly-design-referenceSkill
- organize-docs-from-zipSkill
- prd-to-issuesSkill
- prd-to-planSkill
- project-context-syncSkill
- request-refactor-planSkill
- rfc2119Skill
- scaffold-exercisesSkill
- setup-pre-commitSkill
- solid-principlesSkill
- tddSkill
- todoSkill
- triage-issueSkill
- ts-otp-awsSkill
- ubiquitous-languageSkill
- ux-design-principlesSkill
- write-a-prdSkill
- write-a-skillSkill
- yagni-principleSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 63
Remove the functionality in a subsequent MAJOR release.
- Distinctive: line 64
Never remove deprecated functionality without a prior minor release that contains the deprecation notice.
- Very specific: line 78
Start at 0.1.0 and increment MINOR for each subsequent release.
- Distinctive: line 96
When releasing a new version, verify:
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Semantic Versioning 2.0.0
Reference: https://semver.org/spec/v2.0.0.html
Version Format
MAJOR.MINOR.PATCH[-pre-release][+build]| Segment | When to increment | Reset rule |
| MAJOR (X) | Backward-incompatible API change | Resets MINOR and PATCH to 0 |
| MINOR (Y) | New backward-compatible functionality or deprecation notice | Resets PATCH to 0 |
| PATCH (Z) | Backward-compatible bug fix only | — |
Normative Rules
- A public API MUST be declared (in code or documentation).
- Version MUST be
X.Y.Z— non-negative integers, no leading zeroes, each MUST increase numerically. - Once a version is released, its contents MUST NOT be modified. Any change MUST be a new version.
0.y.zis for initial development — anything MAY change, public API SHOULD NOT be considered stable.1.0.0defines the first stable public API.- PATCH MUST be incremented for backward-compatible bug fixes only.
- MINOR MUST be incremented when new backward-compatible functionality is introduced or any public API is deprecated. MAY include patch-level changes.
- MAJOR MUST be incremented for any backward-incompatible change. MAY include minor and patch-level changes.
- A released version MUST NOT be altered — even to fix a bug. Release a new version instead.
Pre-release Versions
- Append a hyphen and dot-separated identifiers:
1.0.0-alpha,1.0.0-alpha.1,1.0.0-0.3.7 - Identifiers MUST use only
[0-9A-Za-z-], MUST NOT be empty, numeric identifiers MUST NOT have leading zeroes. - Pre-release has lower precedence than the associated normal version:
1.0.0-alpha < 1.0.0
Build Metadata
- Append a
+and dot-separated identifiers:1.0.0+20130313,1.0.0-beta+exp.sha.5114f85 - Build metadata MUST be ignored when determining precedence.
Precedence
Compare identifiers left to right: MAJOR → MINOR → PATCH → pre-release (build metadata ignored).
Pre-release precedence example:
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0Pre-release identifier comparison rules:
- Numeric-only identifiers are compared numerically.
- Alphanumeric identifiers are compared lexically in ASCII order.
- Numeric identifiers have lower precedence than alphanumeric identifiers.
- A larger set of pre-release fields has higher precedence when all preceding identifiers are equal.
Deprecation Workflow
- Issue a new MINOR release that marks functionality as deprecated (with documentation update).
- Remove the functionality in a subsequent MAJOR release.
- Never remove deprecated functionality without a prior minor release that contains the deprecation notice.
Common Pitfalls
| Pitfall | Correct behaviour |
v1.2.3 is not a SemVer string | The SemVer string is 1.2.3; the v prefix is a tag naming convention, not part of the spec |
| Modifying a released version | MUST NOT be done — release a new version |
Leading zeroes (01.2.3, 1.02.3) | MUST NOT appear in any numeric identifier |
| Bumping MAJOR for every deprecation | Deprecations warrant a MINOR bump; removal warrants a MAJOR bump |
| Skipping the deprecation MINOR release | At least one MINOR release with the deprecation MUST precede removal |
Initial Development Guidance
- Start at
0.1.0and increment MINOR for each subsequent release. - Increment PATCH for backward-compatible bug fixes within the
0.y.zrange. - Promote to
1.0.0when the software is used in production or has a stable API that users depend on.
Validation Regex
Named groups (PCRE / Python / Go):
^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$Numbered groups (ECMAScript / JavaScript):
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$Checklist
When releasing a new version, verify:
- The change type is correctly identified (bug fix → PATCH, new feature/deprecation → MINOR, breaking change → MAJOR)
- Version string contains no leading zeroes
- Previously released version contents have not been modified
- If deprecating, a MINOR release is made before any future MAJOR removal
- Git tag uses the
vX.Y.Zconvention (e.g.git tag v1.2.3) while the SemVer string itself is1.2.3 - CHANGELOG or release notes document the nature of the change
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.

