Логотип Release

Release

Организация
Codagent-AI
release

Adds the release that every PR must carry, and runs before creating or pushing any PR. Bumps the plugin version and writes changelog entries: gathers merged PRs since the last tag plus unmerged current-branch changes, decides the semver bump, and commits the release onto the current branch (or opens a release PR from main). Runs non-interactively. Triggers when preparing, pushing, or finalizing a PR, or when the user says "release", "cut a release", "create a release PR", "prepare a release", or "bump version".

Обзор

ИздательCodagent-AI
Репозиторийagent-skills
Название навыкаrelease
Звёзды
31
Форки
1
Встроенные файлы
3
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: Codagent-AI. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Release в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Codagent-AI/agent-skills/tree/main/.claude/skills/release
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Codagent-AI/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/.claude/skills/release .claude/skills/release
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Release в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Release, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Release не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Add a release (version bump + changelog) to the current branch before its PR is created or updated. Every PR must include a release.

This skill is non-interactive. Decide the version and changelog yourself; do not ask the user to confirm the classification, version, or wording. Only stop and report if a script returns an error.

Steps

1. Gather release info

Run the info script to collect merged PRs and calculate the version:

bash
bash .claude/skills/release/scripts/release-info.sh 2>&1

Capture the JSON output (errors may arrive on stderr, hence 2>&1). If the error is already_released, the branch already carries its release commit (each branch gets exactly one; later commits such as review fixes ship under it). There is nothing to do, so skip the remaining steps and report that. This is not a failure. stale_release means another PR already shipped this branch's version; stop and tell the operator to bump the version manually by updating all four version fields (.claude-plugin/plugin.json, the codagent entry in .claude-plugin/marketplace.json, .codex-plugin/plugin.json, .cursor-plugin/plugin.json) and renaming the branch's ## <version> heading in CHANGELOG.md to match, then rerun this skill. Updating only some of these can make the next run report already_released and leave the rest stale. For any other "error", stop and report the message to the user.

2. Decide the classification and version

The script's classification comes from conventional commit prefixes, which is only a heuristic. Review it and adjust on your own judgment:

  • Internal changes (tooling, CI, repo automation, skills used only by maintainers such as this one) are patch-level even if prefixed with feat:.
  • User-facing new capabilities in shipped skills are minor.
  • Breaking changes to shipped skills' behavior or interfaces are major.

Recompute new_version from current_version if you change any category (major → X+1.0.0, minor → X.Y+1.0, otherwise X.Y.Z+1). Briefly state the chosen version and classification in your output, then continue without waiting.

3. Write changelog descriptions

For each PR in the JSON output, write a one-sentence description that is slightly more informative than the raw PR title. Strip the conventional commit prefix from the title (feat:, fix:, chore:, etc.) and expand it into a sentence that gives enough context to understand the change without clicking through.

If an entry has "is_branch_commits": true and "number": 0, it represents unmerged commits on the current branch. Read the commit messages (git log origin/main..HEAD --oneline --no-merges) and write a description summarizing those changes. Omit the PR link for these entries since they have no PR yet — just use a bullet with the description.

4. Format the changelog section

Build the changelog section for the new version. Only include sections that have entries. Sort entries by PR number ascending within each section.

Format:

## <new_version>

### Major Changes

- [#<number>](https://github.com/Codagent-AI/agent-skills/pull/<number>) <description>

### Minor Changes

- [#<number>](https://github.com/Codagent-AI/agent-skills/pull/<number>) <description>

### Patch Changes

- [#<number>](https://github.com/Codagent-AI/agent-skills/pull/<number>) <description>
- <description without link> (for branch-commit entries with no PR)

5. Write the changelog section to a temp file

Write the formatted changelog section (from step 4) to a temporary file:

bash
TMPFILE=$(mktemp)
cat <<'CHANGELOG_EOF' > "$TMPFILE"
<paste the formatted changelog section here>
CHANGELOG_EOF
echo "$TMPFILE"

6. Commit the release

Run the release script with the new version and temp file path:

bash
bash .claude/skills/release/scripts/create-release-pr.sh <new_version> <tmpfile_path>

On a feature branch, this commits the release onto the branch and pushes it; if the branch has no PR yet, the calling workflow (e.g. codagent:push-pr or codagent:finalize-pr) creates it next. On main, it creates a release/v<new_version> branch and opens a release PR.

7. Report

Print the version and the PR URL returned by the script (or note that no PR exists yet).

Clean up the temp file:

bash
rm -f "$TMPFILE"

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Release?

Adds the release that every PR must carry, and runs before creating or pushing any PR. Bumps the plugin version and writes changelog entries: gathers merged PRs since the last tag plus unmerged current-branch changes, decides the semver bump, and commits the release onto the current branch (or opens a release PR from main). Runs non-interactively. Triggers when preparing, pushing, or finalizing a PR, or when the user says "release", "cut a release", "create a release PR", "prepare a release", or "bump version".

Зачем использовать Release в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Release — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Release в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Codagent-AI/agent-skills/tree/main/.claude/skills/release. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Release?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Release?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Release: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Release?

Да. Навык опубликован на GitHub автором Codagent-AI по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