Shihui Web Link Publishing
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_ca714212/shihui-publish.
About this skill
Problem
When local HTML, courseware, static sites, or frontend build output needs to be shared as a stable URL, sending files is usually not enough. Pages may contain file:///... paths that only work on one machine, multiple unrelated HTML files may share one directory with no clear entry point, and repeated publishing can create duplicate links while the old one becomes stale. This skill turns static-content publishing into a repeatable workflow: create or update a project, return a public URL, and store id, url, and token in .openurl.json for later update, deletion, or listing.
Core Capabilities
- Static hosting only: supports HTML, CSS, JS, images, fonts, PDFs, and
.ggbfiles; React/Vuedist/orbuild/output should be uploaded after build, not source trees ornode_modules. - Create or update: if
.openurl.jsonexists or the same/p//link was already shared, prefer updating the existing project; create a new project only when no record exists or the user explicitly asks for a new link. - Auth and lifecycle: anonymous publishing requires no account but links usually stop being accessible after 3 days; account publishing supports persistent storage, updates, deletion, and authentication via phone/password, session, or long-lived
API Key. - Pre-publish checks: the script checks for
file:///references, pure redirect pages, and truncated HTML; the service also runs AI safety review on each HTML page and blocks phishing, fake login, credential theft, malicious scripts, or fraudulent redirects. - Entry constraints: folder publishing should include a root
index.html; one link should serve one clear entry point, and unrelated content should be published separately or organized through a navigation page.
Limits and Caveats
It is not suitable for Node/Python backends, SSR, WebSocket services, or server-side persistence. Files are limited to 25 MB, projects to 200 MB or 800 files. Links are public, so sensitive data should not be uploaded. If the user explicitly requests Vercel, Netlify, GitHub Pages, or another platform, this skill should not be used as the default route.
Use Cases
- Teachers publish HTML courseware, images, and GeoGebra files as shareable links for students.
- Developers publish React build output as a temporary demo link for reviewers to inspect.
- Operations update an existing landing-page link with new HTML and assets without changing the URL.
- Authors upload PDFs, images, and explanatory HTML as a public resource entry point.
Best For
- Teachers who need to share local HTML courseware with students and keep an updatable link
- Engineers who need to turn frontend build output into temporary demo links
- Operations staff who need to maintain campaign-page links and update content in place
- Course producers who need a public entry point for static learning resources
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.
A comprehensive browser automation guide covering navigation, interaction, multi-tab management, and data collection, tailored for domestic web ecosystems and tools like Playwright/Selenium.
Wraps LibreDWG CLI tools for reading DWG, converting DXF, exporting SVG, querying layers, searching text, and batch filtering.