version-bump
버전을 업그레이드합니다. 사용자가 "버전업 해줘", "버전 올려줘", "패치버전 올려줘" 등 요청할 때 사용합니다.
When & Why to Use This Skill
The version-bump skill automates the process of updating software version numbers across multiple project files using Semantic Versioning (SemVer) principles. It allows developers to trigger patch, minor, or major version increments through natural language commands, ensuring that configuration files and UI templates remain synchronized during the release cycle.
Use Cases
- Automated Release Preparation: Quickly increment version numbers (patch, minor, or major) before a deployment to ensure all metadata is current.
- Cross-File Version Synchronization: Simultaneously update version strings in both backend configuration files (e.g., version.json) and frontend templates (e.g., index.html) to prevent version mismatch.
- Standardizing SemVer Workflows: Enforce consistent versioning logic across a project, reducing manual errors and maintaining a clean, predictable version history.
- Natural Language DevOps: Enable non-technical stakeholders or busy developers to manage versioning through simple commands like 'bump the patch version' without manual file editing.
| name | version-bump |
|---|---|
| description | 버전을 업그레이드합니다. 사용자가 "버전업 해줘", "버전 올려줘", "패치버전 올려줘" 등 요청할 때 사용합니다. |
Version Bump Skill
사용자가 버전업을 요청하면 아래 파일들을 수정합니다.
수정 대상 파일
src/version.json-"version": "X.Y.Z"값 수정src/templates/index.html-<div class="version-info">vX.Y.Z</div>값 수정
버전 증가 규칙
- patch: 버그 수정, 작은 개선 → Z 증가 (1.0.0 → 1.0.1)
- minor: 새 기능 추가 → Y 증가, Z는 0으로 (1.0.1 → 1.1.0)
- major: 큰 변경, 호환성 깨짐 → X 증가, Y,Z는 0으로 (1.1.0 → 2.0.0)
동작
사용자가 버전업 요청 시:
- 현재 버전 확인 (
src/version.json읽기) - 요청에 맞게 버전 증가 (기본: patch)
- 두 파일 모두 동일한 버전으로 수정