/revyl-cli:revyl-build [ios|android|web] [profile] [artifact path]from Revyl CLI
Builds a workspace app on a Revyl cloud runner or uploads a pre-built artifact, returning the build ID after confirmation of build minutes usage.
Ships in Revyl CLI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce a Revyl build of this workspace and return its build ID.
Read the user's arguments: Claude Code appends them to this skill as
ARGUMENTS: (/revyl-cli:revyl-build [ios|android|web] [profile] [artifact path]), and in Codex they follow
$revyl-build in the message. Arguments are hints, not authorization to guess:
resolve anything they leave out from the repository and ask only when it stays
ambiguous.
Run every Revyl command through this plugin's pinned launcher, never revyl
from PATH or another installed CLI. Resolve it from this skill's own
directory:
${CLAUDE_SKILL_DIR}.SKILL.md; use its absolute parent
directory. If the Claude Code value above isn't an absolute path, use this
rule instead.The launcher is ../../scripts/launch-revyl from that directory on POSIX and
../../scripts/launch-revyl.cmd on Windows. Shell variables don't persist
between tool calls in either host, so write the resolved absolute path into
each command; below, "$LAUNCHER" stands for it. Run each command from the app
directory (the one holding .revyl/config.yaml), never from the plugin's own
folder: the CLI reads the current directory's Git branch, commit, and config,
so a command run inside the plugin resolves the wrong build or project. The
launcher detects the host itself; never set REVYL_PLUGIN_HOST. If a command
needs sign-in, run "$LAUNCHER" auth login and hand the user its approval
link. Never print or ask for credentials.
Never open a browser or claim one opened. Give each sign-in, viewer, or report URL to the user as soon as you have it:
https:// URL on its own line.[Open the Revyl device](URL).Work from the app directory that owns .revyl/config.yaml, never the
monorepo root. Read its build.profiles: each profile has a recipe per
platform (ios, android, web) with an app_id. Pick the exact profile and
platform from the arguments and the repository; ask only when several fit. If
there is no configuration, offer revyl-setup instead of building. For
recipes, frameworks, and simulator or emulator settings, follow the
revyl-build-config skill.
Before a pushed commit's build, check whether one already exists: when GitHub
pull-request builds are on for the project, the pull request has a build of
its head commit (find it with hosted list_builds or
"$LAUNCHER" build list --app <app-id> --branch <branch> --json). Say so
instead of building again, unless the user still wants a new build.
The cloud build below uploads this checkout. When the user wants a build of a
branch already pushed to GitHub instead, hosted start_build builds that
branch's head from the repository linked to the app in Revyl and uploads
nothing; it needs the same one confirmation, then follow it with hosted
get_build.
Ask one question naming the app, profile, platform, and that a cloud build uses the organization's build minutes, unless the arguments already named all of them. An upload of an existing artifact uses no build minutes; confirm the file, app, and platform instead.
A cloud build uploads tracked files, including uncommitted edits, and
untracked files Git doesn't ignore. Look at git status --short first and stop
to ask if an untracked file looks like a secret or credential.
Cloud build (the default):
"$LAUNCHER" build --build-profile <profile> --platform <platform> --detach --json
"$LAUNCHER" build status <job-id> --json
--detach returns the job at once; poll build status every 30 seconds or
so, for at most the recipe's timeout, telling the user it's still building.
Don't report success until the build reaches its terminal success state, and
report a failure with the last log lines build status shows.
Local build when the user wants this machine's toolchain: add --local
in place of --detach. It runs the same recipe here and uploads the result.
Upload an existing artifact (a simulator .app, .app.zip, or .tar.gz
for iOS; an installable .apk for Android):
"$LAUNCHER" build upload --file <path> --platform <ios|android> --app <app-id> --json
Require .success == true and .count == 1 and use .build.build_id.
The build lands on --branch <name> when given, otherwise the current Git
branch when the app detects Git branches, otherwise the app's default branch.
Never pass --pin unless the user asks to make it the branch's default build.
Return the build ID, version, branch, and how it was produced (cloud, local,
or upload). Offer the next step without taking it: test it with
revyl-test or open it with revyl-device.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub revylai/revyl-cli --plugin revyl-cli17 skills in this plugin
/revyl-build-ci-uploadAdd a Revyl upload step to the CI job that already builds the app (GitHub Actions, GitLab CI, Buildkite, or another runner) so each commit and pull request has a Revyl build tied to its exact commit, without building twice. Also covers uploading EAS or other hosted artifacts by URL and registering web preview deployments. Use when wiring CI builds into Revyl./revyl-build-configWrite or fix the build recipes in a Revyl project's .revyl/config.yaml - build profiles per platform, simulator and emulator artifacts, framework recipes for native iOS, native Android, Expo, React Native, Flutter, and web, secrets for private dependencies, and caches. Use when setting up Revyl builds, adding a platform or profile, or when a Revyl cloud build fails on its configuration./revyl-Other plugins' skills for the same job