feat(skills): add hero_rust_repo_create — canonical Hero Rust workspace layout #144
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_skill_hero_rust_repo_create"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
hero_rust_repo_create— an umbrella skill that walks a coding agent through creating a new Hero Rust repository, or aligning an existing one, to the canonical workspace layout shared byhero_computeandhero_books.Why
We just spent four PRs (
hero_books#97, #109, #110, #111) bringinghero_booksinto line withhero_compute. The pattern that emerged is coherent enough to deserve its own skill — but no existing skill covers it end-to-end.hero_crates_best_practices_checkcovers the multi-crate architecture;repo_checkcovers build automation;hero_sockets/hero_proc_service_selfstart/naming_conventioneach cover one slice. Nothing tied them together with the layout layer (workspace.package, scripts triplet, docs flatness, README section order, Makefile target set).Next time someone scaffolds a new Hero Rust service, this skill is the single entry point — and the focused skills remain the source of truth for their own subsystems.
What's in it
11-step procedure from empty directory to running service:
[workspace]+[workspace.package]+resolver = "3")<n>/<n>_lib/<n>_server/<n>_sdk+ optional_ui/_admin/_examples/_lib_rhai)build_lib.sh,buildenv.sh,configure.sh,install.sh,uninstall.sh)docs/, semantic filenames)Each step references the existing focused skill — does not duplicate it.
Hard rules called out separately because they trip people up:
src/; binaries live in their own crateCargo.tomlhas no[package]; pure[workspace]+[workspace.package]buildenv.shinscripts/, not at repo rootdocs/is flat; nomanual/subdirectory$HERO_SOCKET_DIR--start/--stop/--statusA "Quick checklist" at the bottom you can pin while running the skill.
Pointers to the four reference PRs in
hero_booksso anyone aligning an existing repo has worked examples to follow.Test plan
🤖 Generated with Claude Code