dochub
Skill by mongodb
Creates or updates a DocHub link at dochub.mongodb.org/core/<key> and opens a pull request for it. It also checks whether a moved or deleted docs page has broken any DocHub link, for writers and engineers at MongoDB.
Install dochub
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/dochub ~/.claude/skills/dochubRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mongodb/docs /tmp/docs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/docs/.opencode/skills/dochub ~/.gemini/antigravity-cli/skills/dochubAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The dochub skill creates or updates a DocHub link at dochub.mongodb.org/core/<key>. The link maps a stable vanity path to a docs URL, so product UI and error messages can point at docs that later move without a product code change or version bump. It also checks whether a moved, renamed or deleted docs page has broken any DocHub link.
All links live in one file in the separate repo 10gen/docs-subdomains. The skill looks up the key, shows a diff for approval, then opens a pull request through the gh API. It is aimed at writers, stakeholders and engineers who need stable docs links for code or UI.
Written from the project's SKILL.md and checked against it.
What it can do
- Look up a DocHub keyReports whether a key is absent, exists with a different target, or already points to the destination.
- Create a DocHub linkAdds a new block to the links file, sorted by key within its section.
- Update a DocHub linkRepoints the to line of an existing key in place.
- Show a diff for approvalPrints a unified diff of the change and waits for approval before pushing.
- Open a pull requestPushes a branch to 10gen/docs-subdomains and opens a PR with a deploy preview URL.
- Check drift after a page moveFinds DocHub entries whose target equals or sits beneath a moved page's old URL.
What you need
- GitHub CLI (gh) authenticated with push access to 10gen/docs-subdomains
- Python 3 to run scripts/dochub.py
Try asking
- Create a dochub link for the Atlas billing docs for our UI banner
- Repoint dochub key atlas-alerts to the new alerts page URL
- Check which dochub links point at the old page I just moved
Good to know
- Edits a separate repo, 10gen/docs-subdomains, not the monorepo
- Opening a PR needs push access; lookup and drift checks are read-only
- Not for casual link sharing or for in-repo redirects of moved .txt pages
- A pre-release target resolves only once the docs page is live
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .opencode/skills/dochub/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dochub
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dochub: common questions
What happens to product code when a docs page moves?
Only the DocHub target changes. The source says no product code change or version bump is needed.
When should I use add-redirects instead of dochub?
Use add-redirects for a renamed, moved or deleted .txt page, because DocHub is for external code links and redirects preserve old docs URLs.
Can a DocHub link point to a page that is not live yet?
Yes. The source says the target may not resolve yet, and the link works once the docs page is live.
How do I install dochub?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dochub free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is dochub safe to use?
It scores 70 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 dochub?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
