release
БесплатноБез исполняемых скриптовНе проверенEnd-to-end npm release workflow with verification gates and hardcoded-version protection
от proffesor-for-testing★ 537 звёзд на GitHubОб этом скилле
Release Workflow
Execute a safe, verified npm release for the agentic-qe package. STOP after each phase for user confirmation.
Architecture
This project uses a flat single-package structure (post v3.7.4 flatten):
| File | Package Name | Role |
|---|---|---|
package.json (root) |
agentic-qe |
Published to npm — the installable package |
npm run buildexecutestsc && build:cli && build:mcpproducingdist/at rootnpm publishruns from the root directory- GitHub Actions triggers on
release: publishedevent via.github/workflows/npm-publish.yml
Important: There is NO v3/ subdirectory. All source is at root (src/, dist/, tests/).
Arguments
<version>— Target version (e.g.,3.7.5). If omitted, prompt the user.
Steps
1. Pre-Flight: Ensure Clean State
git status
git branch --show-current
Verify working directory is clean and you know which branch you're on. If there are uncommitted changes, stop and ask the user. The release prep happens on the current working branch — we PR to main later.
STOP — confirm clean state and current branch.
2. Version Audit
Read the current version from package.json (source of truth). Then grep the ENTIRE codebase for hardcoded version strings — current version, old versions, and any version-like patterns.
# Read current version
node -p "require('./package.json').version"
# Search for version strings in source files (exclude node_modules, dist, .git, docs/releases)
grep -rn --include="*.ts" --include="*.js" --include="*.json" '"3\.[0-9]\+\.[0-9]\+"' . \
--exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git --exclude-dir=releases
Also check .claude/skills/skills-manifest.json for fleetVersion — must be updated to match.
If any stale version strings are found in source files, fix them ALL before continuing.
STOP — show findings and wait for user confirmation.
3. Bump Version
Update package.json to the target version:
cd /workspaces/agentic-qe && npm version <version> --no-git-tag-version
Also update fleetVersion in .claude/skills/skills-manifest.json.
npm version runs the version lifecycle script (scripts/sync-plugin-versions.cjs), which also bumps the Claude Code plugin surfaces: .claude-plugin/plugin.json (version + agentic-qe@<version> MCP pin), plugins/agentic-qe-fleet/.claude-plugin/plugin.json (version), plugins/agentic-qe-fleet/.codex-plugin/plugin.json (version, the Codex manifest), plugins/agentic-qe-fleet/.mcp.json (agentic-qe@<version> pin) and plugins/agentic-qe-fleet/hooks/version.ts (the aqe-mod MOD_VERSION, generated). Add a ## <version> — <date> entry to plugins/agentic-qe-fleet/CHANGELOG.md when the plugin itself changed.
Verify:
grep '"version"' package.json
node scripts/sync-plugin-versions.cjs --check # must print "in sync"
bash plugins/agentic-qe-fleet/scripts/smoke.sh # plugin contract incl. MCP pin
STOP — confirm version is correct.
4. Update CHANGELOG
Add a new section to CHANGELOG.md (at root) following Keep a Changelog format:
## [<version>] - YYYY-MM-DD
### Added
- ...
### Fixed
- ...
### Changed
- ...
Write user-friendly descriptions focused on value, not implementation details.
STOP — show changelog entry for review.
4b. Update Release Docs
Create a release notes file at docs/releases/v<version>.md following the existing format:
# v<version> Release Notes
**Release Date:** YYYY-MM-DD
## Highlights
<1-2 sentence summary of the most important changes>
## Added
- ...
## Fixed
- ...
## Changed
- ...
Then update docs/releases/README.md — add a new row at the TOP of the table:
| [v<version>](v<version>.md) | YYYY-MM-DD | <Short highlights> |
Use existing entries as formatting reference. Keep highlights concise (under 80 chars).
5. Build
npm run build
Executes tsc && build:cli && build:mcp. Verify zero errors. If build fails, diagnose and fix.
STOP — show build output.
6. Type Check
npm run typecheck
Runs tsc --noEmit. Must produce zero errors.
STOP — show type check output.
7. Unit Tests
npx vitest run tests/unit/
Run REAL tests against the actual codebase. Do NOT simulate, mock, or skip any tests. ALL unit tests must pass.
STOP — show test results.
8. Artifact & Integration Verification
This is the critical pre-release gate. Verify the built package works end-to-end as a user would experience it.
8a. Verify Build Artifacts
# Verify dist/ exists with expected bundles
ls -la dist/cli/bundle.js
ls -la dist/index.js
ls -la dist/mcp/bundle.js
All three must exist: CLI bundle, main entry point, MCP server.
8b. Test aqe init --auto in a Fresh Project
# Create a temporary test project
mkdir -p /tmp/aqe-release-test && cd /tmp/aqe-release-test
# Run ini
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release?
End-to-end npm release workflow with verification gates and hardcoded-version protection
Как установить скилл release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic