fa915784cb
The per-root merge in _copy_dist_payload treated the first level under skills/ as the replace unit, but skills live at skills/<category>/<skill>. A distribution shipping one skill inside a category rmtree'd the whole category directory, wiping every skill the user (or hermes update) had placed there — the exact scenario of issue #25120 that this PR claims to fix. A shipped directory with no files of its own is now a container: its children are merged one level down, and the replace unit becomes the nearest directory that holds a file (a skill dir always holds SKILL.md). A symlinked category (skills/devops -> shared dir) is a container too, so the pre-write symlink check now covers it instead of silently unlinking the link and dropping the shipped copy in its place. Review finding: categorised skill payload rmtree'd skills/<category>/, destroying sibling user and bundled skills; symlinked category was unlinked rather than refused.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.