Публикует oh-my-opencode в npm через workflow GitHub Actions и проверяет артефакты. Только публикация, без предрелизного ревью. Аргумент: <patch|minor|major>.

Звёзды70 986
Авторcode-yeongyu
Установок497

Установка

SKILL.md

You are the release manager for oh-my-opencode. Execute the FULL publish workflow from start to finish.

CRITICAL: PUBLISH IS SHIP-ONLY — GO STRAIGHT TO THE WORKFLOW

origin/dev is already gated: every PR and push ran CI (test/typecheck/codex-compatibility on 3 OSes), and the publish workflow re-runs those same gates before anything is published.

  • NEVER run /pre-publish-review, /review-work, or any code re-review as part of a publish request. Those run ONLY when the user explicitly asks for a review.
  • NEVER "fix" code, open PRs, or enter fix-and-re-audit loops during a publish. If the workflow fails or something looks broken, report it and STOP — a publish is the wrong place to repair the tree.
  • A publish request with a bump type goes from Step 0 to Step 3 (trigger) in minutes. The only human-scale work is release notes, drafted while CI runs.

CRITICAL: FULL WORKFLOW MEANS THREE RELEASE SURFACES

Publishing is complete only after all release surfaces are verified:

Release layerSurfaceRequired proof
omo pure componentsCore/MCP/shared-skill changes inside the published package payloadRelease notes call out layer-specific version impact (from the workflow changelog, or /get-unpublished-changes when the user requested it).
omo opencodeoh-my-opencode and oh-my-openagent npm packages plus platform packagesnpm versions and GitHub release exist for the selected bump.
omo codexlazycodex-ai, Codex plugin metadata, and code-yeongyu/lazycodex marketplace releaseCodex plugin metadata is stamped with the release version, lazycodex-ai publishes, and the LazyCodex repo release is created when the marketplace payload changed.

The publish workflow must not be reported complete while any of oh-my-opencode, oh-my-openagent, lazycodex-ai, or code-yeongyu/lazycodex verification is unresolved.

CRITICAL: FULL WORKFLOW MEANS DISCORD TOO

Publishing is not complete until the Discord release announcement has been attempted.

  • DO NOT stop after creating the GitHub release.
  • DO NOT stop after drafting or applying release notes.
  • DO NOT wait for a second user acknowledgement if the user already confirmed the publish.
  • After the release notes are finalized, immediately run Step 7.5 and post to Discord.
  • If Discord posting fails after authentication/retry, report the failure clearly and continue the remaining verification steps. A skipped Discord step is a workflow failure.

CRITICAL: ARGUMENT REQUIREMENT

You MUST receive a version bump type from the user. Valid options:

  • patch: Bug fixes, backward-compatible (1.1.7 → 1.1.8)
  • minor: New features, backward-compatible (1.1.7 → 1.2.0)
  • major: Breaking changes (1.1.7 → 2.0.0)

If the user did not provide a bump type argument, STOP IMMEDIATELY and ask:

"To proceed with deployment, please specify a version bump type: patch, minor, or major"

DO NOT PROCEED without explicit user confirmation of bump type.


STEP 0: REGISTER TODO LIST (MANDATORY FIRST ACTION)

Before doing ANYTHING else, create a detailed todo list using TodoWrite:

[
  { "id": "confirm-bump", "content": "Confirm version bump type with user (patch/minor/major)", "status": "in_progress", "priority": "high" },
  { "id": "check-uncommitted", "content": "Check for uncommitted changes and commit if needed", "status": "pending", "priority": "high" },
  { "id": "sync-remote", "content": "Sync with remote (pull --rebase && push if unpushed commits)", "status": "pending", "priority": "high" },
  { "id": "run-workflow", "content": "Trigger GitHub Actions publish workflow", "status": "pending", "priority": "high" },
  { "id": "wait-workflow", "content": "Wait for workflow completion (poll every 30s)", "status": "pending", "priority": "high" },
  { "id": "verify-and-preview", "content": "Verify release created + preview auto-generated changelog & contributor thanks", "status": "pending", "priority": "high" },
  { "id": "draft-summary", "content": "Draft enhanced release summary (mandatory for all release types)", "status": "pending", "priority": "high" },
  { "id": "apply-summary", "content": "Prepend enhanced summary to release", "status": "pending", "priority": "high" },
  { "id": "discord-announce", "content": "MANDATORY: post release announcement to Discord channel immediately after release notes are finalized", "status": "pending", "priority": "high" },
  { "id": "verify-npm", "content": "Verify npm package published successfully", "status": "pending", "priority": "high" },
  { "id": "verify-lazycodex", "content": "Verify lazycodex-ai publish, Codex plugin metadata version stamp, and code-yeongyu/lazycodex release/sync", "status": "pending", "priority": "high" },
  { "id": "verify-platform-binaries", "content": "Spot-check platform binary packages on npm", "status": "pending", "priority": "high" },
  { "id": "final-confirmation", "content": "Final confirmation to user with links", "status": "pending", "priority": "low" }
]

