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 waits for Netlify deploy preview comments, then builds and checks page URLs for changed docs files. Built for MongoDB docs maintainers.

  • Score 67
  • 780 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/.claude/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

Staging Preview is an internal skill for MongoDB documentation pull requests. It generates staging preview links that show changed docs pages as they render on Netlify. The open-pr and captain-v2 skills call it after a PR is created, and it can also run on its own to refresh links on an existing PR.

The skill checks the PR for changes under content/. It polls the netlify bot's deploy preview comments until the builds finish, then builds page URLs for changed .txt pages, includes, YAML extracts, images and TOC files. It checks each URL returns HTTP 200 and returns the links as a Markdown list for the PR body. It is meant for MongoDB docs maintainers who need review links.

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

What it can do

  • Check for docs changesLists changed PR files and skips the PR when no file under content/ changed.
  • Wait for Netlify previewsPolls PR comments until deploy previews finish building or the wait times out.
  • Build page URLsTurns changed .txt pages into staging URLs using a project prefix lookup file.
  • Trace include filesFinds a page that renders a changed include or YAML extract and links to it.
  • Link images and TOC changesLinks the parent page of an image or the parent section of a navigation change.
  • Verify URLsChecks each staging URL with curl and keeps only links that return HTTP 200.

What you need

  • GitHub CLI (gh)
  • curl
  • Bash shell with background process support
  • Access to the MongoDB docs repository and its pull requests

Try asking

  • Generate staging preview links for PR 25184
  • Refresh the staging links on my open docs pull request
  • Create preview links for the changed includes in PR 25170

Good to know

  • Marked as an internal skill in its metadata.
  • Skips Netlify sites that are not in ready status, such as failed builds.
  • Polling stops after about ten minutes if previews are not ready.
  • Lists at most five sample pages when a YAML extract affects many pages.

Security check

A

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

Checked automatically: .claude/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 produce?

It returns a Markdown list of staging links for the changed docs pages, ready to insert into a PR body. If no links can be made, it returns N/A.

Does it work for included files and images?

Yes. For include files it finds a page that renders them, and for images it links to a parent page that references the asset.

What happens if the Netlify previews never finish?

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 67 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.