publish-site
Was er macht
Dieser Skill hilft deinem Agenten, eine statische Website oder eine gebaute Web-App auf einem Host deiner Wahl zu veröffentlichen und sie später zu aktualisieren oder zurückzusetzen. Er ist für Menschen gedacht, die einen teilbaren Link für eine selbst gebaute Seite wollen.
Wann du ihn nutzt
- ✓Wenn du willst, dass dein Agent eine Website, ein Dashboard oder einen Bericht online stellt und dir einen Link gibt.
- ✓Wenn du eine bereits veröffentlichte Seite mit neuen Inhalten aktualisieren willst.
- ✓Wenn du eine Seite nach einer fehlerhaften Veröffentlichung auf die vorherige Version zurücksetzen willst.
Link zum Skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/web-development/publish-site/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Veröffentliche dieses Dashboard online und gib mir einen Link, den ich mit meinem Team teilen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill prüft, bei welchem Anbieter du angemeldet bist, zeigt eine lokale Vorschau der Seite, versieht jede Veröffentlichung mit einer Version und veröffentlicht über den ersten verfügbaren Host. Danach prüft er die Live-Adresse per HTTP.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Publish Site
Take a website, dashboard, or web app the user built (or you built for them) and put it online on infrastructure the user owns — GitHub Pages by default, Cloudflare Pages or Netlify when they need more. The discipline: preview locally for sign-off, version every deploy with a git tag, deploy through a provider ladder, verify the live URL with a real HTTP check, and keep rollback one command away.
This skill covers static sites and SPA build output (plain HTML/CSS/JS, or the dist//build/ folder from Vite/Next-export/Astro/etc.). It does not cover server-side runtimes — for throwaway serverless deploys with zero account setup, use the cloudflare-temporary-deploy optional skill instead.
When to Use
Load this skill when the user asks to:
- Put a site online — "publish this", "host this somewhere", "give me a link I can share"
- Deploy a dashboard, report, portfolio, docs site, or prototype you just generated
- Update an already-published site with new content (redeploy = new version)
- Roll back a bad deploy to the previous version
- Pick a host — they don't care where, they just want a URL
Prerequisites
At least ONE authenticated provider CLI (check in this order):
- GitHub Pages (default):
gh auth statussucceeds. Needsgittoo. - Cloudflare Pages:
wrangler whoamisucceeds (orCLOUDFLARE_API_TOKENis set). Install:npm i -g wrangleror usenpx wrangler@latest. - Netlify (fallback):
netlify statussucceeds. Install:npm i -g netlify-cli.
Plus:
- A directory of static output to publish (site root or a
dist//build/folder). If the project needs a build step, run it first and publish the output directory, never the source. - For local preview sharing:
cloudflared(optional —python3 -m http.servercovers local-only preview).
How to Run
All commands below run via the terminal tool from the site's project directory. The pipeline is always the same five moves:
- Build → 2. Preview for sign-off → 3. Commit + tag (version-before-deploy) → 4. Deploy via the provider ladder → 5. Verify the live URL with
curland report it.
Quick Reference
| Step | Command |
|---|---|
| Local preview | python3 -m http.server 8080 --directory dist |
| Shareable preview | cloudflared tunnel --url http://localhost:8080 |
| Version a deploy | git add -A && git commit -m "deploy: <what>" && git tag deploy-YYYYMMDD-HHMM |
| GitHub Pages (branch mode) | git subtree push --prefix dist origin gh-pages |
| Enable Pages on repo | gh api repos/{owner}/{repo}/pages -X POST -f 'source[branch]=gh-pages' -f 'source[path]=/' |
| Cloudflare Pages | npx wrangler@latest pages deploy dist --project-name <name> |
| Netlify | netlify deploy --prod --dir dist |
| Rollback | git checkout <previous-tag> -- . && redeploy (or provider dashboard) |
| Verify live | curl -sS -o /dev/null -w '%{http_code}' <url> → expect 200 |
Procedure
1. Build and preview locally
Build if needed (npm run build, etc.) and identify the output directory. Serve it:
python3 -m http.server 8080 --directory dist
For a shareable preview link (user on another machine, or you want their sign-off before going live), open a quick tunnel in a background terminal session:
cloudflared tunnel --url http://localhost:8080
Give the user the https://*.trycloudflare.com URL and get sign-off before deploying. Kill the tunnel afterwards.
2. Version before deploy — no exceptions
Every deploy must come from a git commit, so every deploy is reproducible and rollback is trivial.
git init 2>/dev/null; git add -A
git commit -m "deploy: <short description>"
git tag "deploy-$(date +%Y%m%d-%H%M)"
If the project already has a repo, just commit + tag. Never deploy uncommitted files.
3. Deploy — provider ladder
Rung 1 — GitHub Pages (default: free, zero extra accounts if gh is authed):
gh repo create <name> --public --source . --push # skip if repo exists
git subtree push --prefix dist origin gh-pages # publish build output
gh api "repos/{owner}/<name>/pages" -X POST \
-f 'source[branch]=gh-pages' -f 'source[path]=/' # first time only
Site appears at https://<owner>.github.io/<name>/. If the site is the repo root (no build dir), push main and set Pages source to main instead of using subtree. For build-step projects that will redeploy often, prefer the official actions/deploy-pages workflow so p
Häufige Fragen
Welche Hosts unterstützt er?
Der Skill unterstützt standardmäßig GitHub Pages sowie Cloudflare Pages und Netlify.
Unterstützt er serverseitige Apps?
Nein. Der Skill deckt statische Seiten und Single-Page-App-Builds ab, keine serverseitigen Laufzeitumgebungen.
Kann ich eine Veröffentlichung rückgängig machen?
Ja. Der Skill sagt, jede Veröffentlichung ist markiert, sodass das Zurücksetzen mit einem einzigen Befehl möglich ist.
Details
Originalbeschreibung des Autors
Versioned site deploys to GitHub/Cloudflare/Netlify Pages.
Beliebtheit
- GitHub-Sterne
- 260k
- Platz im Ranking
- #580
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
agent-merge-conflict-arbiter
260kLöst einen Git-Merge-Konflikt zwischen den Branches zweier Agenten als neutrale dritte Partei und erzeugt ein zusammengeführtes Ergebnis für das Repo.
antigravity-cli
260kFührt dich durch Installation, Aktualisierung und Fehlersuche des Antigravity-Kommandozeilenwerkzeugs, einschließlich Plugins, Anmeldung und Sandbox.
blackbox
260kLässt deinen Agenten eine Coding-Aufgabe an das Blackbox-KI-Kommandozeilenwerkzeug übergeben, das mehrere KI-Modelle nutzt und das beste Ergebnis auswählt.
dynamic-workflow
260kBringt deinem Agenten bei, große Stapel gleichartiger Arbeit als gespeichertes Skript auszuführen, sodass nur geprüfte Ergebnisse in die Hauptunterhaltung zurückkehren.
Ähnliche Skills
openclaw-update
394kHilft deinem Agenten, ein bestehendes OpenClaw-Gateway zu aktualisieren, mit der Methode, die zu deiner Installation passt, während deine Sitzung weiterläuft.
diagnose-gateway
394kHilft deinem Agenten herauszufinden, warum dein OpenClaw-Gateway fehlschlägt, indem er Einstellungen, Kanäle und Ports prüft, ohne etwas zu ändern.
crabbox-apps
394kHilft deinem Agenten, eine App auf einer temporären Cloud-Maschine zu öffnen und auszuführen und ihre Ansicht in deinem Chat-Seitenpanel zu zeigen.