본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #7020

release

하는 일

이 스킬은 소프트웨어 프로젝트의 새 버전을 게시하는 과정을 안내합니다. 저장소에 이미 있는 규칙을 바탕으로 일관된 릴리스 과정을 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓프로젝트의 새 버전을 게시할 준비가 되었을 때.
  • ✓릴리스 전에 에이전트가 버전과 CI 규칙을 배우기를 원할 때.
  • ✓릴리스 워크플로나 CI 설정이 바뀌어서 저장된 규칙을 업데이트해야 할 때.

스킬 링크

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/release/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/release/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 프로젝트의 2.4.0 버전을 릴리스해 주세요. 먼저 우리 릴리스 규칙을 확인하고, 각 단계를 안내해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

처음에 에이전트는 프로젝트 파일과 CI 설정을 살펴 릴리스 규칙을 알아낸 뒤, 그것을 규칙 파일에 저장합니다. 다음 실행에서는 변경을 확인하고, 필요하면 규칙을 업데이트한 뒤 릴리스를 안내합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Release Skill

A thin, repo-aware release assistant. On first run it inspects the project and CI to derive release rules, stores them in .omc/RELEASE_RULE.md for future use, then walks you through a release using those rules.

Usage

/oh-my-claudecode:release [version]
  • version is optional. If omitted the skill will ask. Accepts patch, minor, major, or an explicit semver like 2.4.0.
  • Add --refresh to force re-analysis of the repo even when a cached rule file exists.

Execution Flow

Step 0 — Load or Build Release Rules

Check whether .omc/RELEASE_RULE.md exists.

If it does NOT exist (or --refresh was passed): Run the full repo analysis below and write the file.

If it DOES exist: Read the file. Then do a quick delta check — scan .github/workflows/ (or equivalent CI dirs: .circleci/, .travis.yml, Jenkinsfile, bitbucket-pipelines.yml, gitlab-ci.yml) for any modifications newer than the last-analyzed timestamp in the rule file. If relevant workflow files changed, re-run the analysis for those sections and update the file. Report what changed.


Step 1 — Repo Analysis (first run or --refresh)

Inspect the repo and answer the following. Write answers into .omc/RELEASE_RULE.md.

1a. Version Sources

  • Locate all files that contain a version string matching the current version in package.json / pyproject.toml / Cargo.toml / build.gradle / VERSION file / etc.
  • List each file and the field or regex pattern used to find the version.
  • Detect whether there is a release automation script (e.g. scripts/release.*, Makefile release target, bump2version, release-it, semantic-release, changesets, goreleaser).

1b. Registry / Distribution

  • npm (package.json with publishConfig or npm publish in CI), PyPI (pyproject.toml + twine/flit), Cargo (Cargo.toml), Docker (Dockerfile + push step), GitHub Packages, other.
  • Is there a CI step that publishes automatically on tag push? Which workflow file and job?

1c. Release Trigger

  • Identify what starts the release: tag push (v*), manual dispatch (workflow_dispatch), merge to main/master, a release branch merge, a commit message pattern.

1d. Test Gate

  • Identify the test command and where it runs in CI.
  • Are tests required to pass before publish? Note any bypass flags.

1e. Release Notes / Changelog

  • Does a CHANGELOG.md or CHANGELOG.rst exist?
  • What convention is used: Keep a Changelog, Conventional Commits, GitHub auto-generated, none?
  • Is there a release body file (e.g. .github/release-body.md) committed pre-tag?

1f. First-Time User Check

  • Does a release workflow exist in .github/workflows/ (or equivalent)? If not, flag this and offer to scaffold one.
  • Is there a .gitignore entry preventing build artifacts from being committed? If not, flag it.
  • Are git tags being used? Run git tag --list to check. If no tags exist, flag and explain best practice.

Step 2 — Write .omc/RELEASE_RULE.md

Create or overwrite the file with this structure:

# Release Rules
<!-- last-analyzed: YYYY-MM-DDTHH:MM:SSZ -->

## Version Sources
<!-- list of files + patterns -->

## Release Trigger
<!-- what kicks off the release -->

## Test Gate
<!-- command + CI job name -->

## Registry / Distribution
<!-- npm, PyPI, Docker, etc. + CI job that publishes -->

## Release Notes Strategy
<!-- convention + files -->

## CI Workflow Files
<!-- paths to relevant workflow files -->

## First-Time Setup Gaps
<!-- any missing pieces found during analysis, or "none" -->

Step 3 — Determine Version

If the user provided a version argument, use it. Otherwise:

  1. Show the current version (from the primary version file).
  2. Show what patch, minor, and major would produce.
  3. Ask the user which to use.

Validate the chosen version is a valid semver string.


Step 4 — Pre-Release Checklist

Present a checklist derived from the release rules. At minimum:

  • All changes intended for this release are committed and pushed
  • CI is green on the target branch
  • Tests pass locally (run the test gate command)
  • Version bump applied to all version source files
  • Release notes / changelog prepared (see Step 5)

Ask the user to confirm before proceeding, or run each step if they say "go ahead".


Step 5 — Release Notes Guidance

Help the user write good release notes. Apply whichever convention the

자주 묻는 질문

어떤 버전 번호를 쓸 수 있나요?

패치, 마이너, 메이저라고 말하거나 2.4.0처럼 정확한 버전을 줄 수 있습니다. 생략하면 에이전트가 묻습니다.

규칙을 다시 읽게 강제할 수 있나요?

네. 새로 고침 옵션은 저장된 규칙 파일이 있어도 저장소를 다시 분석하게 합니다.

릴리스 규칙은 어디에 저장되나요?

프로젝트의 숨김 설정 폴더 안의 규칙 파일에 저장되므로, 다음에 재사용할 수 있습니다.

상세 정보

작성자의 원본 설명

Generic release assistant — analyzes repo release rules, caches them in .omc/RELEASE_RULE.md, then guides the release

repo: Yeachan-Heo/oh-my-claudecode

인기도

GitHub 스타
41k
순위
#7020
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