refactor(skills): move publish-site to optional-skills

Per the 'when in doubt, optional' rule — site publishing is an
on-request capability, not a weekly daily-driver for most users.
Joins cloudflare-temporary-deploy/page-agent under
optional-skills/web-development (existing category, existing
DESCRIPTION.md kept; the new bundled category dir is dropped).

Install via: hermes skills install official/web-development/publish-site
This commit is contained in:
teknium1
2026-08-27 07:13:37 -07:00
committed by Teknium
parent 5c57e77541
commit 034c6ac77b
7 changed files with 8 additions and 24 deletions

View File

@@ -1,3 +0,0 @@
---
description: Skills for building and publishing websites and web apps — local preview, versioned deploys, and hosting on user-owned infrastructure.
---

View File

@@ -1,4 +1,4 @@
"""Tests for the bundled skills/web-development/publish-site skill.
"""Tests for the optional-skills/web-development/publish-site skill.
Structural + internal-consistency checks only (stdlib + pytest, no network).
"""
@@ -9,7 +9,7 @@ from pathlib import Path
import pytest
REPO = Path(__file__).resolve().parents[2]
SKILL_DIR = REPO / "skills" / "web-development" / "publish-site"
SKILL_DIR = REPO / "optional-skills" / "web-development" / "publish-site"
SKILL_MD = SKILL_DIR / "SKILL.md"
VALID_PLATFORMS = {"linux", "macos", "windows"}
@@ -135,8 +135,8 @@ def test_preview_before_deploy(skill_text: str):
def test_category_description_exists():
desc = REPO / "skills" / "web-development" / "DESCRIPTION.md"
assert desc.is_file(), "bundled web-development category needs a DESCRIPTION.md"
desc = REPO / "optional-skills" / "web-development" / "DESCRIPTION.md"
assert desc.is_file(), "optional web-development category needs a DESCRIPTION.md"
if __name__ == "__main__":

View File

@@ -240,6 +240,7 @@ hermes skills uninstall <skill-name>
|-------|-------------|
| [**cloudflare-temporary-deploy**](/docs/user-guide/skills/optional/web-development/web-development-cloudflare-temporary-deploy) | Deploy a Worker live, no account, via wrangler --temporary. |
| [**page-agent**](/docs/user-guide/skills/optional/web-development/web-development-page-agent) | Embed an in-page natural-language GUI copilot in web apps. |
| [**publish-site**](/docs/user-guide/skills/optional/web-development/web-development-publish-site) | Versioned site deploys to GitHub/Cloudflare/Netlify Pages. |
## yuanbao

View File

@@ -156,9 +156,3 @@ If a skill is missing from this list but present in the repo, the catalog is reg
| [`spike`](/docs/user-guide/skills/bundled/software-development/software-development-spike) | Throwaway experiments to validate an idea before build. | `software-development/spike` |
| [`systematic-debugging`](/docs/user-guide/skills/bundled/software-development/software-development-systematic-debugging) | 4-phase root cause debugging: understand bugs before fixing. | `software-development/systematic-debugging` |
| [`test-driven-development`](/docs/user-guide/skills/bundled/software-development/software-development-test-driven-development) | TDD: enforce RED-GREEN-REFACTOR, tests before code. | `software-development/test-driven-development` |
## web-development
| Skill | Description | Path |
|-------|-------------|------|
| [`publish-site`](/docs/user-guide/skills/bundled/web-development/web-development-publish-site) | Versioned site deploys to GitHub/Cloudflare/Netlify Pages. | `web-development/publish-site` |

View File

@@ -14,8 +14,8 @@ Versioned site deploys to GitHub/Cloudflare/Netlify Pages.
| | |
|---|---|
| Source | Bundled (installed by default) |
| Path | `skills/web-development/publish-site` |
| Source | Optional — install with `hermes skills install official/web-development/publish-site` |
| Path | `optional-skills/web-development/publish-site` |
| Version | `1.0.0` |
| Author | Hermes Agent (Nous Research) |
| License | MIT |

View File

@@ -333,15 +333,6 @@ const sidebars: SidebarsConfig = {
'user-guide/skills/bundled/software-development/software-development-test-driven-development',
],
},
{
type: 'category',
label: 'web-development',
key: 'skills-bundled-web-development',
collapsed: true,
items: [
'user-guide/skills/bundled/web-development/web-development-publish-site',
],
},
],
},
{
@@ -621,6 +612,7 @@ const sidebars: SidebarsConfig = {
items: [
'user-guide/skills/optional/web-development/web-development-cloudflare-temporary-deploy',
'user-guide/skills/optional/web-development/web-development-page-agent',
'user-guide/skills/optional/web-development/web-development-publish-site',
],
},
{