feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
58
plugins/ops-release-manager/skills/version-detection.md
Normal file
58
plugins/ops-release-manager/skills/version-detection.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
description: Detect version locations across project files and parse current version
|
||||
---
|
||||
|
||||
# Version Detection Skill
|
||||
|
||||
## Overview
|
||||
|
||||
Find and parse version strings from all standard locations in a project. Supports multiple language ecosystems.
|
||||
|
||||
## Detection Targets
|
||||
|
||||
### Node.js / JavaScript
|
||||
| File | Pattern | Example |
|
||||
|------|---------|---------|
|
||||
| `package.json` | `"version": "X.Y.Z"` | `"version": "2.3.1"` |
|
||||
| `package-lock.json` | `"version": "X.Y.Z"` (root) | `"version": "2.3.1"` |
|
||||
|
||||
### Python
|
||||
| File | Pattern | Example |
|
||||
|------|---------|---------|
|
||||
| `pyproject.toml` | `version = "X.Y.Z"` | `version = "2.3.1"` |
|
||||
| `setup.cfg` | `version = X.Y.Z` | `version = 2.3.1` |
|
||||
| `setup.py` | `version="X.Y.Z"` | `version="2.3.1"` |
|
||||
| `__version__.py` | `__version__ = "X.Y.Z"` | `__version__ = "2.3.1"` |
|
||||
|
||||
### Rust
|
||||
| File | Pattern | Example |
|
||||
|------|---------|---------|
|
||||
| `Cargo.toml` | `version = "X.Y.Z"` | `version = "2.3.1"` |
|
||||
|
||||
### Claude Marketplace
|
||||
| File | Pattern | Example |
|
||||
|------|---------|---------|
|
||||
| `marketplace.json` | `"version": "X.Y.Z"` | `"version": "2.3.1"` |
|
||||
| `plugin.json` | `"version": "X.Y.Z"` | `"version": "2.3.1"` |
|
||||
|
||||
### Documentation
|
||||
| File | Pattern | Example |
|
||||
|------|---------|---------|
|
||||
| `README.md` | Title containing `vX.Y.Z` | `# Project - v2.3.1` |
|
||||
| `CHANGELOG.md` | `## [X.Y.Z]` | `## [2.3.1] - 2026-01-15` |
|
||||
|
||||
## Git Tags
|
||||
|
||||
Parse existing tags to determine latest released version:
|
||||
- `git tag --sort=-v:refname` — list tags by version
|
||||
- Support both `vX.Y.Z` and `X.Y.Z` formats
|
||||
- Detect the project's tag convention from existing tags
|
||||
|
||||
## Version Parsing
|
||||
|
||||
Extract and validate SemVer components:
|
||||
- Major, Minor, Patch (required)
|
||||
- Pre-release identifier (optional): `-alpha.1`, `-beta.2`, `-rc.1`
|
||||
- Build metadata (optional): `+build.123`
|
||||
|
||||
Report any versions that do not conform to SemVer.
|
||||
Reference in New Issue
Block a user