ARW Release Manager
БесплатноЗапускает вложенные скриптыНе проверенBuild and release manager for ARW CLI package. Handles local development, testing, building, documentation, version tagging, and publishing to npm and…
Об этом скилле
ARW Release Manager
Build, test, and release orchestration for the ARW (Agent-Ready Web) CLI package supporting multiple build targets and publishing to npm and crates.io.
Build Targets
The ARW CLI supports three distinct build targets:
| Target | Command | Output | Use Case |
|---|---|---|---|
| napi-rs | npm run build |
arw-cli.darwin-arm64.node |
Node.js native addon (require in JS) |
| Standalone CLI | cargo build --release --features native |
target/release/arw |
Executable binary |
| WASM | npm run build:wasm |
wasm-pkg/ |
Browser/bundler usage |
Prerequisites
- Node.js 18+ and npm 8+
- Rust toolchain (rustc, cargo) for Rust builds
- Git repository
- wasm-pack (for WASM builds):
cargo install wasm-pack
For publishing only:
- npm account with publish access
- crates.io account with API token
What This Skill Does
- Local development - Watch mode, hot reload, iterative builds
- Testing - Unit tests, integration tests, WASM tests, linting
- Building - napi-rs native addon, standalone CLI, and WASM builds
- Pre-release validation - Git status, version checks, secrets scanning
- Documentation - CHANGELOG generation, API docs
- Version management - Semantic versioning, git tagging
- Publishing - npm publish, cargo publish with dry-run validation
Quick Start
Local Development (No Publishing)
# Build napi-rs native addon (Node.js bindings)
npm install && npm run build
# Build standalone CLI binary
cargo build --release --features native
./target/release/arw --version
# Run tests
npm test && npm run test:wasm && cargo test
Full Release Workflow
# 1. Verify, test, and build (dry run)
./scripts/quick-publish.sh --dry-run
# 2. If checks pass, publish
./scripts/quick-publish.sh
Build Targets Explained
1. napi-rs Native Addon (Node.js)
This builds a native Node.js addon using napi-rs. The result is a .node file that can be require()'d from JavaScript.
npm run build # Release build
npm run build:debug # Debug build (faster)
# Test the module
node -e "const cli = require('./index.js'); console.log(cli.getVersionInfo());"
Exports: validateManifest, checkCompatibility, generateManifest, getVersionInfo
2. Standalone CLI Binary
This builds a standalone executable that can be run directly from the command line.
cargo build --release --features native
# Run directly
./target/release/arw --version
./target/release/arw --help
./target/release/arw validate path/to/manifest.json
./target/release/arw init
./target/release/arw generate
CLI Commands: init, generate, sitemap, validate, serve, scan, policy, robots, watch, actions, build
3. WASM Build
For browser and bundler usage.
npm run build:wasm # Node.js target
npm run build:wasm:web # Browser target
npm run build:wasm:bundler # Bundler target
# Test WASM
npm run test:wasm
Local Development Guide
Node.js Native Addon Development
# Install dependencies
npm install
# Build native addon (napi-rs)
npm run build # Release
npm run build:debug # Debug (faster iteration)
# Test module loading
node -e "const {validateManifest, getVersionInfo} = require('./index.js'); console.log(getVersionInfo());"
# Link for testing in other projects
npm link
Standalone CLI Development
# Debug build (fast compilation)
cargo build --features native
# Run without installing
cargo run --features native -- --version
cargo run --features native -- --help
cargo run --features native -- validate ./test-manifest.json
# Release build
cargo build --release --features native
./target/release/arw --version
# Install globally
cargo install --path . --features native
arw --version
# Watch mode (requires cargo-watch)
cargo install cargo-watch
cargo watch -x "run --features native -- --help"
WASM Development
# Build WASM
npm run build:wasm
# Run WASM tests
npm run test:wasm
Development Workflow
- Make code changes in
src/ - Run tests:
cargo test/npm run test:wasm - Build target you need:
- Node.js addon:
npm run build - Standalone CLI:
cargo build --release --features native - WASM:
npm run build:wasm
- Node.js addon:
- Test locally
- Repeat
Testing
Node.js Tests
# Run Node.js native tests
npm test
# Run WASM-specific tests
npm run test:wasm
Rust Tests
# Format check
cargo fmt --check
# Linting with clippy
cargo clippy -- -D warnings
# Run all tests
cargo test
# Run with output visible
cargo test -- --nocapture
# All checks
cargo fmt --check && cargo clippy -- -D warnings && cargo test
Building
napi-rs Native Addon
# Release build (optimized)
npm run build
# Debug build (faster compilation)
npm run build:debug
O
Установить ARW Release Manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ARW Release Manager?
Build and release manager for ARW CLI package. Handles local development, testing, building, documentation, version tagging, and publishing to npm and crates.io. Use when developing locally, running tests, building packages, releasing new versions, or publishing packages.
Как установить скилл ARW Release Manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ARW Release Manager запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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