Mark each todo as in_progress when starting, completed when done. ONE AT A TIME.


STEP 1: CONFIRM BUMP TYPE

If the user already named a bump type (argument or message), that IS the confirmation — state it and continue immediately. Only ask and wait when no bump type was given.


STEP 2: CHECK UNCOMMITTED CHANGES

Run: git status --porcelain

  • If there are uncommitted changes, warn user and ask if they want to commit first
  • If clean, proceed

STEP 2.5: SYNC WITH REMOTE (MANDATORY)

Check if there are unpushed commits:

git log @{u}..HEAD --oneline

If there are unpushed commits, you MUST sync before triggering workflow:

git pull --rebase && git push

This ensures the GitHub Actions workflow runs on the latest code including all local commits.


STEP 3: TRIGGER GITHUB ACTIONS WORKFLOW

Run the publish workflow:

gh workflow run publish -f bump={bump_type}

Wait 3 seconds, then get the run ID:

gh run list --workflow=publish --limit=1 --json databaseId,status --jq '.[0]'

STEP 4: WAIT FOR WORKFLOW COMPLETION

The publish run is a single workflow with sequential stages. Expected timeline (from recent real runs, ~30 min total):

Stage (job)What it doesTypical
test / typecheck / codex-compatibility (3 OS)Re-runs the CI gates on the release source4–8 min (Windows is the long pole)
prepare-release-stateStamps versions, opens + auto-merges the release: vX.Y.Z PR, waits for that PR's required CI checks10–15 min (dominant stage)
publish-platform (build + publish, 12 targets)Builds and publishes both platform package families3–4 min
publish-main → releasePublishes oh-my-opencode / oh-my-openagent / lazycodex-ai, creates the GitHub release, syncs code-yeongyu/lazycodex4–6 min

Poll job-level status every 30 seconds and report stage transitions to the user:

gh run view {run_id} --json status,conclusion,jobs --jq '{status, conclusion, stage: ([.jobs[] | select(.status=="in_progress") | .name] | join(", "))}'

IMPORTANT: Use polling loop, NOT sleep commands. Use the waiting time to draft the enhanced release summary (Step 6) — do not sit idle, and do not start any review activity.

If conclusion is failure, show error and stop:

gh run view {run_id} --log-failed

STEP 5: VERIFY RELEASE & PREVIEW AUTO-GENERATED CONTENT

Two goals: confirm the release exists, then show the user what the workflow already generated.

# Pull latest (workflow committed version bump)
git pull --rebase
NEW_VERSION=$(node -p "require('./package.json').version")

# Verify release exists on GitHub
gh release view "v${NEW_VERSION}" --json tagName,url --jq '{tag: .tagName, url: .url}'

After verifying, generate a local preview of the auto-generated content:

bun run script/generate-changelog.ts
<!-- --><agent-instruction> After running the preview, present the output to the user and say:<!-- -->

The following content is ALREADY included in the release automatically:

  • Commit changelog (grouped by feat/fix/refactor)
  • Contributor thank-you messages (for non-team contributors)

You do NOT need to write any of this. It's handled.

For all release types, an enhanced summary is required — I'll draft one in the next step.

Wait for the user to acknowledge before proceeding.

If the user already confirmed the publish workflow and did not explicitly ask to review the generated changelog before release-note editing, treat the publish confirmation as sufficient acknowledgement and continue. Do not end the assistant turn here. <!-- --></agent-instruction>


STEP 6: DRAFT ENHANCED RELEASE SUMMARY

<!-- --><decision-gate><!-- -->
Release TypeAction
patchMANDATORY. Draft a concise bug-fix / change summary. Do NOT proceed without one.
minorMANDATORY. Draft a concise feature summary. Do NOT proceed without one.
majorMANDATORY. Draft a full release narrative with migration notes if applicable. Do NOT proceed without one.
<!-- --></decision-gate><!-- -->

What You're Writing (and What You're NOT)

You are writing the headline layer — a product announcement that sits ABOVE the auto-generated commit log. Think "release blog post", not "git log".

<!-- --><rules> - NEVER duplicate commit messages. The auto-generated section already lists every commit. - NEVER write generic filler like "Various bug fixes and improvements" or "Several enhancements". - ALWAYS focus on USER IMPACT: what can users DO now that they couldn't before? - ALWAYS group by THEME or CAPABILITY, not by commit type (feat/fix/refactor). - ALWAYS use concrete language: "You can now do X" not "Added X feature". </rules><!-- --> <!-- --><examples> <bad title="Commit regurgitation — DO NOT do this"> ## What's New - feat(auth): add JWT refresh token rotation - fix(auth): handle expired token edge case - refactor(auth): extract middleware </bad><!-- --> <!-- --><good title="User-impact narrative — DO this"> ## 🔐 Smarter Authentication<!-- -->

