Skip to content

README: start from what the gem does, for readers new to it - #46

Merged
czj merged 1 commit into
mainfrom
claude/practical-cori-ycq2em
Nov 6, 2026
Merged

czj merged 1 commit into
mainfrom
claude/practical-cori-ycq2em

Conversation

@czj

@czj czj commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The README assumed its reader already knew the browser gem. It opened on a comparison with browser and benchmark numbers, then a 120-line method list, and it had no example of what a call returns. Its prose leaned on bold bullet lists and em dashes, two of the signs Wikipedia: Signs of AI writing lists, and upstream's older sections had typos ("an user", "a initializer").

The first line now says what Agentry does. A short example shows real answers for an iPhone user agent, verified against the current code. Next come a section on where the gem comes from and what it adds, then installation, with the conflict with gem "browser" explained, and usage, starting with the Rails helper. The method list and every later section are rewritten in plain sentences with sentence-case headings. Facts, numbers, code and links are unchanged.

  • New readers first: what it does, a real example, then the fork's story and its additions as a plain list.
  • No AI tells: no em dashes, curly quotes, bold lead-ins, puffery or "serves as" constructions, and none of the words the Wikipedia page lists.
  • Up to date: covers the reverse DNS cache (dns_cache_size, dns_cache_ttl, dns_timeout), the spoofing caveat for the Cloudflare headers, the headers: argument in the way back to browser, and the signed-tag check of a release.
  • Grouped sections: bots, categories, custom rules and verified crawlers sit together; limits, cache and preloading share a section; the migration guide moves after usage.
Checked

The example outputs come from running the snippet against main (Safari, 18, iOS (iPhone), fr-FR; GPTBot gives ChatGPT, :ai_crawler). The rewritten README has no em dashes, en dashes, curly quotes or **, and none of the AI-vocabulary words the page lists. Every number (25 µs, 126 µs, 882, 353, 11, 600, 792, 13 ms) is the one the previous README gave.

The README opened on browser's history and benchmark numbers, then a
100-line method list. It now says what Agentry does in its first line,
shows a request answered, then where the gem comes from and what it adds,
before installation and usage. Every section is rewritten in plain
sentences: no bold lists, no em dashes, no filler, with the facts and
numbers unchanged. It also covers the reverse DNS cache, the headers:
argument in the way back to browser, and the signed-tag check of a release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VLwjZyWmQL6GwpLmowWPVn
@czj
czj enabled auto-merge (squash) November 6, 2026 06:46
@czj
czj merged commit f2ce1ab into main Nov 6, 2026
16 checks passed
@czj
czj deleted the claude/practical-cori-ycq2em branch November 6, 2026 06:47
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.

2 participants