extract-version

Parse and validate semantic version strings against semver 2.0.0.

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/RussianLioN/moltinger --skill extract-version-russianlion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-version
Source: https://github.com/RussianLioN/moltinger/tree/main/.claude/skills/extract-version
Command: npx skills add https://github.com/RussianLioN/moltinger --skill extract-version-russianlion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the parsing and validation of semantic version strings, ensuring consistency and accuracy in version management.

Core Features & Use Cases

  • Version Extraction: Extracts version numbers from various text formats, including those with prefixes like 'v' or embedded within larger strings.
  • Semver Validation: Validates if extracted versions adhere to the Semantic Versioning 2.0.0 specification.
  • Component Parsing: Breaks down version strings into major, minor, patch, prerelease, and build components.
  • Use Case: Ensure that all version numbers in your project's documentation and code adhere to the correct semver format, preventing deployment issues caused by invalid versioning.

Quick Start

Extract the version number from the string "The current release is v1.2.3-beta.1".

Frequently Asked Questions about extract-version

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a semver version number from a text string?

To extract a semver version number from text, the Skill uses regular expressions to identify and parse version patterns embedded in diverse input formats. It can isolate version strings even when prefixed with characters like 'v' or surrounded by other text.

What is semantic versioning validation and how does parsing work?

Semantic versioning validation checks if a version string adheres to the Semver 2.0.0 specification. Parsing works by using regex to break down the string into major, minor, patch, prerelease, and build metadata components for compliance verification.

Can I parse prerelease and build metadata from a semantic version?

Yes, you can parse prerelease and build metadata from a semantic version. The Skill explicitly breaks down version strings into major, minor, patch, prerelease, and build components, ensuring all valid semver 2.0.0 elements are captured.

Does this semver parser handle version strings with a 'v' prefix?

Yes, this semver parser handles version strings with a 'v' prefix. It is designed to extract version numbers from various text formats, including those with prefixes like 'v' or embedded within larger descriptive strings.

How do I normalize version representations for project documentation?

You normalize version representations by passing your raw text or version strings through the parsing logic. The Skill validates components against semver 2.0.0 and normalizes version representations, preventing deployment issues caused by invalid versioning.