/revyl-cli:revyl-build-ci-uploadfrom Revyl CLI
Adds a Revyl upload step to existing CI jobs (GitHub Actions, GitLab CI, Buildkite) so each commit and PR has a Revyl build without rebuilding. Also covers uploading EAS artifacts by URL and registering web preview deployments.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make the pipeline that already builds the app hand its artifact to Revyl, so
revyl-test, revyl-proof, and pull-request proof find a build of the exact
commit instead of building again. This skill edits CI configuration in the
repository. It never runs the pipeline, and it uses no build minutes.
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).If the team would rather Revyl build each pull request, the Revyl GitHub App
does that without any CI change; offer revyl-setup instead. Use this skill
when CI keeps building, for example because signing, private registries, or a
long native build already live there.
Read the CI configuration and find the job that already produces a usable artifact. Edit that job; don't add a second build.
.app, or a .zip, .tar.gz, or .tgz containing
one. A device .ipa won't install on Revyl's simulators..apk, not an .aab.If no job makes one, say so and offer revyl-build-config to set up a Revyl
build instead of inventing a CI build.
"$LAUNCHER" app list --platform <ios|android|web> --json gives the app's
UUID; build.profiles.<profile>.<platform>.app_id in .revyl/config.yaml
usually already names it. Write the UUID into the CI step. Don't add a CI
variable for it.
Each provider has a ready step in a reference; copy the one that matches and adjust the artifact path and app ID:
| CI | Reference |
|---|---|
| GitHub Actions | references/github-actions.md |
| GitLab CI | references/gitlab-ci.md |
| Buildkite or any other | references/other-ci.md |
The runner installs its own CLI; this plugin's launcher only runs on the
user's machine. The step needs one secret, REVYL_API_KEY, which the user
creates in Revyl and adds to the CI provider's secrets. Never write a key into
the repository or ask the user to paste one into the conversation.
Rules every step follows:
--repo <owner/name> --commit <full-sha> (and --pr <number> to name
the review). The artifact must be built from that same commit.--branch
lands on the pull request's branch when the app detects Git branches. Every
other runner checks out a detached commit that names no branch, so the
upload would land on the app's default branch: pass
--branch <source-branch> there. Never add --pin unless the user wants
every run on that branch to use this build.--json output: for --file, require .success == true and
.count == 1 and read .build.build_id; for --url, read .version_id.build upload --url <url> --platform <ios|android> --app <id>,
with --header "Authorization: Bearer ..." from a CI secret when the URL
needs one. EAS iOS simulator .tar.gz builds are accepted as they are.build upload --platform web --url <preview-url> --app <web-app-id>. URL
registration doesn't read the Git branch; pass --branch to choose one.Validate the CI file with the provider's own linter if the repository has one,
and show the diff. After the user's next push, revyl-find-build finds the
uploaded build by its commit. To have Revyl prove each pull request with these
uploads, offer revyl-proof-automation.
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-buildBuild this workspace's app on a Revyl cloud runner, or upload an artifact already built, and return the Revyl build ID, after one confirmation that it uses the organization's build minutes./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-ci-syncKeep a repo's Revyl remote build mirrored with its CI pipeline - update both in the same PR and debug drift between them./revyl-cli-auth-bypassSet up test-only auth bypass for Revyl runs across Web, Expo, React Native, native iOS, native Android, and Flutter apps./revyl-deviceStart one Revyl cloud device (or browser) on a chosen app build and hand back the viewer link, after one confirmation that it uses the organization's device time./revyl-dev-loopRun, preview, debug, and verify mobile app changes on a real Revyl cloud device with the bundled, pinned Revyl CLI. Use after changing iOS, Android, Expo, React Native, Flutter, or other mobile app code and before reporting that work done, to offer an on-device check instead of leaving it to the pull request's proof of changes; also use when asked to run, preview, or screenshot the app on a device.Other plugins' skills for the same job