Skip to content

docs: codify the framing, lint, and reviewer lessons from #471 - #473

Merged
allxsmith merged 2 commits into
mainfrom
docs/claude-md-lessons-from-471
Aug 4, 2026
Merged

allxsmith merged 2 commits into
mainfrom
docs/claude-md-lessons-from-471

Conversation

@allxsmith

@allxsmith allxsmith commented Aug 4, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #471 (merged before this landed on its branch). Three small contract additions distilled from shipping the Form Library Agnostic post, so the next agent gets there faster:

  • docs/blog/CLAUDE.md (voice): sell what the reader keeps, never the absence — stance stated once with reasons, neutral naming, an explicit bring-your-own path, and absence-free titles. Both framing corrections on docs: add "Form Library Agnostic" post and cover rasterize script #471 were this same lesson.
  • docs/CLAUDE.md (conventions): docs/scripts/ is covered by root pnpm lint even on docs-only PRs (docs: add "Form Library Agnostic" post and cover rasterize script #471 broke CI on exactly this); Playwright page.evaluate callbacks need /* global … */ declarations; and a script that already has the page open should validate via the parsed DOM and computed styles, not source regexes.
  • CLAUDE.md (AI development loop): where the deep review output lands (claude PR review, <!-- claude-deep-review -->, tied to its starting sha) and how CodeRabbit's rate-limited incremental reviews resume (push, or triage+ @coderabbitai review).

Deliberately excluded as issue-specific: cover-art technique, the hero pipeline and syndication flow (already codified in-PR on #471), and anything the rasterize-cover.mjs comments now carry. skills/CLAUDE.md needs no rule change; the bestax-form SignupForm bug found during #471 gets its own fix(create-bestax) PR.

Summary by CodeRabbit

  • Documentation
    • Expanded AI development guidance for review feedback, attribution, commit tracking, rate limits, and automated review behavior.
    • Added documentation testing conventions, including linting, browser global declarations, and DOM-based validation.
    • Updated blog-writing guidance to focus on retained value, factual reasoning, neutral alternatives, and practical user paths.

Three contract additions distilled from shipping the forms post: the
blog voice gains the sell-what-the-reader-keeps rule (both framing
corrections on this PR were the same lesson, and the title change
followed it); docs conventions gain the docs-scripts lint requirement
plus the validate-via-the-open-page-DOM-not-source-regexes lesson; the
AI loop section documents where the deep review output lands and how
CodeRabbit's rate-limited incremental reviews resume.
Copilot AI balanced review requested due to automatic review settings August 4, 2026 11:35
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@allxsmith, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 34 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d5001e8e-1dff-4749-9dd4-29961ac52a44

📥 Commits

Reviewing files that changed from the base of the PR and between 958efe9 and c3aeeb0.

📒 Files selected for processing (2)
  • CLAUDE.md
  • docs/CLAUDE.md

Walkthrough

The PR updates AI development, documentation validation, and blog-writing guidance in three Markdown instruction files.

Changes

AI development documentation

Layer / File(s) Summary
AI review workflow guidance
CLAUDE.md
Documents deep-review: steering, Claude review attribution and SHA tracking, CodeRabbit rate-limit handling, and Copilot review behavior.
Documentation script validation guidance
docs/CLAUDE.md
Requires root lint compliance, browser-global declarations in Playwright callbacks, and DOM/computed-style validation.
Omission-focused blog guidance
docs/blog/CLAUDE.md
Defines factual framing, neutral alternatives, reader-focused demos, bring-your-own options, and omission-neutral titles.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested reviewers: copilot, claude

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies documentation changes that capture framing, lint, and reviewer lessons from PR #471.
Description check ✅ Passed The description clearly summarizes all documentation changes, affected files, scope, and intentional exclusions, but omits the template checklist sections.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/claude-md-lessons-from-471

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Codifies documentation and reviewer lessons learned from PR #471.

Changes:

  • Adds blog framing guidance.
  • Documents docs-script linting and browser validation.
  • Clarifies AI review mechanics.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
CLAUDE.md Documents deep-review and reviewer behavior.
docs/CLAUDE.md Adds docs-script conventions.
docs/blog/CLAUDE.md Adds reader-focused framing guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md Outdated
Comment on lines +108 to +110
lands as a PR review from `claude` marked `<!-- claude-deep-review -->`, tied to the head
sha it started from — after later pushes, look for that review, not the current head's
checks.
Comment thread docs/CLAUDE.md Outdated
Comment on lines +113 to +115
execute in the browser, so declare `/* global document, getComputedStyle */` the way
`rasterize-cover.mjs` and bulma-ui's `capture-stories.mjs` do — and when a script already
has the page open, validate through the parsed DOM and computed styles, not regexes over
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Preview Deployment

Preview URL: https://7a2fedc7.bestax.pages.dev

@allxsmith allxsmith self-assigned this Aug 4, 2026
@allxsmith allxsmith added documentation Improvements or additions to documentation deep-review labels Aug 4, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CLAUDE.md`:
- Around line 111-114: Update the “Reviewer mechanics” guidance in CLAUDE.md to
state clearly that CodeRabbit will not retry while the OSS rate-limit window is
active, then specify the manual recovery steps: push a commit or, after the
window resets, have a triage+ user comment `@coderabbitai` review. Preserve the
existing Copilot review guidance.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c70050c9-9361-4dfe-b25b-a541a3df50b3

📥 Commits

Reviewing files that changed from the base of the PR and between 7d2007c and 958efe9.

📒 Files selected for processing (3)
  • CLAUDE.md
  • docs/CLAUDE.md
  • docs/blog/CLAUDE.md

Comment thread CLAUDE.md Outdated

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deep review — 0 blocking · 0 advisory

# Severity Area Finding Location
— — — No blocking defects found. —

Overall: This is a documentation-only PR that distills three contract lessons from #471 into CLAUDE.md, docs/CLAUDE.md, and docs/blog/CLAUDE.md. There is no runtime surface, so the review reduced to verifying the factual claims — and every empirically checkable one holds: root pnpm lint really is eslint scripts docs/scripts (so docs/scripts/ is covered on docs-only PRs), both rasterize-cover.mjs and capture-stories.mjs carry the cited /* global … */ page.evaluate declarations, the shipped title is indeed Form Library Agnostic, and the v3 post's "no date library" paragraph exists. The deep-review-output description also matches the actual mechanics (a claude review marked <!-- claude-deep-review -->). The riskiest lines are the unverifiable operational claims about CodeRabbit rate-limit/resume and Copilot re-review behavior — plausible and internally consistent, but a human should sanity-check them against current reviewer behavior.

Residual risk:

  • Stale-fact drift — the value of these files is accuracy, and they're read by CodeRabbit and the @claude action. Refuted for everything checkable in-repo (lint scope, global decls, blog title/paragraph). The only un-refutable items are external reviewer behaviors (CodeRabbit "review limit reached" resume, Copilot auto-review), which can't be verified from the diff.
  • Scope/loop safety — the PR touches only CLAUDE.md files, none of .github/** or the jest/commitlint/release/pnpm-workspace configs, so it stays inside the fix loop's allowed edit surface. No concern.

🏄 Pure docs cleanup, brah — no code to wipe out on, just three CLAUDE.md files getting the wisdom of #471 carved into the reef. Paddled out and checked every claim against the actual repo and they all held. Ship it, it's a clean glassy set.

Per review: the deep review posts without a commit_id, so GitHub ties
it to the head at post time rather than the sha the workflow started
from; the contract now says to verify findings against current code
instead of asserting that association. capture-stories.mjs declares
only document, so the globals guidance now says to declare what each
callback actually uses. The rate-limit sentence no longer parses as
CodeRabbit retrying on its own, and the unverified triage+ qualifier
on the review command is dropped.
Copilot AI review requested due to automatic review settings August 4, 2026 12:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Preview Deployment

Preview URL: https://7986c49f.bestax.pages.dev

@allxsmith
allxsmith merged commit dea751d into main Aug 4, 2026
14 checks passed
@allxsmith
allxsmith deleted the docs/claude-md-lessons-from-471 branch August 4, 2026 12:21
@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 5.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deep-review documentation Improvements or additions to documentation released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants