How this command is triggered — by the user, by Claude, or both
Slash command
/hugo-repo:hugo-serveThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Start Hugo Development Server Start `hugo server` with appropriate flags for the current project. ## Process 1. **Verify Hugo is installed:** If not installed, suggest installation method for the current platform. 2. **Resolve Hugo modules** if `go.mod` exists: 3. **Start the server:** 4. **Report** the local URL (typically `http://localhost:1313/`) and any warnings. ## Usage ## Flags | Flag | Purpose | |------|---------| | `--buildDrafts` | Include draft content (default: on) | | `--navigateToChanged` | Browser navigates to changed page | | `--disableFastRender`...
Start hugo server with appropriate flags for the current project.
Verify Hugo is installed:
hugo version
If not installed, suggest installation method for the current platform.
Resolve Hugo modules if go.mod exists:
hugo mod get
Start the server:
hugo server --buildDrafts --navigateToChanged
Report the local URL (typically http://localhost:1313/) and any warnings.
/hugo-serve [flags]
| Flag | Purpose |
|---|---|
--buildDrafts | Include draft content (default: on) |
--navigateToChanged | Browser navigates to changed page |
--disableFastRender | Full rebuild on every change (use if seeing stale content) |
--port 1314 | Use a different port |
If the server fails to start:
hugo.toml exists and is validgo.mod exists (hugo mod init)hugo mod get--port to change)npx claudepluginhub therealbill/mynet --plugin hugo-repo/runlocalRuns ./run_local_server.sh from the repository root to start the local backend and associated services. Passes arguments after `--` directly to the script.
/dev-serverStarts the dev server on [port] or auto-detected port, kills conflicting processes, runs prerequisite builds, polls for readiness, reports URL, and keeps running with 1m watchdog loop.