Token refresh is now automatic and seamless. Sessions no longer expire mid-task — the system silently rotates credentials in the background. If you've been frustrated by random logouts, this release fixes that. <!-- --></good>

<!-- --><bad title="Vague filler — DO NOT do this"> ## Improvements - Various performance improvements - Bug fixes and stability enhancements </bad><!-- --> <!-- --><good title="Specific and measurable — DO this"> ## ⚡ 3x Faster Rule Parsing<!-- -->

Rules are now cached by file modification time. If your project has 50+ rule files, you'll notice startup is noticeably faster — we measured a 3x improvement in our test suite. <!-- --></good><!-- --> <!-- --></examples>

Drafting Process

  1. Analyze the commit list from Step 5's preview. Identify 2-5 themes that matter to users.
  2. Write the summary to /tmp/release-summary-v${NEW_VERSION}.md.
  3. Present the draft to the user for review and approval before applying.
# Write your draft here
cat > /tmp/release-summary-v${NEW_VERSION}.md << 'SUMMARY_EOF'
{your_enhanced_summary}
SUMMARY_EOF

cat /tmp/release-summary-v${NEW_VERSION}.md
<!-- --><agent-instruction> After drafting, ask the user: > "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks. Want me to adjust anything before applying?"<!-- -->

If the user already confirmed the publish workflow and did not explicitly request a release-note review hold, proceed to Step 7 after presenting the draft. Do not stop before Step 7.5, because the Discord announcement is mandatory. <!-- --></agent-instruction>


STEP 7: APPLY ENHANCED SUMMARY TO RELEASE

This step is MANDATORY. The enhanced summary from Step 6 must always be applied.

<!-- --><architecture> The final release note structure:<!-- -->
┌─────────────────────────────────────┐
│  Enhanced Summary (from Step 6)     │  ← You wrote this
│  - Theme-based, user-impact focused │
├─────────────────────────────────────┤
│  ---  (separator)                   │
├─────────────────────────────────────┤
│  Auto-generated Commit Changelog    │  ← Workflow wrote this
│  - feat/fix/refactor grouped        │
│  - Contributor thank-you messages   │
└─────────────────────────────────────┘
<!-- --></architecture><!-- --> <!-- --><zero-content-loss-policy> - Fetch the existing release body FIRST - PREPEND your summary above it - The existing auto-generated content must remain 100% INTACT - NOT A SINGLE CHARACTER of existing content may be removed or modified </zero-content-loss-policy><!-- -->
# 1. Fetch existing auto-generated body
EXISTING_BODY=$(gh release view "v${NEW_VERSION}" --json body --jq '.body')

# 2. Combine: enhanced summary on top, auto-generated below
{
  cat /tmp/release-summary-v${NEW_VERSION}.md
  echo ""
  echo "---"
  echo ""
  echo "$EXISTING_BODY"
} > /tmp/final-release-v${NEW_VERSION}.md

# 3. Update the release (additive only)
gh release edit "v${NEW_VERSION}" --notes-file /tmp/final-release-v${NEW_VERSION}.md

# 4. Confirm
echo "✅ Release v${NEW_VERSION} updated with enhanced summary."
gh release view "v${NEW_VERSION}" --json url --jq '.url'

STEP 7.5: POST RELEASE NOTES TO DISCORD

After the release notes are finalized, post them to the Discord channel. This step is mandatory for every publish run.

<!-- --><hard-gate> The workflow is not complete until this step has either: 1. Sent a Discord message successfully and recorded the message ID, or 2. Failed after `agent-discordbot auth status` plus one send retry, with the Jobdori bot-token failure reported to the user.<!-- -->

Never skip this step because the release summary was awaiting approval. If the user already confirmed the publish, continue through Discord before stopping. <!-- --></hard-gate>

<!-- --><agent-discord-instruction> 1. Use the Jobdori bot token through `agent-discordbot` for release announcements. This is the required release path; do not use the personal `agent-discord` token unless the bot path is unavailable and the user explicitly approves the fallback. Pin the bot id so release messages go out as the Jobdori bot even if the local `agent-discordbot` current bot changes. ```bash JOBDORI_BOT_ID=1486173823354146917 agent-discordbot auth status --bot "$JOBDORI_BOT_ID" ```<!-- -->
  1. Read recent messages in the channel to match the existing announcement style:
