versions

versions

developmentClaude Codeby scagogogo

Summary

Professional skills for version number parsing, comparison, sorting, grouping, range queries, constraint checking, visualization, and file operations โ€” with Go SDK, CLI, and MCP Server support

Install to Claude Code

/plugin install versions@versions

Run in Claude Code. Add the marketplace first with /plugin marketplace add scagogogo/versions-skills if you haven't already.

README.md

Versions-Skills

<div align="center">

![Go Tests](https://github.com/scagogogo/versions-skills/actions/workflows/go-test.yml) ![Go Report Card](https://goreportcard.com/report/github.com/scagogogo/versions-skills) ![Go Reference](https://pkg.go.dev/github.com/scagogogo/versions-skills) ![GitHub Release](https://github.com/scagogogo/versions-skills/releases/latest) ![License: MIT](https://opensource.org/licenses/MIT)

A powerful version number parsing, comparison, sorting, grouping, and constraint checking library for Go

Accessible via ๐Ÿค– Skills ยท ๐Ÿ“ฆ Go SDK ยท ๐Ÿ’ป CLI ยท ๐Ÿ”Œ MCP Server

Works with Claude Code, Cursor, Windsurf, VS Code Copilot, and any MCP-compatible AI agent

English ยท ็ฎ€ไฝ“ไธญๆ–‡

</div>

---

Access Methods

๐Ÿค– Skills (Claude Code) โ€” Recommended for AI-powered workflows

One command to install all 13 version skills as slash commands in Claude Code:

# Step 1: Add the marketplace (one-time)
claude plugin marketplace add https://github.com/scagogogo/versions-skills

# Step 2: Install the plugin
claude plugin install versions

After installation, 13 slash commands are available in any Claude Code session:

| Command | What it does | |:--------|:-------------| | /version-parsing | Parse, validate, extract version components | | /version-comparison | Compare versions, check ordering | | /version-sorting | Sort version lists ascending/descending | | /version-grouping | Group versions by major/minor numbers | | /version-constraints | Parse and check constraint expressions | | /version-range-query | Query versions within ranges | | /version-visualization | Tree-based version hierarchy display | | /version-file-operations | Read/write version lists from files | | /version-check | Boolean type checks (IsBeta, IsStable, etc.) | | /version-mutation | Bump versions, immutable modifications | | /version-properties | Access segments, suffix weight, prefix | | /cli-operations | Full CLI command reference | | /mcp-operations | MCP server setup and tool reference |

> How it works: The plugin ships 13 SKILL.md files under skills/. Claude Code reads these as domain knowledge โ€” when you type /version-parsing, Claude loads the skill's API reference, code examples, and decision tree, then uses the SDK/CLI/MCP to execute your request. No API key or runtime dependency needed; the skill tells Claude how to call the tools you already have installed.

<details> <summary>๐Ÿ“– Plugin vs MCP Server โ€” which should I use?</summary>

| | Plugin (Skills) | MCP Server | |:--|:--|:--| | Install | claude plugin install versions | go install .../versions-mcp@latest + config | | How it works | Injects domain knowledge as slash commands | Exposes 21 tools as AI-callable functions | | Best for | Guided workflows, learning the API, one-off tasks | Programmatic tool calls, batch operations, other AI agents | | Requires | Claude Code | Any MCP-compatible client | | Use both? | โœ… Yes โ€” they complement each other | โœ… Yes โ€” they complement each other |

</details>

๐Ÿ“ฆ Go SDK โ€” Recommended for Go developers

go get github.com/scagogogo/versions-skills
import "github.com/scagogogo/versions-skills"

v := versions.NewVersion("v1.2.3-beta1")
fmt.Println(v.Major())    // 1
fmt.Println(v.IsValid())  // true

๐Ÿ’ป CLI โ€” Recommended for scripts and CI/CD

# One-line installer (Linux/macOS, auto-detects platform + version)
curl -sL https://raw.githubusercontent.com/scagogogo/versions-skills/main/install.sh | bash

# Or download a binary from GitHub Releases:
# https://github.com/scagogogo/versions-skills/releases/latest

# Or install via Go
go install github.com/scagogogo/versions-skills/cmd/versions@latest

# Usage
versions parse v1.2.3-beta1
versions compare 1.0.0 2.0.0
versions sort 3.0.0 1.0.0 2.0.0

๐Ÿ”Œ MCP Server โ€” Recommended for AI tool integration

The MCP server exposes all SDK capabilities as 21 AI-callable tools, compatible with Claude Code, Cursor, Windsurf, VS Code Copilot, and any MCP-compatible client.

go install github.com/scagogogo/versions-skills/cmd/versions-mcp@latest

<details> <summary>โš™๏ธ Configuration for each AI client</summary>

Claude Code โ€” add to ~/.claude/settings.json (user scope) or .claude/settings.json (project scope):

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

Cursor โ€” add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

Windsurf โ€” add to .windsurf/mcp.json in your project root:

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

VS Code (Copilot) โ€” add to .vscode/mcp.json in your project root:

{
  "servers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

Network mode (SSE) โ€” for shared/team deployments:

versions-mcp --transport sse --port 8080

Then point your client at http://localhost:8080/sse.

</details>

Available tools: version_parse, version_validate, version_info, version_compare, version_sort, version_filter, version_group, version_range_query, version_constraint_check, version_min, version_max, version_latest_stable, version_latest_prerelease, version_unique, version_set_operation, version_build, version_bump, version_core, version_read_file, version_write_file, version_visualize

---

AI Agent Integration Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    AI Agent / IDE                        โ”‚
โ”‚  (Claude Code ยท Cursor ยท Windsurf ยท VS Code Copilot)    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                      โ”‚                                  โ”‚
โ”‚   ๐Ÿค– Skills Plugin   โ”‚   ๐Ÿ”Œ MCP Server                  โ”‚
โ”‚   (Claude Code only) โ”‚   (any MCP client)               โ”‚
โ”‚                      โ”‚                                  โ”‚
โ”‚   13 SKILL.md files  โ”‚   21 version_* tools             โ”‚
โ”‚   โ†’ slash commands   โ”‚   โ†’ AI-callable functions         โ”‚
โ”‚   โ†’ domain knowledge โ”‚   โ†’ structured JSON responses     โ”‚
โ”‚                      โ”‚                                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                         โ”‚
โ”‚   ๐Ÿ’ป CLI binary          ๐Ÿ“ฆ Go SDK                      โ”‚
โ”‚   (shell/CI/CD)          (Go programs)                  โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚              Core Library (Go ยท zero dependencies)       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Two paths for AI agents: 1. Skills Plugin โ€” Claude Code reads SKILL.md files as domain knowledge, then calls CLI/MCP/SDK under the hood. Best for guided workflows and one-off tasks. 2. MCP Server โ€” Any MCP-compatible client calls version_* tools directly. Best for programmatic use, batch operations, and non-Claude agents.

Use both together for the best experience โ€” Skills provide the "how-to" knowledge, MCP provides the execution engine.

---

Features

  • ๐Ÿ”„ Comprehensive version support โ€” Standard semver (1.2.3), prefixed (v1.2.3), pre-release (1.2.3-beta1), and custom formats
  • ๐Ÿงฉ Flexible parsing โ€” Auto-detect prefix, numbers, suffix, and metadata with customizable delimiters
  • ๐Ÿ“Š Version comparison โ€” Semantic-aware comparison with suffix weight ordering (dev < alpha < beta < rc < stable)
  • ๐Ÿ“ฆ Grouping & sorting โ€” Group by major/minor version, sort with stable pre-release ordering
  • ๐Ÿ” Range queries โ€” Query versions within ranges with flexible boundary policies
  • ๐Ÿ“‹ Constraint expressions โ€” Full npm-style constraints: >=1.0.0, ^1.2.3, ~1.2, 1.x, >=1.0.0,<2.0.0 || >=3.0.0
  • ๐Ÿท๏ธ Semver compliance โ€” IsSemver(), ValidateSemver() for strict SemVer 2.0.0 validation
  • ๐Ÿ“ File I/O โ€” Read/write version lists from files with comment support
  • ๐ŸŒณ Visualization โ€” Unicode tree-based version hierarchy display
  • ๐Ÿ”ง Immutable mutations โ€” With methods and Bump operations that never modify the original
  • ๐Ÿ”— Serialization โ€” JSON, Text, SQL Scanner/Valuer out of the box
  • ๐Ÿš€ Zero dependencies โ€” Core library has no external dependencies

---

Quick Start

Parse & Compare

v1 := versions.NewVersion("1.2.3")
v2 := versions.NewVersion("v1.3.0-beta")

v1.IsOlderThan(v2)      // true
v2.IsPrerelease()       // true
v2.PreReleaseType()     // "beta"
v1.Diff(v2).IsUpgrade() // true

Sort & Group

list := versions.NewVersions("2.0.0", "1.0.0", "1.10.0", "1.5.0-beta")

// Sort
sorted := versions.SortVersionSlice(list)
// โ†’ [1.0.0, 1.5.0-beta, 1.10.0, 2.0.0]

// Group by major version
groups := versions.GroupByMajor(list)
// โ†’ {1: [1.0.0, 1.5.0-beta, 1.10.0], 2: [2.0.0]}

Constraints

v := versions.NewVersion("1.5.0")

// Check single constraint
c, _ := versions.ParseConstraint(">=1.0.0")
v.Satisfies(c)  // true

// Check constraint expression
ok, _ := v.Matches(">=1.0.0,<2.0.0")  // true

// Negate a constraint
neg := versions.NegateConstraint(c)  // <1.0.0

Range Queries

low := versions.NewVersion("1.0.0")
high := versions.NewVersion("2.0.0")

r := versions.NewClosedRange(low, high)
r.Contains(versions.NewVersion("1.5.0"))  // true
r.Contains(versions.NewVersion("2.1.0"))  // false

Extract from Strings

v := versions.Coerce("program-1.2.3-linux-amd64")
fmt.Println(v.Raw)  // "1.2.3"

---

API Overview

Core Types

| Type | Description | |:-----|:------------| | Version | Represents a version with Raw, PublicTime, VersionNumbers, Prefix, Suffix, Metadata | | VersionNumbers | []int โ€” the numeric segments of a version | | VersionPrefix | string โ€” the prefix before numbers (e.g. "v") | | VersionSuffix | string โ€” the suffix after numbers (e.g. "-beta1") | | VersionRange | First-class version range with open/closed boundary support | | VersionDiff | Structured difference between two versions | | VersionGroup | Groups versions sharing the same numeric prefix | | SortedVersionGroups | Pre-sorted version group collection for efficient range queries | | Constraint | Single version constraint (operator + target version) | | ConstraintSet | AND-combined constraints (e.g. >=1.0.0,<2.0.0) | | ConstraintUnion | OR-combined constraint sets (e.g. >=1.0.0 || >=3.0.0) | | VersionBuilder | Fluent builder for constructing Version objects | | VersionSlice | []*Version implementing sort.Interface with utility methods | | SuffixWeight | Semantic weight enum for suffix ordering |

Key Functions

| Category | Functions | |:---------|:----------| | Parse | NewVersion, NewVersionE, MustParse, NewVersions, Coerce, CoerceE | | Compare | CompareTo, IsNewerThan, IsOlderThan, Equals, IsBetween, Diff | | Sort | SortVersionSlice, SortVersionStringSlice, VersionSlice.Sort() | | Group | Group, GroupByMajor, GroupByMinor, NewSortedVersionGroups | | Filter | Filter, FilterByConstraint, FilterByStable, FilterByMajor, Unique | | Constraint | ParseConstraint, ParseConstraintSet, ParseConstraintUnion, NegateConstraint | | Range | NewClosedRange, NewOpenRange, VersionRange.Contains, VersionRange.Filter | | Check | IsPrerelease, IsStable, IsSemver, ValidateSemver, PreReleaseType | | Mutate | BumpMajor, BumpMinor, BumpPatch, WithPrefix, WithSuffix, WithMajor, Increment | | Utils | Min, Max, LatestStable, ContainsVersion, IndexOf, Difference, Intersection, Union, Partition | | File | ReadVersionsFromFile, WriteVersionsToFile, ReadVersionsFromReader | | Visualize | VisualizeVersions, VisualizeVersionGroups | | Serialize | MarshalJSON, UnmarshalJSON, MarshalText, UnmarshalText, Scan, Value |

Version Methods (full list)

IsValid, IsZero, IsPrerelease, IsStable, IsDev, IsAlpha, IsBeta, IsRC,
IsSnapshot, IsMilestone, IsNightly, IsFinal, IsGA, IsPre, IsRelease,
IsSP, IsPost, IsSemver, IsNewerThan, IsOlderThan, Equals, IsBetween,
Satisfies, Matches, CompareTo, Major, Minor, Patch, SubVersion,
SuffixWeight, PreReleaseType, BuildGroupID, Segments, Segments64,
Core, Clone, Validate, ValidateSemver, Diff, Hash, Canonical, Format,
Increment, RawString, String, BumpMajor, BumpMinor, BumpPatch,
WithPrefix, WithSuffix, WithMajor, WithMinor, WithPatch,
WithNumbers, WithPublicTime, WithMetadata,
MarshalText, UnmarshalText, MarshalJSON, UnmarshalJSON, Scan, Value

---

CLI Reference

# Parsing & Validation
versions parse v1.2.3-rc1
versions validate 1.2.3
versions info v1.2.3-beta1

# Comparison & Checks
versions compare 1.0.0 2.0.0
versions check --stable 1.2.3
versions check --beta 1.2.3-beta1
versions check --newer 1.0.0 1.5.0

# Sorting & Filtering
versions sort 3.0.0 1.0.0 2.0.0
versions sort --desc 3.0.0 1.0.0 2.0.0
versions filter --stable 1.0.0-alpha 1.0.0 2.0.0-beta 2.0.0
versions filter --constraint ">=1.0.0,<2.0.0" 0.5.0 1.0.0 1.5.0 2.0.0

# Grouping & Range
versions group 1.0.0 1.1.0 2.0.0
versions range 1.0.0 2.0.0 1.0.0 1.5.0 2.0.0 3.0.0

# Constraints
versions satisfies 1.5.0 ">=1.0.0,<2.0.0"

# Min/Max
versions min 3.0.0 1.0.0 2.0.0
versions max 3.0.0 1.0.0 2.0.0
versions latest-stable 1.0.0-alpha 1.0.0 2.0.0

# Construction & Mutation
versions build --prefix v --major 1 --minor 2 --patch 3
versions bump 1.2.3 --patch
versions core 1.2.3-beta

# File I/O
versions read versions.txt
versions write output.txt 1.0.0 2.0.0 3.0.0

# Visualization
versions visualize 1.0.0 1.1.0 2.0.0 --groups

---

Installation

Skills (Claude Code Plugin)

# Add marketplace (one-time)
claude plugin marketplace add https://github.com/scagogogo/versions-skills

# Install the plugin
claude plugin install versions

> After installation, 13 slash commands are available in Claude Code. See ๐Ÿค– Skills above for the full list.

MCP Server (for AI Agents)

The MCP server works with Claude Code, Cursor, Windsurf, VS Code Copilot, and any MCP-compatible client. See ๐Ÿ”Œ MCP Server above for per-client configuration.

# Download binary from GitHub Releases
curl -sL https://github.com/scagogogo/versions-skills/releases/latest/download/versions-mcp_{VERSION}_linux_amd64.tar.gz | tar xz
chmod +x versions-mcp && sudo mv versions-mcp /usr/local/bin/

# Or install via Go
go install github.com/scagogogo/versions-skills/cmd/versions-mcp@latest

> {VERSION} is the release tag shown at the top of the releases page.

Go SDK

go get github.com/scagogogo/versions-skills

CLI Binary

Pre-built binaries for Linux, macOS, Windows, FreeBSD, OpenBSD, and NetBSD on amd64, arm64, arm, 386, mips, mips64, mips64le, ppc64, ppc64le, s390x, and riscv64 architectures. Linux packages: deb, rpm, apk.

# One-line installer (auto-detects platform + version):
curl -sL https://raw.githubusercontent.com/scagogogo/versions-skills/main/install.sh | bash

# Or download a specific binary manually:
# Linux (amd64)
curl -sL https://github.com/scagogogo/versions-skills/releases/latest/download/versions_{VERSION}_linux_amd64.tar.gz | tar xz
chmod +x versions && sudo mv versions /usr/local/bin/

# macOS arm64 (Apple Silicon)
curl -sL https://github.com/scagogogo/versions-skills/releases/latest/download/versions_{VERSION}_darwin_arm64.tar.gz | tar xz
chmod +x versions && sudo mv versions /usr/local/bin/

# macOS amd64 (Intel)
curl -sL https://github.com/scagogogo/versions-skills/releases/latest/download/versions_{VERSION}_darwin_amd64.tar.gz | tar xz
chmod +x versions && sudo mv versions /usr/local/bin/

# Or install via package manager (Linux only):
# Debian/Ubuntu: dpkg -i versions_{VERSION}_linux_amd64.deb
# RHEL/Fedora:   rpm -i versions_{VERSION}_linux_amd64.rpm
# Alpine:        apk add versions_{VERSION}_linux_amd64.apk

# Or install via Go
go install github.com/scagogogo/versions-skills/cmd/versions@latest

> Prefer the one-line install.sh above, which resolves {VERSION} for you. For manual download, {VERSION} is the release tag shown at the top of the releases page.

---

Performance

  • Version parsing: O(n) where n is the version string length
  • Version comparison: O(m) where m is the max numeric segment count
  • Version sorting: O(n log n) where n is the list length
  • Range queries: O(log n) via sorted version groups with binary search

---

License

MIT License โ€” Copyright ยฉ 2023-2026 scagogogo

---

ๅŠŸ่ƒฝ็‰นๆ€ง

<div align="center">

ไธ€ไธชๅผบๅคง็š„ Go ่ฏญ่จ€็‰ˆๆœฌๅท่งฃๆžใ€ๆฏ”่พƒใ€ๆŽ’ๅบใ€ๅˆ†็ป„ๅ’Œ็บฆๆŸๆฃ€ๆŸฅๅบ“

้€š่ฟ‡ ๐Ÿค– Skills ยท ๐Ÿ“ฆ Go SDK ยท ๐Ÿ’ป CLI ยท ๐Ÿ”Œ MCP Server ๆŽฅๅ…ฅ

ๅ…ผๅฎน Claude Codeใ€Cursorใ€Windsurfใ€VS Code Copilot ๅŠๆ‰€ๆœ‰ MCP ๅ…ผๅฎน็š„ AI Agent

</div>

  • ๐Ÿ”„ ๅ…จ้ข็š„็‰ˆๆœฌๅทๆ”ฏๆŒ โ€” ๆ ‡ๅ‡†่ฏญไน‰ๅŒ–็‰ˆๆœฌ๏ผˆ1.2.3๏ผ‰ใ€ๅธฆๅ‰็ผ€๏ผˆv1.2.3๏ผ‰ใ€้ข„ๅ‘ๅธƒ๏ผˆ1.2.3-beta1๏ผ‰ๅŠ่‡ชๅฎšไน‰ๆ ผๅผ
  • ๐Ÿงฉ ็ตๆดป็š„่งฃๆž โ€” ่‡ชๅŠจ่ฏ†ๅˆซๅ‰็ผ€ใ€ๆ•ฐๅญ—้ƒจๅˆ†ใ€ๅŽ็ผ€ๅ’Œๅ…ƒๆ•ฐๆฎ๏ผŒๆ”ฏๆŒ่‡ชๅฎšไน‰ๅˆ†้š”็ฌฆ
  • ๐Ÿ“Š ่ฏญไน‰ๅŒ–ๆฏ”่พƒ โ€” ๅŸบไบŽๅŽ็ผ€ๆƒ้‡ๆŽ’ๅบ๏ผˆdev < alpha < beta < rc < stable๏ผ‰
  • ๐Ÿ“ฆ ๅˆ†็ป„ไธŽๆŽ’ๅบ โ€” ๆŒ‰ไธป/ๆฌก็‰ˆๆœฌๅทๅˆ†็ป„๏ผŒๆ”ฏๆŒ็จณๅฎš็š„้ข„ๅ‘ๅธƒ็‰ˆๆœฌๆŽ’ๅบ
  • ๐Ÿ” ่Œƒๅ›ดๆŸฅ่ฏข โ€” ๆ”ฏๆŒ็ตๆดป็š„่พน็•ŒๅŒ…ๅซ/ๆŽ’้™ค็ญ–็•ฅ
  • ๐Ÿ“‹ ็บฆๆŸ่กจ่พพๅผ โ€” ๅฎŒๆ•ด็š„ npm ้ฃŽๆ ผ็บฆๆŸ๏ผš>=1.0.0ใ€^1.2.3ใ€~1.2ใ€1.xใ€>=1.0.0,<2.0.0 || >=3.0.0
  • ๐Ÿท๏ธ Semver ่ง„่Œƒ โ€” IsSemver()ใ€ValidateSemver() ไธฅๆ ผ้ตๅพช SemVer 2.0.0
  • ๐Ÿ“ ๆ–‡ไปถๆ”ฏๆŒ โ€” ไปŽๆ–‡ไปถ่ฏปๅ–/ๅ†™ๅ…ฅ็‰ˆๆœฌๅทๅˆ—่กจ๏ผŒๆ”ฏๆŒๆณจ้‡Š
  • ๐ŸŒณ ๅฏ่ง†ๅŒ– โ€” Unicode ๆ ‘ๅฝข็‰ˆๆœฌๅฑ‚ๆฌก็ป“ๆž„ๅฑ•็คบ
  • ๐Ÿ”ง ไธๅฏๅ˜ๆ“ไฝœ โ€” With ๅ’Œ Bump ๆ–นๆณ•ๆฐธไธไฟฎๆ”นๅŽŸๅง‹ๅฏน่ฑก
  • ๐Ÿ”— ๅบๅˆ—ๅŒ– โ€” ๅ†…็ฝฎ JSONใ€Textใ€SQL Scanner/Valuer ๆ”ฏๆŒ
  • ๐Ÿš€ ้›ถไพ่ต– โ€” ๆ ธๅฟƒๅบ“ๆ— ๅค–้ƒจไพ่ต–

AI Agent ้›†ๆˆๆžถๆž„

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    AI Agent / IDE                        โ”‚
โ”‚  (Claude Code ยท Cursor ยท Windsurf ยท VS Code Copilot)    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                      โ”‚                                  โ”‚
โ”‚   ๐Ÿค– Skills ๆ’ไปถ      โ”‚   ๐Ÿ”Œ MCP Server                  โ”‚
โ”‚   (ไป… Claude Code)   โ”‚   (ไปปไฝ• MCP ๅฎขๆˆท็ซฏ)               โ”‚
โ”‚                      โ”‚                                  โ”‚
โ”‚   13 ไธช SKILL.md     โ”‚   21 ไธช version_* ๅทฅๅ…ท            โ”‚
โ”‚   โ†’ ๆ–œๆ ๅ‘ฝไปค         โ”‚   โ†’ AI ๅฏ่ฐƒ็”จๅ‡ฝๆ•ฐ                  โ”‚
โ”‚   โ†’ ้ข†ๅŸŸ็Ÿฅ่ฏ†ๆณจๅ…ฅ     โ”‚   โ†’ ็ป“ๆž„ๅŒ– JSON ๅ“ๅบ”               โ”‚
โ”‚                      โ”‚                                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                         โ”‚
โ”‚   ๐Ÿ’ป CLI ไบŒ่ฟ›ๅˆถ          ๐Ÿ“ฆ Go SDK                      โ”‚
โ”‚   (Shell/CI/CD)          (Go ็จ‹ๅบ)                      โ”‚
โ”‚                                                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚              ๆ ธๅฟƒๅบ“ (Go ยท ้›ถไพ่ต–)                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

AI Agent ็š„ไธคๆก่ทฏๅพ„๏ผš 1. Skills ๆ’ไปถ โ€” Claude Code ่ฏปๅ– SKILL.md ๆ–‡ไปถไฝœไธบ้ข†ๅŸŸ็Ÿฅ่ฏ†๏ผŒ็„ถๅŽ้€š่ฟ‡ CLI/MCP/SDK ๆ‰ง่กŒใ€‚้€‚ๅˆๅผ•ๅฏผๅผๅทฅไฝœๆตๅ’Œไธ€ๆฌกๆ€งไปปๅŠกใ€‚ 2. MCP Server โ€” ไปปไฝ• MCP ๅ…ผๅฎนๅฎขๆˆท็ซฏ็›ดๆŽฅ่ฐƒ็”จ version_* ๅทฅๅ…ทใ€‚้€‚ๅˆ็ผ–็จ‹ๅผ่ฐƒ็”จใ€ๆ‰น้‡ๆ“ไฝœๅ’Œ้ž Claude Agentใ€‚

ไธค่€…้…ๅˆไฝฟ็”จๆ•ˆๆžœๆœ€ไฝณ โ€” Skills ๆไพ›"ๅฆ‚ไฝ•ๅš"็š„็Ÿฅ่ฏ†๏ผŒMCP ๆไพ›ๆ‰ง่กŒๅผ•ๆ“Žใ€‚

ๆŽฅๅ…ฅๆ–นๅผ

๐Ÿค– Skills๏ผˆClaude Code๏ผ‰โ€” AI ๅทฅไฝœๆตๆŽจ่

ไธคๆญฅๅฎ‰่ฃ…๏ผŒ่Žทๅพ— 13 ไธช็‰ˆๆœฌๆ“ไฝœๆ–œๆ ๅ‘ฝไปค๏ผš

# ็ฌฌไธ€ๆญฅ๏ผšๆทปๅŠ  Marketplace๏ผˆไธ€ๆฌกๆ€ง๏ผ‰
claude plugin marketplace add https://github.com/scagogogo/versions-skills

# ็ฌฌไบŒๆญฅ๏ผšๅฎ‰่ฃ…ๆ’ไปถ
claude plugin install versions

ๅฎ‰่ฃ…ๅŽๅœจ Claude Code ไธญไฝฟ็”จๆ–œๆ ๅ‘ฝไปค๏ผš/version-parsingใ€/version-comparisonใ€/version-sorting ็ญ‰

> ๅŽŸ็†๏ผš ๆ’ไปถๅŒ…ๅซ 13 ไธช SKILL.md ๆŠ€่ƒฝๆ–‡ไปถ๏ผŒClaude Code ๅฐ†ๅ…ถๅŠ ่ฝฝไธบ้ข†ๅŸŸ็Ÿฅ่ฏ†ใ€‚่พ“ๅ…ฅ /version-parsing ๆ—ถ๏ผŒClaude ไผš่ฏปๅ–ๅฏนๅบ”็š„ API ๅ‚่€ƒใ€ไปฃ็ ็คบไพ‹ๅ’Œๅ†ณ็ญ–ๆ ‘๏ผŒ็„ถๅŽ้€š่ฟ‡ SDK/CLI/MCP ๆ‰ง่กŒไฝ ็š„่ฏทๆฑ‚ใ€‚

๐Ÿ”Œ MCP Server๏ผˆAI Agent ้€š็”จ๏ผ‰โ€” ๆ”ฏๆŒ Claude Code / Cursor / Windsurf / VS Code Copilot

go install github.com/scagogogo/versions-skills/cmd/versions-mcp@latest

Claude Code โ€” ๆทปๅŠ ๅˆฐ ~/.claude/settings.json๏ผš

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

Cursor โ€” ๆทปๅŠ ๅˆฐ้กน็›ฎๆ น็›ฎๅฝ• .cursor/mcp.json๏ผš

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

Windsurf โ€” ๆทปๅŠ ๅˆฐ้กน็›ฎๆ น็›ฎๅฝ• .windsurf/mcp.json๏ผš

{
  "mcpServers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

VS Code (Copilot) โ€” ๆทปๅŠ ๅˆฐ้กน็›ฎๆ น็›ฎๅฝ• .vscode/mcp.json๏ผš

{
  "servers": {
    "versions": {
      "command": "versions-mcp",
      "args": ["--transport", "stdio"]
    }
  }
}

๐Ÿ“ฆ Go SDK โ€” Go ๅผ€ๅ‘่€…ๆŽจ่

go get github.com/scagogogo/versions-skills

๐Ÿ’ป CLI โ€” ่„šๆœฌๅ’Œ CI/CD ๆŽจ่

ไปŽ GitHub Releases ไธ‹่ฝฝ๏ผŒๆˆ–๏ผš

go install github.com/scagogogo/versions-skills/cmd/versions@latest

Related plugins

Browse all โ†’