i18n/de/skills/apply-semantic-versioning/SKILL.md
Anwenden semantic versioning (SemVer 2.0.0) to determine the correct version bump basierend auf change analysis. Umfasst major/minor/patch classification, pre-release identifiers, build metadata, and brechende Aenderung detection. Verwenden wenn preparing a new release to determine the correct Versionsnummer, nach merging changes vor tagging, evaluating whether a change constitutes a brechende Aenderung, adding pre-release identifiers, or resolving disagreement about what version bump is appropriate.
npx skillsauth add pjt222/agent-almanac apply-semantic-versioningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bestimmen and apply the correct semantic version bump by analyzing changes since the last release. This skill reads version files, classifies changes as breaking (major), feature (minor), or fix (patch), computes the new Versionsnummer, and updates the appropriate files. Follows SemVer 2.0.0 specification.
Lokalisieren and read die Version file in das Projekt root.
# R packages
grep "^Version:" DESCRIPTION
# Node.js
grep '"version"' package.json
# Rust
grep '^version' Cargo.toml
# Python
grep 'version' pyproject.toml
# Plain file
cat VERSION
Parsen the aktuelle Version into major.minor.patch components. If die Version contains a pre-release suffix (e.g., 1.2.0-beta.1), note it separately.
Erwartet: Current version identified as MAJOR.MINOR.PATCH[-PRERELEASE].
Bei Fehler: If no version file is found, check for a VERSION file or git tags (git describe --tags --abbrev=0). If no version exists at all, start at 0.1.0 for initial development or 1.0.0 if das Projekt has a stable oeffentliche API.
Abrufen the list of changes since the last tagged release.
# Find the last version tag
git describe --tags --abbrev=0
# List commits since that tag
git log --oneline v1.2.3..HEAD
# If using Conventional Commits, filter by type
git log --oneline v1.2.3..HEAD | grep -E "^[a-f0-9]+ (feat|fix|BREAKING)"
If no tags exist, compare gegen the initial commit or a known baseline.
Erwartet: A list of commits with messages that kann classified by change type.
Bei Fehler: If git history is unavailable or tags are missing, ask the developer to describe the changes manuell. Classify basierend auf their description.
Anwenden the SemVer classification rules:
| Change Type | Version Bump | Examples | |---|---|---| | Breaking (incompatible API change) | MAJOR | Renamed/removed public function, changed return type, removed parameter, changed default behavior | | Feature (new backwards-compatible functionality) | MINOR | New exported function, new parameter with default, new file format support | | Fix (backwards-compatible bug fix) | PATCH | Bug fix, documentation correction, performance improvement with same API |
Classification rules:
Special cases:
0.x.y), minor bumps may contain brechende Aenderungs. Dokumentieren clearly.Erwartet: Each change classified as breaking/feature/fix, and the overall bump level determined.
Bei Fehler: If changes are ambiguous, err on the side of a higher bump. A conservative major bump is better than a minor bump that breaks downstream code.
Anwenden the bump to the aktuelle Version:
| Current | Bump | New Version | |---|---|---| | 1.2.3 | MAJOR | 2.0.0 | | 1.2.3 | MINOR | 1.3.0 | | 1.2.3 | PATCH | 1.2.4 | | 0.9.5 | MINOR | 0.10.0 | | 2.0.0-rc.1 | (release) | 2.0.0 |
If a pre-release label is requested:
1.3.0-alpha.1 for first alpha of upcoming 1.3.01.3.0-beta.1 for first beta1.3.0-rc.1 for first release candidatePre-release precedence: alpha < beta < rc < (release).
Erwartet: New Versionsnummer computed following SemVer rules.
Bei Fehler: If the aktuelle Version is malformed or non-SemVer, normalize it first. For example, 1.2 becomes 1.2.0.
Schreiben the new version to the appropriate file(s).
# R: Update DESCRIPTION
# Change "Version: 1.2.3" to "Version: 1.3.0"
// Node.js: Update package.json
// Change "version": "1.2.3" to "version": "1.3.0"
// Also update package-lock.json if present
# Rust: Update Cargo.toml
# Change version = "1.2.3" to version = "1.3.0"
If das Projekt has multiple files that reference die Version (e.g., _pkgdown.yml, CITATION, codemeta.json), update all of them.
Erwartet: All version files updated consistently to the new Versionsnummer.
Bei Fehler: If a file update fails, revert all changes to maintain consistency. Never leave version files in a teilweise updated state.
After committing die Version bump, create a git tag.
# Annotated tag (preferred)
git tag -a v1.3.0 -m "Release v1.3.0"
# Lightweight tag (acceptable)
git tag v1.3.0
Use das Projekt's established tag format:
v1.3.0 (most common)1.3.0 (no prefix)[email protected] (monorepo)Erwartet: Git tag created matching the new version.
Bei Fehler: If the tag already exists, die Version was not ordnungsgemaess bumped. Pruefen auf duplicate tags with git tag -l "v1.3*" and resolve vor proceeding.
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]+build.123) nicht affect version precedence. 1.0.0+build.1 and 1.0.0+build.2 have the same precedence.manage-changelog -- Warten changelog entries that pair with version bumpsplan-release-cycle -- Planen release milestones that determine when version bumps occurrelease-package-version -- R-specific release workflow that includes version bumpingcommit-changes -- Commit die Version bump with a proper messagecreate-github-release -- Erstellen a GitHub release from die Version tagtesting
Launch all available agents in parallel waves for open-ended hypothesis generation on problems where the correct domain is unknown. Use when facing a cross-domain problem with no clear starting point, when single-agent approaches have stalled, or when diverse perspectives are more valuable than deep expertise. Produces a ranked hypothesis set with convergence analysis and adversarial refinement.
tools
Write integration tests for a Node.js CLI application using the built-in node:test module. Covers the exec helper pattern, output assertions, filesystem state verification, cleanup hooks, JSON output parsing, error case testing, and state restoration after destructive tests. Use when adding tests to an existing CLI, testing a new command, verifying adapter behavior across frameworks, or setting up CI for a CLI tool.
development
Screen a proposed trademark for conflicts and distinctiveness before filing. Covers trademark database searches (TMview, WIPO Global Brand Database, USPTO TESS), distinctiveness analysis using the Abercrombie spectrum, likelihood of confusion assessment using DuPont factors and EUIPO relative grounds, common law rights evaluation, and goods/services overlap analysis. Produces a conflict report with a risk matrix. Use before adopting a new brand name, logo, or slogan — distinct from patent prior art search, which uses different databases, legal frameworks, and analysis methods.
tools
Scaffold a new CLI command using Commander.js with options, action handler, three output modes (human-readable, quiet, JSON), and optional ceremony variant. Covers command naming, option design, shared context patterns, error handling, and integration testing. Use when adding a command to an existing Commander.js CLI, designing a new CLI tool from scratch, or standardizing command structure across a multi-command CLI.