Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

staging-preview

Skill by mongodb

Generates staging preview links for a MongoDB docs pull request. It is built for docs contributors and is called by the open-pr and captain-v2 skills.

  • Score 69
  • 779 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install staging-preview

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mongodb/docs /tmp/docs && mkdir -p ~/.claude/skills && cp -r /tmp/docs/.opencode/skills/staging-preview ~/.claude/skills/staging-preview

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install staging-preview in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The staging-preview skill generates staging preview links for a MongoDB docs pull request. It first checks the PR's changed files for anything under content/. If it finds documentation changes, it polls the PR for the builder-bot Deploy Preview comment and reads the Netlify base URLs from that comment.

It then builds page URLs for changed .txt pages, includes, YAML extracts, images, and table of contents files, and returns them as a Markdown list for a PR body. The source says the open-pr and captain-v2 skills call it, and it can also run on its own to refresh links on an existing PR. If the bot comment does not appear during polling, it returns a note that links were not available. If no changed file is under content/, it returns N/A. It is aimed at MongoDB docs contributors.

Written from the project's SKILL.md and checked against it.

What it can do

  • Changed file checkLists the PR's changed files with gh and stops with N/A when none are under content/.
  • Bot comment pollingPolls the PR for the builder-bot Deploy Preview comment and reads the Netlify base URLs.
  • Page URLsBuilds staging URLs for changed .txt pages, including the version segment when present.
  • Include resolutionFinds a page that renders a changed includes file and builds a staging URL for it.
  • YAML extract handlingMaps changed ref blocks in YAML extracts to virtual include paths and finds pages that use them.
  • TOC linksLinks to the parent section URL for changes in table of contents files.

What you need

  • GitHub CLI (gh)
  • git, with an origin/HEAD reference in the repository
  • Access to the pull request on GitHub
  • A builder-bot Deploy Preview comment on the PR

Try asking

  • Generate staging preview links for PR 19378.
  • Refresh the staging links on my open docs pull request 19378.
  • Create a Markdown list of staging links for PR 19378 for the PR body.

Good to know

  • Polls the PR up to 10 times, 15 seconds apart, before timing out.
  • For YAML extracts with many matching pages, includes a sample of up to five and notes others may be affected.
  • Asset files such as images are linked through a parent page, not directly.
  • Marked as internal in the source frontmatter.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .opencode/skills/staging-preview/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to staging-preview

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

staging-preview: common questions

What does the staging-preview skill return?

It returns a Markdown list of staging links ready to insert into a PR body. If no links can be generated, it returns N/A.

Which files get staging links?

Changed .txt pages, includes, YAML extracts, images, and TOC files are handled. Non-page files such as code examples and test files are omitted.

What happens if the bot comment never appears?

After the polling loop times out, the skill returns a note that staging links were not available.

How do I install staging-preview?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is staging-preview free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is staging-preview safe to use?

It scores 69 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to staging-preview?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

staging-preview Install

Add to stack

Loading.