skills: Add Herb install and ERB lint/format skills for LLM agents#1745
Open
lucianghinda wants to merge 1 commit into
Open
skills: Add Herb install and ERB lint/format skills for LLM agents#1745lucianghinda wants to merge 1 commit into
lucianghinda wants to merge 1 commit into
Conversation
Adds two skills under skills/ that help LLM agents work with Herb in Rails projects. Built via test-driven skill authoring: baseline subagent scenarios surfaced concrete failure modes (missing framework: actionview, CI lacking Node and actionview check, lint giving up on missing binary instead of trying npx, grep used instead of herb actionview graph), which the skills explicitly address with rationalization tables and red flag lists. Re-tested with the same scenarios after the rewrite and both agents now comply. - skills/herb-install-rails/ — idempotent install/configure flow with bin/herb-rails-doctor (preflight), bin/herb-rails-setup (Gemfile + .herb.yml + CI workflow with both Ruby and Node setup, plus uninstall), and bin/herb-rails-write-config.rb (deep-merge writer that preserves user-set keys, Ruby 2.6+ compatible). - skills/herb-erb-lint-format/ — inner-loop contract for editing ERB: lint + actionview check + format after every edit, with explicit npx fallback when the gem binary is missing and a note that actionview check has no npm equivalent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author
|
@marcoroth here is a draft of adding two skills to Herb following our conversation in Rimini. I split the idea of skills in two:
I marked this as draft because I need a bit of feedback from you in a couple of directions:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two skills under skills/ that help LLM agents work with Herb in Rails projects.
skills/herb-install-rails/ — idempotent install/configure flow with bin/herb-rails-doctor (preflight), bin/herb-rails-setup (Gemfile + .herb.yml + CI workflow with both Ruby and Node setup, plus uninstall), and bin/herb-rails-write-config.rb (deep-merge writer that preserves user-set keys, Ruby 2.6+ compatible).
skills/herb-erb-lint-format/ — inner-loop contract for editing ERB: lint + actionview check + format after every edit, with explicit npx fallback when the gem binary is missing and a note that actionview check has no npm equivalent.