Skip to content
Testing
Skill

/fallow-cloud-setup

Connect a JavaScript or TypeScript app to Fallow Cloud production runtime coverage. Use when asked to set up Fallow Cloud, add the Fallow beacon, send runtime coverage to Fallow Cloud, or find out why Fallow Cloud shows no data for a repository. Do not use for local code-quality

From plugin
fallow-skills
1375 skills1 command

Claude Code

$ npx -y skills add fallow-rs/fallow-skills --skill fallow-cloud-setup --agent claude-code

SKILL.md

fallow-cloud-setup.SKILL.md
name: fallow-cloud-setup
description: Connect a JavaScript or TypeScript app to Fallow Cloud production runtime coverage. Use when asked to set up Fallow Cloud, add the Fallow beacon, send runtime coverage to Fallow Cloud, add error, CPU, browser performance or branch capture to the beacon, or find out why Fallow Cloud shows no data for a repository. Do not use for local code-quality tooling; use fallow-setup for that. Do not use to read runtime data of a repository that is already set up; use the fallow skill for that.
license: MIT

Fallow Cloud setup: runtime coverage with one commit SHA

Fallow Cloud joins production runtime coverage to the code only when five things name the same commit SHA:

1. The beacon in the app sends `commitSha`. 2. CI uploads the static inventory for that SHA. 3. CI uploads the source maps for that SHA, when the build bundles the code. 4. CI registers the deployment of that SHA. 5. The first production data for that SHA arrives.

`fallow coverage setup --cloud --json` writes a plan for all five steps. This skill applies the plan.

When to Use

  • Add the Fallow beacon to an app and send production coverage to Fallow Cloud.
  • Wire the CI steps that upload the inventory and the source maps and register the deployment.
  • Find the missing step when Fallow Cloud shows no data or no matched functions for a repository.

When NOT to Use

  • Local code-quality tooling, CI quality gates, or agent wiring. Use `fallow-setup`.
  • Reading runtime data of a repository that is already set up. Use `fallow`.

Rules

1. Never write an API key value into a file, a command, or a message. Use the environment variable names that the plan gives (`cloud.api_key_env`, `cloud.browser_key_env`). The user stores the values as CI secrets and server environment variables. Never use the `--api-key` flag and never put a key before a command (`FALLOW_API_KEY=... npx ...`). The user exports the key in the shell. 2. A browser bundle gets only an ingest-only key (prefix `fallow_pub_k1_`). A full key (prefix `fallow_live_k1_`) stays in CI and on the server. 3. Use the same commit SHA for every step. Do not replace `$GITHUB_SHA` or the `commitSha` expression in the plan with another value. 4. Resolve flags from `fallow coverage setup --help`. Do not use flags from memory. 5. Show the edits to the user before you change a CI workflow. A deploy workflow can hold secrets and production access.

Sequence

1. **Check the flag.** Run `npx fallow@3.42.0 coverage setup --help`. When it does not list `--cloud`, use [Manual setup](references/manual-setup.md) instead of steps 2 to 9. It has the same five steps. 2. **Get the plan.** Run `npx fallow@3.42.0 coverage setup --cloud --json` at the repository root. When `cloud.project_id` is null, ask the user for the Fallow Cloud project id (`owner/repo`) and run the command again with `--project-id <owner/repo>`, so no snippet keeps the `OWNER/REPO` placeholder. When the command exits 2 and prints no JSON, read the error on stderr: an input such as the project id, `--git-sha`, or `--api-endpoint` is not valid. 3. **Read the plan.**

  • `members[]` has one entry for each workspace member that runs code. Each entry has its own `snippets`, `files_to_edit`, `dockerfile_snippet`, and `warnings`. Apply the snippets from `members[]` only: the top-level `snippets` and `files_to_edit` repeat the first member.
  • `commands` installs the beacon.
  • `cloud.ci.steps` holds the GitHub Actions steps (`cloud.ci.provider` is `github_actions`). `cloud.ci.workflows_detected` names the workflow files that look like a deploy.
  • `cloud.source_maps.dirs` names the build output of each bundled member. `cloud.source_maps.reason` says what the build must do, for example emit source maps.
  • `warnings` names what the plan cannot do for you, for example the coverage source of a Node server.

4. **Install the beacon.** Run the commands in `commands` with the package manager of the project. 5. **Add the snippets.** For each member, add each snippet to the file in its `path`. Keep the `projectId`, `commitSha`, `coverageOrigin`, and `runtimeSurface` values of the snippet. When the file exists, add the snippet at the start of the entry module. Do not replace the file. 6. **Offer the extra signals.** The plan sets up function coverage only. Ask the user which extra signals they want: errors, CPU time, browser frame time, branch use, or loaded packages. Add only those, with [Extra signals](references/extra-signals.md). It names the beacon entry of each signal and the key that it needs. A signal without its opt-in stays `untracked`. 7. **Pass the commit SHA to the runtime.**

  • Browser bundle: set `VITE_FALLOW_COMMIT_SHA` on the build step (the CI steps show it).
  • Server in a container: add the `dockerfile_snippet` lines to the Dockerfile, and build with `--build-arg FALLOW_COMMIT_SHA=$GITHUB_SHA`.
  • Server on a platform: the snippet reads the SHA that Vercel, Render, or Railway sets. On another platform, set `FALLOW_COMMIT_SHA` in the runtime environment.

8. **Add the CI steps.** Add `cloud.ci.steps` to the job that builds and deploys, in the workflow from `cloud.ci.workflows_detected`. When that list is empty, or the project does not use GitHub Actions, ask the user which job deploys and adapt the steps to it. The checkout needs `fetch-depth: 0`. The upload step goes after the build step, and the build must emit source maps for the upload to send anything. The registration step goes after the deploy step. Follow `cloud.ci.instructions`. 9. **Tell the user what to do by hand.** The user creates the keys in the Fallow Cloud dashboard, stores them as the secrets that the plan names, and deploys. 10. **Check the setup after the deploy.** Ask the user to export `FALLOW_API_KEY` (a full key) in the shell. Run `cloud.wait_command` from the plan with `--json` added and `$DEPLOYED_SHA` set to the deployed commit SHA. It holds the project id. Then read the exit code:

  • 0
Read more
@fallow-rs
Ships withfallow-skills

Agent skills for fallow. They teach coding agents (Claude Code, Codex, Cursor, and others) to check health, complexity, duplication, architecture, styling drift, and unused code with fallow.

Stars on GitHub

Momentum

stars in total
137
Star history of fallow-rs/fallow-skills on GitHub, a chart by star-history.com

Other skills on fallow-skills.

fallow-review

fallow-review

Review AI-generated or human-written code changes with fallow's graph-grounded review brief. Subtracts deterministic concerns…

fallow-setup

fallow-setup

Set up or modernize code-quality tooling for JavaScript and TypeScript projects. Use when creating a project, adding code-health…

fallow

fallow

Codebase intelligence for TypeScript and JavaScript. Static analysis reports changed-code risk, cleanup opportunities,…

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana3d78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

promptfoo11d27k
@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about fallow-cloud-setup.

Which coding agents can use fallow-cloud-setup?
fallow-cloud-setup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.