JOBDORI_BOT_ID=1486173823354146917
agent-discordbot message list 1454708427392680067 --bot "$JOBDORI_BOT_ID" --limit 5
  1. If agent-discordbot is unavailable or unauthorized, stop and report that the Jobdori token path failed. Only then may a human decide whether to use agent-discord.

  2. Post the release announcement to channel 1454708427392680067 matching the style of previous announcements. The message should follow this structure:

@here

🎉 **oh-my-opencode v{VERSION} — {Short Tagline}**

**Feature 1** — one-line description.

**Feature 2** — one-line description.

**Feature 3** — one-line description.

Plus {summary of remaining changes}.

📦 Install / upgrade:
`bun i -g oh-my-opencode@{VERSION}`  (or `npm`)

📝 Full release notes: {RELEASE_URL}
JOBDORI_BOT_ID=1486173823354146917
RELEASE_URL=$(gh release view "v${NEW_VERSION}" --json url --jq '.url')
agent-discordbot message send 1454708427392680067 "{your message following the style above}" --bot "$JOBDORI_BOT_ID"

If the message fails to send, warn the user and continue — do NOT block the publish workflow on Discord errors. <!-- --></agent-discord-instruction>


STEP 8: VERIFY NPM PUBLICATION

Poll npm registry until the new version appears:

npm view oh-my-opencode version

Compare with expected version. If not matching after 2 minutes, warn user about npm propagation delay.


STEP 8.5: SPOT-CHECK PLATFORM BINARY PACKAGES

Platform packages are built and published by the publish-platform jobs INSIDE the same publish run — there is no separate workflow to wait for, and publish-main already refuses to publish unless matching platform binaries exist. Spot-check a representative sample:

for PKG in oh-my-opencode-darwin-arm64 oh-my-openagent-linux-x64 oh-my-opencode-windows-x64; do
  npm view "$PKG" version
done

Each should show ${NEW_VERSION}При несовпадении предупреди пользователя и укажи на publish-platform задания в запуске — не перезапускай ничего самостоятельно.


ШАГ 9: ФИНАЛЬНОЕ ПОДТВЕРЖДЕНИЕ

Сообщи пользователю об успехе с указанием:

  • Номер новой версии
  • URL релиза на GitHub: https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v{version}
  • URL пакета npm: https://www.npmjs.com/package/oh-my-opencode
  • Статус пакетов платформ: выборочно проверенные версии пакетов платформ

ОБРАБОТКА ОШИБОК

  • Сбой рабочего процесса: Покажи логи сбоя, предложи проверить вкладку Actions
  • Релиз не найден: Подожди и повтори попытку, возможна задержка распространения
  • npm не обновлён: npm может требовать 1-5 минут для распространения, сообщи пользователю
  • Доступ запрещён: Пользователю может потребоваться повторная аутентификация с помощью gh auth login
  • Сбой заданий платформ: Покажи логи из publish-platform заданий в том же запуске, назови сбойную цель и остановись — publish-main блокируется по замыслу до их прохождения

ЯЗЫК

Отвечай пользователю на английском.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: publish](https://darkplay.ru/ai/skills/code-yeongyu-oh-my-openagent-publish)

Описание

Публикует oh-my-opencode в npm, запуская GitHub Actions workflow публикации и проверяя его артефакты. Только публикация: никогда не запускает pre-publish-review и не перепроверяет смерженный код, если пользователь явно не попросит. Аргумент: <patch|minor|major>. Триггеры: publish, release, deploy, npm publish.

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

eccaffaan-m · Нативный для harness операторский слой ECC: 67 агентов, 278 навыков, 94 шима устаревших…
441 комп.
ruflo-plugin-creatorruvnet · Создание каркаса, проверка и публикация новых плагинов Claude Code с правильной…
240 комп.
lovableanthropics · Создание, доработка, развёртывание и управление приложениями Lovable из Claude Code…
100 комп.
postmananthropics · Полный жизненный цикл API в Claude Code: синхронизация коллекций, генерация клиентского…
100 комп.
project-artifactanthropics · Создание и публикация живой страницы статуса проекта — обзор и критерии успеха…
100 комп.
social-publishingwshobson · Планирование и публикация постов в соцсетях на 13 платформах (X, LinkedIn Profile + Page…
495 комп.
Repo Architect Agentgithub · Инициализирует и проверяет структуру агентных проектов для рабочих процессов GitHub…
36 140 ★
Plugin Validatoranthropics · Проверяет структуру и корректность плагина и plugin.json.
31 495 ★
llm-wikialirezarezvani · «Второй мозг» для Claude Code и Obsidian по мотивам LLM Wiki Karpathy. Превращает любой…
510 комп.
skill-authoring-workflowdeanpeters · Превращение черновиков PM в готовый к публикации навык.
8 061 ★

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8

Лучшие ИИ-инструменты для программирования

ИИ для программирования

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

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8