소스 정보
- 저장소
- ffsshhttiikk/opencode-agents-skills
- 최근 소스 활동
- 2026년 2월 28일 22:54
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill semantic-versioning명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | semantic-versioning |
| description | Semantic versioning and changelog management |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","category":"development"} |
When managing versions, creating releases, or writing changelogs.
MAJOR.MINOR.PATCH
MAJOR - Breaking changes (incompatible API changes)
MINOR - New features (backward-compatible)
PATCH - Bug fixes (backward-compatible)
Examples:
1.0.0 - Initial release
1.0.1 - Bug fix
1.1.0 - New feature (backward compatible)
2.0.0 - Breaking change
Pre-release:
1.0.0-alpha - Alpha version
1.0.0-beta - Beta version
1.0.0-rc.1 - Release candidate
Build metadata:
1.0.0+build.123 - Build number
Breaking Changes (MAJOR bump):
- Remove endpoint
- Change field type
- Remove required parameter
- Change authentication
- Change response format
New Features (MINOR bump):
- Add endpoint
- Add optional parameter
- Add new field (optional)
- Deprecate old feature
Bug Fixes (PATCH bump):
- Fix incorrect behavior
- Fix security vulnerability
- Improve performance
- Add missing validation
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.0.0] - 2024-01-15
### Added
- User profile API endpoints (#123)
- Multi-factor authentication support (#456)
- Rate limiting for API (#789)
### Changed
- Updated authentication flow to require email verification (#234)
- Changed default pagination to 20 items per page (#567)
### Deprecated
- `GET /api/v1/legacy` will be removed in v3.0.0
### Removed
- Removed deprecated `/api/v1/old-login` endpoint
- Removed XML response format support
### Fixed
- Fixed memory leak in connection pool (#890)
- Fixed race condition in user creation (#901)
### Security
- Upgraded dependencies to patch CVE-2024-1234
- Added rate limiting to prevent brute force attacks
## [1.1.0] - 2023-12-01
### Added
- Search functionality for products (#111)
- Export data to CSV format (#222)
## [1.0.0] - 2023-11-01
### Initial Release
- Core API functionality
- User authentication
- Basic CRUD operations
import subprocess
from dataclasses import dataclass
from typing import Optional
from datetime import datetime
@dataclass
class Version:
major: int
minor: int
patch: int
prerelease: Optional[str] = None
build: Optional[str] = None
def __str__(self) -> str:
v = f"{self.major}.{self.minor}.{self.patch}"
if self.prerelease:
v += f"-{self.prerelease}"
if self.build:
v += f"+{self.build}"
return v
def bump_major(self) -> 'Version':
return Version(
major=self.major + 1,
minor=0,
patch=0,
)
def bump_minor(self) -> 'Version':
return Version(
major=.major,
minor=.minor + ,
patch=,
)
() -> :
Version(
major=.major,
minor=.minor,
patch=.patch + ,
)
() -> Version:
:
result = subprocess.run(
[, , , ],
capture_output=,
text=,
check=,
)
tag = result.stdout.strip()
parse_version(tag)
subprocess.CalledProcessError:
Version(, , )
() -> Version:
version_str = version_str.strip()
version_str:
version_str, build = version_str.split()
:
build =
prerelease =
version_str:
version_str, prerelease = version_str.split()
parts = version_str.split()
major = (parts[])
minor = (parts[]) (parts) >
patch = (parts[]) (parts) >
Version(major, minor, patch, prerelease, build)
() -> Version:
change_types:
current_version.bump_major()
change_types:
current_version.bump_minor()
change_types:
current_version.bump_patch()
:
current_version
feat: New feature
fix: Bug fix
docs: Documentation only
style: Formatting, no code change
refactor: Code refactoring
test: Adding tests
chore: Maintenance
BREAKING CHANGE: in footer or body
Examples:
feat(auth): add OAuth2 login support
fix(database): resolve connection leak
→ closes #123
docs: update installation guide
feat!: remove deprecated API
BREAKING CHANGE: The old API has been removed.
Use the new /api/v2/ endpoints instead.
#!/bin/bash
# release.sh
set -e
VERSION=$1
# Verify version format
if ! [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid version: $VERSION"
echo "Use format: MAJOR.MINOR.PATCH"
exit 1
fi
echo "Releasing version $VERSION"
# Update version in files
sed -i "s/version =.*/version = \"$VERSION\"/" pyproject.toml
sed -i "s/VERSION =.*/VERSION = \"$VERSION\"/" src/package/__init__.py
# Generate changelog
git-changelog --version $VERSION > CHANGELOG.md
# Commit changes
git add -A
git commit -m "Release version $VERSION"
# Create tag
git tag -a v$VERSION -m "Release v$VERSION"
# Push
git push origin main --tags
echo "Release v$VERSION complete!"
from typing import Dict, List, Optional
class APIVersion:
"""API version with compatibility."""
def __init__(
self,
version: str,
status: str, # experimental, beta, stable, deprecated
deprecation_date: Optional[str] = None,
breaking_changes: List[str] = None,
) -> None:
self.version = version
self.status = status
self.deprecation_date = deprecation_date
self.breaking_changes = breaking_changes or []
def is_compatible_with(self, other: 'APIVersion') -> bool:
"""Check if version is compatible."""
if self.major != other.major:
return False
return True
@property
def major(self) -> int:
return int(self.version.split('.')[0])
:
() -> :
.versions: [, APIVersion] = {}
() -> :
.versions[version] = APIVersion(
version=version,
status=status,
deprecation_date=deprecation_date,
)
() -> :
version .versions:
v = .versions[version]
v.status [, ]
() -> :
stable = [
v v .versions.values()
v.status ==
]
(stable, key= v: v.major).version
() -> :
current_v = .versions.get(current)
latest_v = .versions.get(latest)
current_v latest_v:
(
latest_v.major > current_v.major
(latest_v.major == current_v.major
latest_v.minor - current_v.minor > )
)
1. Use semantic versioning
- Clear rules for when to bump version
- Communicates change impact
2. Document all changes
- Changelog is essential
- Be specific about changes
3. Use conventional commits
- Automated changelog generation
- Clear commit messages
4. Tag releases
- Git tags for every release
- Tag format: v1.0.0
5. Support multiple versions
- Backward compatibility when possible
- Clear deprecation timeline
6. Automate releases
- Reduce human error
- Consistent process
7. Communicate changes
- Release notes for users
- Migration guides for breaking changes
8. Review before release
- Change review process
- Security scan
- Performance regression test