agentleFS
mikezamayiasmikezamayias/agent-skills/skills/pr-preview-shipping/SKILL.md

pr-preview-shipping

Skill1 starsChanged 28 days agoBSD-3-ClauseView on GitHub

Makes every PR produce an installable or clickable preview within minutes, per stack. Use when reviewing CI/CD for mobile, web or API projects, or when someone says to pull the branch and run it. Based on Alberto Moedano (Code with Beto).

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a stakeholder, QA, or future-you needs to "pull and run" to review, the loop is too slow.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR-Preview Shipping

Principle

If a stakeholder, QA, or future-you needs to "pull and run" to review, the loop is too slow. Every PR yields a clickable preview.

Per-stack recipe

StackPreview channel
Mobile appFirebase App Distribution per PR, or TestFlight internal
Mobile app (Android)Firebase App Distribution + signed APK
Mobile + serverless backendTestFlight internal, plus a per-PR backend staging URL
Desktop appPre-release artifact, for example on GitHub Releases
SSR web frameworkHost preview deployment, for example Cloudflare Pages
API serverTunnel preview against the PR branch

Required PR comment

✅ Preview ready
• iOS:   TestFlight internal group (build N)
• Web:   {branch}.{project}.pages.dev
• Notes: {what changed}

App Store Connect documents no per-build link for internal builds. Internal testers install from the TestFlight app after the build is added to their group. Cloudflare Pages preview aliases are per branch (<branch>.<project>.pages.dev, lowercased, non-alphanumerics become -), not per PR number.

Acceptance

  • Push → preview link <90s web, <12min iOS.
  • Preview shows branch + short SHA in about screen.
  • Zero manual reviewer setup.

Sources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.