agentleFS
theNewDynamictheNewDynamic/gohugo-theme-ananke/.agents/skills/ananke-hugo-compatibility-testing/SKILL.md

hugov-testing

Skill1.4k starsChanged 14 days agoMITView on GitHub

Test an Ananke site against Hugo version progressions

Trending

More talk lately.about the whole repository

Jan 2026: 2 mentionsFeb 2026: 9 mentionsMar 2026: 2 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 1 mentionDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the theNewDynamic/gohugo-theme-ananke repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about theNewDynamic/gohugo-theme-ananke

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Bluesky (51 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

30 rules. About 0 are common, 30 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈30

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these instructions when testing an Ananke-based website against multiple local Hugo binaries.

    line 6
  2. Distinctive:

    Only use the non-extended Hugo binaries for these tests.

    line 23
  3. Distinctive:

    Do not use binaries ending in:

    line 25
  4. Distinctive:

    When the user says something like:

    line 33
  5. Distinctive:

    Do not invent missing versions.

    line 51
  6. Distinctive:

    Do not download Hugo versions.

    line 52
  7. Distinctive:

    Only test versions that exist as local non-extended binaries.

    line 53
  8. Distinctive:

    Run the test from the root of the Ananke website repository unless the user explicitly gives another path.

    line 82
  9. Distinctive:

    Run the Hugo build command using that binary.

    line 88
  10. Distinctive:

    Create the directory if it does not exist.

    line 105
  11. Distinctive:

    Use filenames sorted naturally by version:

    line 115
  12. Distinctive:

    Use this default command unless the user requests another one:

    line 146
  13. Distinctive:

    Before each Hugo run, remove the generated output directory if it exists.

    line 152
  14. Distinctive:

    Before each run, remove that version's output directory.

    line 178
  15. Distinctive:

    Do not remove unrelated folders.

    line 180
  16. Distinctive:

    After all builds finish, compare:

    line 184
  17. Distinctive:

    Do not hide real build differences.

    line 210
  18. Distinctive:

    When warnings or errors repeat across all versions, list them once and mark them as shared.

    line 228
  19. Distinctive:

    When warnings or errors only happen in some versions, highlight the affected versions.

    line 230
  20. Distinctive:

    When reporting results, use this structure:

    line 234
  21. Distinctive:

    Do not use Hugo extended binaries.

    line 289
  22. Distinctive:

    Do not download missing Hugo versions.

    line 290
  23. Distinctive:

    Do not assume a patch version exists.

    line 291
  24. Distinctive:

    Do not stop after the first failing version.

    line 292
  25. Distinctive:

    Always keep the full log output.

    line 294
  26. Distinctive:

    Always compare results after all runs.

    line 295
  27. Distinctive:

    Always list the tested Hugo binary paths.

    line 296
  28. Distinctive:

    Always show when no matching Hugo versions were found.

    line 297
  29. Distinctive:

    Always distinguish between command output differences and generated site output differences.

    line 298
  30. Distinctive:

    Always use explicit version numbers in the final summary.

    line 299

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use these instructions when testing an Ananke-based website against multiple local Hugo binaries.

The goal is to verify that the website builds correctly across a requested Hugo version range, collect full logs per Hugo version, and compare output differences, warnings, and errors.

Hugo executable location

Assume Hugo binaries are stored in:

~/github.com/davidsneighbour/hugov/executables/

The binary names follow this pattern:

hugo-v0.162.1
hugo-v0.162.1-extended

Only use the non-extended Hugo binaries for these tests.

Do not use binaries ending in:

-extended

Version range interpretation

When the user says something like:

test between 160 and 162

interpret it as:

v0.160.0 <= version < v0.163.0

In other words:

  • 160 means all available v0.160.x versions.
  • 161 means all available v0.161.x versions.
  • 162 means all available v0.162.x versions.
  • Include every patch version found locally in that range.
  • Do not invent missing versions.
  • Do not download Hugo versions.
  • Only test versions that exist as local non-extended binaries.

Examples:

test between 160 and 162

should include binaries such as:

hugo-v0.160.0
hugo-v0.160.1
hugo-v0.161.0
hugo-v0.162.0
hugo-v0.162.1

but only if they exist locally.

It must exclude:

hugo-v0.160.0-extended
hugo-v0.162.1-extended

Required test workflow

Run the test from the root of the Ananke website repository unless the user explicitly gives another path.

For each matching Hugo binary:

  1. Resolve the absolute path of the Hugo binary.
  2. Extract the semantic version from the filename.
  3. Run the Hugo build command using that binary.
  4. Capture stdout and stderr.
  5. Store the full output in a log file.
  6. Record the exit status.
  7. Record warnings.
  8. Record errors.
  9. Compare the generated output and command output across all tested versions.
  10. Summarise differences.

Log directory

Store logs in:

~/.logs/ananke-hugo-tests/

Create the directory if it does not exist.

Each test run should create a timestamped run directory:

~/.logs/ananke-hugo-tests/YYYYMMDD-HHMMSS/

Inside that directory, write one log file per Hugo version.

Use filenames sorted naturally by version:

hugo-v0.160.0.log
hugo-v0.160.1.log
hugo-v0.161.0.log
hugo-v0.162.1.log

Also create a summary file:

summary.md

The summary file must include:

  • tested repository path
  • test timestamp
  • requested version range
  • resolved Hugo binaries
  • command used per version
  • exit status per version
  • warning count per version
  • error count per version
  • output differences
  • build output differences
  • final judgement

Hugo command

Use this default command unless the user requests another one:

hugo --gc --minify

Before each Hugo run, remove the generated output directory if it exists.

Default output directory:

public/

This prevents stale output from one version affecting another version.

Build output isolation

Each Hugo version must build into its own output directory so that generated files can be compared.

Use this pattern:

.tmp/hugo-version-tests/v0.162.1/public/

Run Hugo with:

hugo --gc --minify --destination ".tmp/hugo-version-tests/v0.162.1/public"

Before each run, remove that version's output directory.

Do not remove unrelated folders.

Comparison requirements

After all builds finish, compare:

  1. Exit status
  2. stdout and stderr
  3. warnings
  4. errors
  5. generated file lists
  6. generated file contents

The comparison must identify:

  • versions that failed
  • versions that passed
  • warnings that appear only in specific versions
  • errors that appear only in specific versions
  • files generated by one version but missing in another
  • files with changed contents
  • relevant differences in generated HTML, CSS, JS, XML, JSON, and text files

Ignore irrelevant noise where appropriate, such as:

  • timestamps generated by the build
  • absolute temporary paths
  • known cache paths
  • ordering differences that do not change generated output

Do not hide real build differences.

Warning and error detection

Scan logs case-insensitively for lines containing:

warning
warn
error
failed
deprecated
panic
timeout

List matching lines grouped by Hugo version.

When warnings or errors repeat across all versions, list them once and mark them as shared.

When warnings or errors only happen in some versions, highlight the affected versions.

Required final response format

When reporting results, use this structure:

## Hugo version test summary

Repository: `...`

Requested range: `...`

Resolved Hugo versions:

* `v0.160.0` - passed
* `v0.160.1` - passed
* `v0.161.0` - failed
* `v0.162.1` - passed

## Issues

### Errors

* `v0.161.0`: ...

### Warnings

* Shared across all versions: ...
* `v0.162.1` only: ...

## Output differences

### File list differences

* `v0.160.0` generated `...`, but `v0.162.1` did not.

### File content differences

* `public/index.html` differs between `v0.160.0` and `v0.162.1`.
  * Difference: ...

## Logs

Logs were written to:

`~/.logs/ananke-hugo-tests/YYYYMMDD-HHMMSS/`

Summary file:

`~/.logs/ananke-hugo-tests/YYYYMMDD-HHMMSS/summary.md`

## Final judgement

...

Behaviour rules

  • Do not use Hugo extended binaries.
  • Do not download missing Hugo versions.
  • Do not assume a patch version exists.
  • Do not stop after the first failing version.
  • Continue testing all resolved versions.
  • Always keep the full log output.
  • Always compare results after all runs.
  • Always list the tested Hugo binary paths.
  • Always show when no matching Hugo versions were found.
  • Always distinguish between command output differences and generated site output differences.
  • Always use explicit version numbers in the final summary.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.