LABHDUFBA Agentes AcadêmicosLABHDUFBA · UFBA PortuguêsPT
Home / Catalogue / SS-0012

Hugo Site Maintenance for Research Websites

Keep a Hugo site correct while it is edited: inspect before creating, compare the published site with the clone, audit front matter and broken links, and read the deploy run instead of rewriting the build.

SS-0012 Research infrastructure Tested Available Writing and publishing v1.0.0· MIT
PythonGitHubHermes Agent

What it solves

Keep a Hugo site correct while it is being edited: inspect before creating, compare published with the clone, and read the deploy run before touching the build.

Live vs clone checkFront matter auditDeploy diagnosis

Requirements

What you must have before running this skill. Everything required appears here — credentials included.

Hugo extended 0.110+

Requiredsoftware

What it is: The extended Hugo binary, which supports SCSS and Hugo Pipes.

How to get it: Download the hugo_extended tarball from the release and put it in ~/.local/bin. Check with hugo version.

Careful: Match the version used by the CI workflow; divergent versions build differently from what is published.

Python 3.10 or newer

Requiredsoftware

What it is: To run the front matter and link audit.

How to get it: Check with python3 --version.

Careful: No credential: the deploy uses the repository's own token in Actions.

Installation and activation

git clone https://github.com/LABHDUFBA/scholarskills.git
cd scholarskills/hugo-site-maintenance
python3 scripts/hugo_audit.py content --public
  1. Copy the package directory into your agent's skills folder.
  2. Start a new session so the agent re-reads its skills.
  3. Confirm the skill appears in the environment's list before using it.
  4. Only then ask for the task, within the scope and permissions you granted.

In Hermes Agent: hermes skills list and, in session, /skill <name>.

In Claude Code: the directory name becomes the /name command.

Step-by-step guide with activation check →

How it works

—

Evidence

What this package records publicly, dimension by dimension. A record is not the same as scientific quality.

  • Structural conformanceRecorded

    validate_skill.py: PASS, 3 warning(s); local run on 2026-11-26.

    Validator applied, specification version and result recorded.

  • Functional testsRecorded

    19 tests, temporary site in a tmpdir, environment recorded on 2026-11-24.

    Positive, negative and edge cases; environment, result and date recorded.

  • Methodological assessmentNot recorded

    Not recorded.

    Protocol, benchmark, adequate metrics and limitations.

  • Peer reviewNot recorded

    Not recorded.

    Editorial policy, authorised reports, version and decision.

  • Independent re-executionNot recorded

    Not recorded.

    Non-author executor, environment, version, results and divergences.

  • Scientific replicationNot recorded

    Not recorded.

    Where applicable, assessment on new data or a new study under a defined protocol.

The environment, command and output are in tests/RESULTS.md. tests/RESULTS.md ↗

Limits

The package carries no credential; deployment uses the repository's own token in Actions. The audit is structural, not editorial: it cannot decide whether a sentence is true. A green build does not guarantee a correct site; a page can build and still link to a 404.

Authors

NameAffiliationORCID
Leonardo Fernandes NascimentoLABHDUFBA · UFBA0000-0003-2929-1115
Eric BrasilUNILAB0000-0001-5067-8475
Ricardo SodréUFBA0000-0003-3107-3686

ORCIDs are included only when each author supplies them; none is invented.

Licence: MIT

How to cite

NASCIMENTO, Leonardo Fernandes; BRASIL, Eric; SODRÉ, Ricardo. Hugo Site Maintenance (SS-0012), v1.0.0, 2026. LABHDUFBA/UFBA. DOI: 10.5281/zenodo.24505406

DOI: 10.5281/zenodo.24505406

The version DOI identifies the run; the concept DOI gathers the versions.

BibTeX
@software{ss0012,
  author = {Leonardo Fernandes Nascimento and Eric Brasil and Ricardo Sodré},
  title = {Hugo Site Maintenance for Research Websites},
  year = {2026},
  version = {1.0.0},
  publisher = {Digital Humanities Laboratory, Federal University of Bahia},
  url = {https://github.com/LABHDUFBA/scholarskills/tree/main/hugo-site-maintenance},
  doi = {10.5281/zenodo.24505406}
}

Package links