Skip to content

Commit e335c8a

Browse files
author
Rubel Hossain
committed
chore: updated agent skills.
1 parent 2ec1bde commit e335c8a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.agents/skills/hugo-template-guidance/references/preflight-checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## If any check fails
1111

12-
**Stop and ask the user to install/upgrade — don't work around it.** Recommend [mise](https://mise.jdx.dev/):
12+
**Stop and ask the user to install/upgrade — don't work around it.** Recommend [mise](https://mise.jdx.dev/) also ask user to run `eval "$(mise activate zsh)"` to activate the correct environment after installing hugo version with mise.
1313

1414
- Install mise if missing (see mise's install docs for the OS).
1515
- `mise use hugo-extended@<version>` — pin the exact extended Hugo build (use `HUGO_VERSION` from `netlify.toml` if present).

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Before `<pm> install` / `<pm> dev` / `<pm> build` / `<pm> preview` (or any other
5858
3. **Hugo Extended, version == `HUGO_VERSION` in `netlify.toml`** — read `[build.environment].HUGO_VERSION` from `netlify.toml`; run `hugo version` and confirm output contains `extended` AND the version matches **exactly** (not just `>=`).
5959
4. **Package manager (`<pm>`)** — see package-manager detection above; confirm `<pm> -v` succeeds.
6060

61-
If any check fails — tool missing, Hugo not the extended build, or Hugo version doesn't match `HUGO_VERSION` from `netlify.toml`**stop and ask the user to install/upgrade it**; don't try to work around it. Recommend [mise](https://mise.jdx.dev/):
61+
If any check fails — tool missing, Hugo not the extended build, or Hugo version doesn't match `HUGO_VERSION` from `netlify.toml`**stop and ask the user to install/upgrade it**; don't try to work around it. Recommend [mise](https://mise.jdx.dev/) also ask user to run `eval "$(mise activate zsh)"` to activate the correct environment after installing hugo version with mise.
6262

6363
- Install mise if missing (see mise's install docs for the OS).
6464
- Version mismatch (wrong version or not extended) → `mise use hugo-extended@<HUGO_VERSION>` using the value from `netlify.toml` (currently `mise use hugo-extended@0.160.0`) — installs and pins the exact build this project requires.

skills-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"source": "zeon-studio/template-skills",
66
"sourceType": "github",
77
"skillPath": "skills/hugo-template-guidance/SKILL.md",
8-
"computedHash": "3484c6acc2c60d4b3d02d4ef8f36baf0711a94c800353995a78b6209eac27f20"
8+
"computedHash": "fb4bb0f322dbe28f479af3508c8c98e1bbb56d078061a074913c5f6aa0557f0e"
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)