You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/software-development/scripts-bash/SKILL.md
+24-26Lines changed: 24 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: scripts-bash
3
3
description: "Use when writing, revising, or reviewing long-lived bash installer/manager scripts. Enforces a rigid ops-script standard: fixed header, SCREAMING_SNAKE_CASE globals, ANSI log lines, spinner suite, case-driven routines, and hard verification gates."
4
-
version: 4.2.0
4
+
version: 4.2.1
5
5
author: Vituvo
6
6
license: MIT
7
7
platforms: [linux]
@@ -29,7 +29,7 @@ Standard for **long-lived bash installer / manager scripts**. Not for one-liners
29
29
30
30
|| What | Where |
31
31
|--|------|--------|
32
-
|**Skill**| Rules, template, variable registry, one minimal example| This skill directory |
32
+
|**Skill**| Rules, single template, variable registry, authoring| This skill directory |
33
33
|**Products**| Scripts you run day to day | Profile workspace (outside the skill) |
34
34
35
35
Default product layout (relative to the active Hermes profile home):
@@ -40,38 +40,36 @@ workspace/
40
40
scripts/<purpose>/<name>.sh
41
41
```
42
42
43
-
Do **not** write live products into the skill tree. Copy `templates/template-base.sh` (or `references/template-base.sh`) out to the product path.
43
+
Do **not** write live products into the skill tree. Copy **`templates/template-base.sh`** out to the product path.
44
44
45
45
## Package contents (lean)
46
46
47
47
```text
48
48
SKILL.md
49
49
README.md
50
50
PUBLISH.md
51
-
references/template-base.sh
51
+
templates/template-base.sh # ONLY executable skeleton
52
52
references/screaming-snake-case-variables.md
53
-
references/authoring.md # tutorial: how to use this skill
54
-
templates/template-base.sh # same skeleton
55
-
examples/minimal-service-installer.sh # ship-safe sample only
53
+
references/authoring.md
56
54
```
57
55
58
-
No production installer trees. No host-specific prompt packs.
56
+
One skeleton only. No duplicate templates. No `examples/` clone of the same file. No symlinks.
59
57
60
58
## Tutorial
61
59
62
-
Read **`references/authoring.md`** first time you use the skill. It is the human/agent walkthrough (5-step recipe, good vs bad output, smoke test for reviewers).
60
+
Read **`references/authoring.md`** first time you use the skill.
-`display_start_message` — banner gated on `DEBUG` only
@@ -156,36 +154,36 @@ Copy from the template. Do not re-invent.
156
154
157
155
## Craft bar (master-script expectations)
158
156
159
-
House style uses **explicit exit checks** + `sexit; exit 1` (see golden installers). Do **not** slap `set -euo pipefail` on a large installer unless you re-audit every command; optional on small new scripts if you understand `set -e` + pipelines.
157
+
House style uses **explicit exit checks** + `sexit; exit 1`. Do **not** slap `set -euo pipefail` on a large installer unless you re-audit every command; optional on small new scripts if you understand `set -e` + pipelines.
0 commit comments