publish-page

Publish files or directories to page.xueheng.site via SCP with markdown conversion and URL validation.

4|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Xueheng-Li/ai-tools-installation --skill publish-page
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publish-page
Source: https://github.com/Xueheng-Li/ai-tools-installation/tree/main/recommended_skills/publish-page
Command: npx skills add https://github.com/Xueheng-Li/ai-tools-installation --skill publish-page

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sshpass, pandoc, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Manually uploading files, directories, or markdown documents to the page.xueheng.site hosting service requires multiple steps—converting markdown, ensuring URL‑safe names, transferring via SCP, and verifying the deployment—often leading to errors and wasted time.

Core Features & Use Cases

  • Automatic validation of source files and security checks for sensitive content.
  • Smart slug generation to create clean, unique URLs.
  • Markdown to HTML conversion with Chinese‑quote formatting and list fixing using pandoc.
  • One‑click upload of single files or entire directories via SSH/SCP.
  • Deployment verification through HTTP status checks, returning the live URL.

Quick Start

Ask the assistant to publish your report.html to page.xueheng.site.

Frequently Asked Questions about publish-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish markdown to HTML and upload it via SCP automatically?

To publish markdown to HTML via SCP, this Skill converts markdown using pandoc, formats Chinese quotes, generates URL-safe slugs, and transfers the content securely to the hosting service. It returns the live URL after verifying the HTTP status.

Do I need sshpass and pandoc to automate file uploads via SSH?

Yes, you need sshpass and pandoc to automate uploads via SSH. sshpass handles the non-interactive SCP transfer to the hosting server, while pandoc is required to convert markdown documents into HTML before deployment.

What is the best way to convert markdown with Chinese quotes for web publishing?

The best way to convert markdown with Chinese quotes for web publishing is using pandoc. This Skill automates the markdown to HTML conversion process, applying specific Chinese quote formatting and list fixing to ensure proper web rendering.

Can I upload an entire directory to a web host using SCP in one step?

Yes, you can upload an entire directory to a web host in one step. This Skill supports one-click upload of single files or whole directories via SSH/SCP, automatically handling validation and security checks before the transfer.

Why does my markdown to HTML conversion fail during web deployment?

Markdown to HTML conversion fails during web deployment if pandoc is missing or the source file contains invalid content. The Skill performs automatic validation of source files and security checks for sensitive content before attempting the transfer.

How do I verify a successful web deployment after uploading files via SCP?

To verify a successful web deployment after uploading files via SCP, the Skill performs an HTTP status check on the target URL. It confirms the content is live and returns the accessible web address to the user.