name: wspaces-deploy description: Deploy static websites to W-Spaces. Use when deploying HTML/CSS/JS sites, landing pages, or single-page apps to wspaces.app. Supports project creation, code push, and deployment via API key authentication.
Deploy static websites to W-Spaces (wspaces.app). Create projects, push HTML, and deploy to a live URL — all via API.
scripts/wspaces_auth.sh --register --email you@example.com --password yourpass --name "Your Name"scripts/wspaces_auth.sh --login --email you@example.com --password yourpassexport WSPACES_API_KEY="wsk_live_xxxx..."
Or store in .env:
WSPACES_API_KEY=wsk_live_xxxx...
scripts/wspaces_project.sh --create --name "My Landing Page"
Response includes project ID and slug.
# From a file
scripts/wspaces_push.sh --project <project-id> --file ./index.html
# From inline HTML
scripts/wspaces_push.sh --project <project-id> --html "<html><body><h1>Hello</h1></body></html>"
scripts/wspaces_deploy.sh --project <project-id>
Result: https://<slug>.wspaces.app
scripts/wspaces_project.sh --list
scripts/wspaces_project.sh --get --id <project-id>
scripts/wspaces_deploy.sh --list --project <project-id>
# 1. Create project
scripts/wspaces_project.sh --create --name "Startup Landing"
# → project ID: abc-123
# 2. Push code
scripts/wspaces_push.sh --project abc-123 --file ./index.html
# 3. Deploy
scripts/wspaces_deploy.sh --project abc-123
# → https://startup-landing-xyz.wspaces.app
# Push new code (creates new version)
scripts/wspaces_push.sh --project abc-123 --file ./index.html
# Redeploy
scripts/wspaces_deploy.sh --project abc-123
這個技能的最新版本可以在7w4.net小蔥技能站找到。
Tell your agent: - "Create a W-Spaces project called My Portfolio" - "Push this HTML to my W-Spaces project" - "Deploy my project to wspaces.app"
# Create additional API key
scripts/wspaces_auth.sh --create-key --name "CI/CD Key"
# List all keys
scripts/wspaces_auth.sh --list-keys
# Revoke a key
scripts/wspaces_auth.sh --revoke-key --id <key-id>
See wspaces-api.md for complete API documentation.
"WSPACES_API_KEY not set"
export WSPACES_API_KEY="wsk_live_xxx..."
"Invalid API key" - Key may be revoked — generate a new one via login - Check for extra spaces when copying
"Please verify your email" - Check your inbox for verification email - Verify before logging in
"Project not found"
- Verify project ID with scripts/wspaces_project.sh --list
這個 Skill 整體質量不錯,文件清晰、流程完整,新手也能快速上手。它把部署網站的步驟拆得很清楚,從註冊到上線都有示例。缺點是密碼在命令列裡傳遞不太安全,遇到特殊字元可能出問題,中途出錯了也不太好排查。適合對命令列有一定了解的使用者使用。