create-github-release
О программе
Этот навык автоматизирует создание релизов на GitHub с корректными тегами семантического версионирования, генерацией изменений и загрузкой артефактов. Он предназначен для публикации стабильных версий программного обеспечения, библиотек или распространения сборок через GitHub CLI. Разработчикам следует использовать его, когда необходимо стандартизировать процесс выпуска релизов с автоматическим тегированием и созданием примечаний к выпуску.
Быстрая установка
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/create-github-releaseСкопируйте и вставьте эту команду в Claude Code для установки этого навыка
Документация
Create GitHub Release
Create a tagged GitHub release with release notes and optional artifacts.
When to Use
- Marking a stable version of software for distribution
- Publishing a new version of a library or application
- Creating release notes for stakeholders
- Distributing build artifacts (binaries, tarballs)
Inputs
- Required: Version number (semantic versioning)
- Required: Summary of changes since last release
- Optional: Build artifacts to attach
- Optional: Whether this is a pre-release
Procedure
Step 1: Determine Version Number
Follow semantic versioning (MAJOR.MINOR.PATCH):
| Change | Example | When |
|---|---|---|
| MAJOR | 1.0.0 -> 2.0.0 | Breaking changes |
| MINOR | 1.0.0 -> 1.1.0 | New features, backward compatible |
| PATCH | 1.0.0 -> 1.0.1 | Bug fixes only |
Got: A version number is chosen that accurately reflects the scope of changes since the last release.
If fail: If unsure whether changes are breaking, review the public API diff. Any removal or signature change of an exported function is a breaking change requiring a MAJOR bump.
Step 2: Update Version in Project Files
DESCRIPTION(R packages)package.json(Node.js)Cargo.toml(Rust)pyproject.toml(Python)
Got: The version number is updated in the appropriate project file and committed to version control.
If fail: If the version was already updated in a previous step (e.g., via usethis::use_version() in R), verify it matches the intended release version.
Step 3: Write Release Notes
Create or update changelog. Organize by category:
## What's Changed
### New Features
- Added user authentication (#42)
- Support for custom themes (#45)
### Bug Fixes
- Fixed crash on empty input (#38)
- Corrected date parsing in UTC (#41)
### Improvements
- Improved error messages
- Updated dependencies
### Breaking Changes
- `old_function()` renamed to `new_function()` (#50)
**Full Changelog**: https://github.com/user/repo/compare/v1.0.0...v1.1.0
Got: Release notes are organized by category (features, fixes, breaking changes) with issue/PR references for traceability.
If fail: If changes are hard to categorize, review git log v1.0.0..HEAD --oneline to reconstruct the list of changes since the last release.
Step 4: Create Git Tag
git tag -a v1.1.0 -m "Release v1.1.0"
git push origin v1.1.0
Got: An annotated tag v1.1.0 exists locally and on the remote. git tag -l shows the tag.
If fail: If the tag already exists, delete it with git tag -d v1.1.0 && git push origin :refs/tags/v1.1.0 and recreate it. If push is rejected, ensure you have write access to the remote.
Step 5: Create GitHub Release
Using GitHub CLI (recommended):
gh release create v1.1.0 \
--title "v1.1.0" \
--notes-file CHANGELOG.md
With artifacts:
gh release create v1.1.0 \
--title "v1.1.0" \
--notes "Release notes here" \
build/app-v1.1.0.tar.gz \
build/app-v1.1.0.zip
Pre-release:
gh release create v2.0.0-beta.1 \
--title "v2.0.0 Beta 1" \
--prerelease \
--notes "Beta release for testing"
Got: Release visible on GitHub with tag, notes, and attached artifacts (if any).
If fail: If gh is not authenticated, run gh auth login. If the tag does not exist on the remote, push it first with git push origin v1.1.0.
Step 6: Auto-Generate Release Notes
GitHub can auto-generate notes from merged PRs:
gh release create v1.1.0 \
--title "v1.1.0" \
--generate-notes
Configure categories in .github/release.yml:
changelog:
categories:
- title: New Features
labels:
- enhancement
- title: Bug Fixes
labels:
- bug
- title: Documentation
labels:
- documentation
- title: Other Changes
labels:
- "*"
Got: Release notes are auto-generated from merged PR titles, categorized by label. .github/release.yml controls the categories.
If fail: If auto-generated notes are empty, ensure PRs were merged (not closed) and had labels assigned. Manually write notes as a fallback.
Step 7: Verify Release
# List releases
gh release list
# View specific release
gh release view v1.1.0
Got: gh release list shows the new release. gh release view displays the correct title, tag, notes, and assets.
If fail: If the release is missing, check the Actions tab for any release workflows that may have failed. Verify the tag exists with git tag -l.
Validation
- Version tag follows semantic versioning
- Git tag points to the correct commit
- Release notes accurately describe changes
- Artifacts (if any) are attached and downloadable
- Release is visible on the GitHub repository page
- Pre-release flag is set correctly
Pitfalls
- Tagging wrong commit: Always verify
git logbefore tagging. Tag after version-bump commit. - Forgetting to push tags:
git pushdoesn't push tags. Usegit push --tagsorgit push origin v1.1.0. - Inconsistent version format: Decide on
v1.0.0vs1.0.0and stick with it. - Empty release notes: Always provide meaningful notes. Users need to know what changed.
- Deleting and recreating tags: Avoid changing tags after push. If needed, create a new version instead.
Related Skills
commit-changes- staging and committing workflowmanage-git-branches- branch management for release preprelease-package-version- R-specific release workflowconfigure-git-repository- Git setup prerequisitesetup-github-actions-ci- automate releases via CI
GitHub репозиторий
Frequently asked questions
What is the create-github-release skill?
create-github-release is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform create-github-release-related tasks without extra prompting.
How do I install create-github-release?
Use the install commands on this page: add create-github-release to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does create-github-release belong to?
create-github-release is in the Meta category, tagged design.
Is create-github-release free to use?
Yes. create-github-release is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Похожие навыки
Этот навык предоставляет проверенную в продакшене настройку для Content Collections — TypeScript-ориентированного инструмента, который преобразует файлы Markdown/MDX в типобезопасные коллекции данных с валидацией Zod. Используйте его при создании блогов, сайтов документации или контентных приложений на Vite + React для обеспечения типобезопасности и автоматической проверки содержимого. Он охватывает всё: от настройки плагина Vite и компиляции MDX до оптимизации развертывания и валидации схем.
Этот навык позволяет разработчикам создавать приложения на платформе прогнозных рынков Polymarket, включая интеграцию с API для торговли и получения рыночных данных. Он также обеспечивает потоковую передачу данных в реальном времени через WebSocket для отслеживания текущих сделок и рыночной активности. Используйте его для реализации торговых стратегий или создания инструментов, обрабатывающих обновления рынка в реальном времени.
Этот навык помогает разработчикам создавать плагины OpenCode, которые подключаются к более чем 25 типам событий, таким как команды, файлы и операции LSP. Он предоставляет структуру плагина, спецификации API событий и шаблоны реализации для модулей на JavaScript/TypeScript. Используйте его, когда вам нужно перехватывать, отслеживать или расширять жизненный цикл ассистента OpenCode AI с помощью пользовательской событийно-ориентированной логики.
SGLang — это высокопроизводительный фреймворк для обслуживания больших языковых моделей (LLM), специализирующийся на быстрой структурированной генерации JSON, regex и рабочих процессов агентов с использованием кэширования префиксов RadixAttention. Он обеспечивает значительно более высокую скорость вывода, особенно для задач с повторяющимися префиксами, что делает его идеальным для сложных структурированных результатов и многократных диалогов. Выбирайте SGLang вместо альтернатив, таких как vLLM, когда вам требуется ограниченное декодирование или вы создаете приложения с интенсивным совместным использованием префиксов.
