update hero_rust_repo_create skill: lifecycle moves to hero_skills, drop Makefile/.env #165

Merged
mahmoud merged 1 commit from update_skill_hero_rust_repo_create_lifecycle_in_hero_skills into development 2026-04-29 05:34:37 +00:00
Owner

Brings the hero_rust_repo_create skill in line with what we actually do today.

What changed in the canonical layout

  • No Makefile. Builds are plain cargo build --release --workspace. CI calls scripts/build_lib.sh + scripts/buildenv.sh directly. Lifecycle (install / start / stop / status / logs) is owned by the nu service module.
  • No .env.example. Runtime configuration (env vars, secrets, keys) moves to the hero_proc secret store (per /hero_proc_secrets).
  • No scripts/configure.sh / install.sh / uninstall.sh triplet. The previous "add them if you ship a public installer" carve-out is gone — the Hero-native install path via service_<n> install is the canonical one.
  • No scripts/nu_service.nu inside the repo. The service_<n>.nu module lives in hero_skills/tools/modules/services/. Creating a new repo now includes adding that file to hero_skills and re-exporting it from mod.nu (and registering with packages.nu aggregators when applicable).

Sections touched

  • Frontmatter description + related skills (drop makefile_helper, add hero_proc_secrets)
  • Output tree (slimmer scripts/ — just build_lib.sh + buildenv.sh)
  • Hard rules (added rule #7 banning the dropped files)
  • Step 4 (Scripts) — only two scripts ship in the repo
  • Step 5 (configuration.md) — points at hero_proc secrets, no env vars
  • Step 6 (README order) — Quick Start is service_<n> install ; service_<n> start; dropped Make Targets section
  • Step 7 — was "Makefile", now "No Makefile" with rationale and migration note for older repos
  • Step 9 — nu module lives in hero_skills, with the 5-step checklist for the repo creator
  • Step 11 (Verification) — smoke-build uses cargo, smoke-run uses service_<n>
  • Quick checklist — explicit "no Makefile / no .env / no scripts/nu_service.nu" items

Follow-up

The /nu_service skill itself still says "Always create scripts/nu_service.nu" inside the service repo — that wording now contradicts this skill. A small follow-up PR to update claude/skills/nu_service/SKILL.md is worth doing next.

Brings the `hero_rust_repo_create` skill in line with what we actually do today. ## What changed in the canonical layout - **No `Makefile`.** Builds are plain `cargo build --release --workspace`. CI calls `scripts/build_lib.sh` + `scripts/buildenv.sh` directly. Lifecycle (install / start / stop / status / logs) is owned by the nu service module. - **No `.env.example`.** Runtime configuration (env vars, secrets, keys) moves to the `hero_proc` secret store (per `/hero_proc_secrets`). - **No `scripts/configure.sh` / `install.sh` / `uninstall.sh` triplet.** The previous "add them if you ship a public installer" carve-out is gone — the Hero-native install path via `service_<n> install` is the canonical one. - **No `scripts/nu_service.nu` inside the repo.** The `service_<n>.nu` module lives in **`hero_skills/tools/modules/services/`**. Creating a new repo now includes adding that file to `hero_skills` and re-exporting it from `mod.nu` (and registering with `packages.nu` aggregators when applicable). ## Sections touched - Frontmatter description + related skills (drop `makefile_helper`, add `hero_proc_secrets`) - Output tree (slimmer scripts/ — just `build_lib.sh` + `buildenv.sh`) - Hard rules (added rule #7 banning the dropped files) - Step 4 (Scripts) — only two scripts ship in the repo - Step 5 (`configuration.md`) — points at hero_proc secrets, no env vars - Step 6 (README order) — Quick Start is `service_<n> install ; service_<n> start`; dropped Make Targets section - Step 7 — was "Makefile", now "No Makefile" with rationale and migration note for older repos - Step 9 — nu module lives in `hero_skills`, with the 5-step checklist for the repo creator - Step 11 (Verification) — smoke-build uses `cargo`, smoke-run uses `service_<n>` - Quick checklist — explicit "no Makefile / no .env / no scripts/nu_service.nu" items ## Follow-up The `/nu_service` skill itself still says "Always create scripts/nu_service.nu" inside the service repo — that wording now contradicts this skill. A small follow-up PR to update `claude/skills/nu_service/SKILL.md` is worth doing next.
update hero_rust_repo_create: drop Makefile, .env, scripts triplet, per-repo nu_service
All checks were successful
Build and Publish Skills / build-and-publish (pull_request) Successful in 3s
c611d94072
New repos no longer ship a Makefile, a .env.example, the configure/install/
uninstall script triplet, or scripts/nu_service.nu. Lifecycle now lives in
a service_<n>.nu module under hero_skills/tools/modules/services/, added by
the repo creator. Runtime config moves to the hero_proc secret store.
Builds use cargo directly; CI calls scripts/build_lib.sh + buildenv.sh.

Updated the output tree, hard rules, README section order, Step 4 (scripts),
Step 7 (now "no Makefile" with rationale), Step 9 (nu module lives in
hero_skills), Step 11 (verification uses service_<n> install/start), and
the quick checklist.
mahmoud merged commit e87ae74731 into development 2026-04-29 05:34:37 +00:00
mahmoud deleted branch update_skill_hero_rust_repo_create_lifecycle_in_hero_skills 2026-04-29 05:34:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills!165
No description provided.