skills
๐ง Hugo Knowledge Site Skill
Workflow contract for editing, generating, verifying, and publishing wiki.moincraft.de.
This page is the public workflow contract for the curated operator wiki at wiki.moincraft.de.
The source root is:
/home/mc/wiki
Use it whenever editing, building, or publishing the operator wiki. Moincraft runtime checks still run from /home/mc/moincraft.
Contract summary#
- The wiki is a curated static Hugo site, not a raw runtime-state mirror.
- Source content lives under
/home/mc/wiki/content. - Safe generated summaries come from
/home/mc/wiki/scripts/build-wiki-content.mjs. - Build output lives under
public/wikiand is never hand-edited. - Publication uses
npm run wiki:deployafter verification.
Required workflow#
cd /home/mc/wiki
npm run wiki:content
PATH="/home/mc/bin:/tmp/dart-sass:$PATH" hugo --renderToMemory --buildDrafts --buildFuture
npm run wiki:build
npm run wiki:deploy
Safety boundary#
Allowed: curated docs, AGENTS guidance, public manifest facts, and safe Nexus JSON summaries.
Blocked: .env, tokens, passwords, RCON credentials, raw Hermes state, sessions, memories, logs, DBs, caches, and generated output as source.
Maintenance rule#
If a future edit changes the wiki workflow, update this page and the relevant scripts in /home/mc/wiki/scripts in the same change.