Skip to content

Write a real README for herb-embedded (herb-embedded-xbi) - #46

Merged
jleo3 merged 1 commit into
mainfrom
herb-embedded-xbi
Aug 18, 2026
Merged

Write a real README for herb-embedded (herb-embedded-xbi)#46
jleo3 merged 1 commit into
mainfrom
herb-embedded-xbi

Conversation

@jleo3

@jleo3 jleo3 commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

Replaces the one-line # herb-embedded stub with an actual README aimed at a Rails developer deciding whether to install the gem.

Acceptance criteria (herb-embedded-xbi)

  • Opens with a short pitch (why herb-embedded exists, Node-free Herb linting) — rewritten independently of CHARTER.md's wording/structure, not a paraphrase.
  • Install & basic usage — Gemfile git: source (not yet on rubygems.org) plus a from-source build, and running herb-lint-rb (including the no-directory-argument gotcha, verified against Runner#files_for).
  • CLI flags reference — table pulled from and verified against lib/herb/embedded/cli.rb's actual OptionParser definitions.
  • Config section.herb.yml schema from Config/CLI::HERB_YML_TEMPLATE, plus a working .herb/rules/*.mjs custom-rule example (same shape as the one in spec/custom_rule_loader_spec.rb).
  • Link to CHARTER.md for rationale/scope instead of duplicating it.
  • No factual drift — every flag, config key, code example, and file path was checked against the actual source (CLI flags, exit codes, .herb.yml keys, custom-rule loading behavior all verified directly; a couple of empirical smoke tests were run against exe/herb-lint-rb to confirm documented CLI behavior matches reality).
  • bundle exec rake passes — rubocop clean, 100 examples / 0 failures.

Test plan

  • bundle exec rake (rubocop + rspec) green
  • Manually verified --init, --version, and file-vs-directory argument behavior against exe/herb-lint-rb
  • ac-reviewer subagent pass against the bead's acceptance criteria (APPROVE)

🤖 Generated with Claude Code

Replaces the one-line stub with a landing page aimed at a Rails dev
deciding whether to adopt the gem: pitch, install/usage, the actual
herb-lint-rb CLI flags, .herb.yml config, and custom rules — with a
pointer to CHARTER.md for rationale instead of duplicating it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jleo3
jleo3 merged commit dee53dc into main Aug 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant