release-package-version
정보
이 스킬은 R 패키지의 전체 릴리스 주기를 자동화하여 버전 업데이트, NEWS.md 갱신, git 태그 지정, GitHub 릴리스를 처리합니다. 패치, 마이너, 메이저 버전 릴리스에 맞게 설계되었으며, CRAN 승인 후 일치하는 GitHub 릴리스를 생성할 수 있습니다. 또한 릴리스 이후 차기 개발 버전 증분을 설정하는 과정도 포함합니다.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/release-package-versionClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Release Package Version
Execute full ver release cycle for R pkg.
Use When
- Ready to release new ver (bug fix, feature, breaking)
- After CRAN accept → matching GH release
- Set up post-release dev ver
In
- Required: Pkg w/ changes ready
- Required: Release type: patch (0.1.0 → 0.1.1), minor (0.1.0 → 0.2.0), major (0.1.0 → 1.0.0)
- Optional: Submit to CRAN? (default no, use
submit-to-cranseparate)
Do
Step 1: Determine Bump
Follow semantic versioning:
| Change Type | Version Bump | Example |
|---|---|---|
| Bug fixes only | Patch | 0.1.0 -> 0.1.1 |
| New features (backward compatible) | Minor | 0.1.0 -> 0.2.0 |
| Breaking changes | Major | 0.1.0 -> 1.0.0 |
→ Correct bump (patch/minor/major) determined by changes since last release.
If err: unsure → review git log since last tag + classify each change. Any breaking API → major.
Step 2: Update Ver
usethis::use_version("minor") # or "patch" or "major"
Updates Version in DESCRIPTION + adds heading to NEWS.md.
→ DESCRIPTION ver updated. NEWS.md has new section header for release ver.
If err: usethis::use_version() not available → manual update Version in DESCRIPTION + add # packagename x.y.z heading to NEWS.md.
Step 3: Update NEWS.md
Fill release notes under new ver heading:
# packagename 0.2.0
## New Features
- Added `new_function()` for processing data (#42)
- Support for custom themes in `plot_results()` (#45)
## Bug Fixes
- Fixed crash when input contains all NAs (#38)
- Corrected off-by-one error in `window_calc()` (#41)
## Minor Improvements
- Improved error messages for invalid input types
- Updated documentation examples
Use issue/PR numbers → traceability.
→ NEWS.md has complete summary of user-facing changes by category, w/ issue/PR numbers.
If err: changes hard reconstruct → git log --oneline v<previous>..HEAD lists all commits since last release + categorize.
Step 4: Final Checks
devtools::check()
devtools::spell_check()
urlchecker::url_check()
→ devtools::check() returns 0 errors, 0 warnings, 0 notes. Spell + URL clean.
If err: fix all errs + warns before release. Add false-positives to inst/WORDLIST. Replace broken URLs.
Step 5: Commit Release
git add DESCRIPTION NEWS.md
git commit -m "Release packagename v0.2.0"
→ Single commit w/ ver bump in DESCRIPTION + updated NEWS.md.
If err: other uncommitted changes → stage only DESCRIPTION + NEWS.md. Release commits = ver-related only.
Step 6: Tag Release
git tag -a v0.2.0 -m "Release v0.2.0"
git push origin main --tags
→ Annotated tag v0.2.0 created + pushed. git tag -l local; git ls-remote --tags origin confirms remote.
If err: push fails → check write access. Tag exists → verify points to correct commit git show v0.2.0.
Step 7: GitHub Release
gh release create v0.2.0 \
--title "packagename v0.2.0" \
--notes-file NEWS.md
Or:
usethis::use_github_release()
→ GH release created w/ notes visible on Releases page.
If err: gh release create fails → ensure gh auth (gh auth status). usethis::use_github_release() fails → create manual on GH.
Step 8: Set Dev Ver
After release, bump to dev:
usethis::use_dev_version()
Changes ver to 0.2.0.9000 → indicates dev.
git add DESCRIPTION NEWS.md
git commit -m "Begin development for next version"
git push
→ DESCRIPTION ver = 0.2.0.9000. NEWS.md has new heading for dev ver. Pushed.
If err: usethis::use_dev_version() not available → manual change to x.y.z.9000 in DESCRIPTION + add # packagename (development version) heading to NEWS.md.
Check
- Ver in DESCRIPTION matches intended
- NEWS.md complete + accurate
-
R CMD checkpasses - Git tag matches ver (e.g.
v0.2.0) - GH release exists w/ notes
- Post-release dev ver set (x.y.z.9000)
Traps
- Forget push tags:
git pushalone no push tags. Use--tagsorgit push origin v0.2.0 - NEWS.md format: Markdown headers matching pkgdown/CRAN format
- Tag wrong commit: Always tag after ver-bump commit, not before
- CRAN ver already exists: CRAN won't accept dup. Always increment.
- Dev ver in release: Never submit
.9000to CRAN
→
submit-to-cran— CRAN submission after releasecreate-github-release— general GH release creationsetup-github-actions-ci— triggers pkgdown rebuild on releasebuild-pkgdown-site— docs site reflects new ver
GitHub 저장소
연관 스킬
llamaguard
기타LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
cost-optimization
기타이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
quantizing-models-bitsandbytes
기타이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
dispatching-parallel-agents
기타이 Claude Skill은 3개 이상의 독립적인 문제를 동시에 조사하고 해결하기 위해 다중 에이전트를 배치합니다. 공유 상태나 의존성 없이 해결 가능한 무관련 장애 시나리오에 맞게 설계되었습니다. 핵심 기능은 병렬 문제 해결로, 각 독립 문제 영역마다 하나의 에이전트를 할당하여 효율성을 극대화합니다.
