Skip to content

keyword-stuffing still warns on repeated product-card microcopy and menu link text (v0.0.191) #2444

In review

Description

@deniskern

Follow-up to #1441 (closed), verified on v0.0.191.

content/keyword-stuffing still warns on two shop page shapes that contain no stuffed copy:

  1. Product cards: one sentence of intro copy plus 24 cards, each <h2>Product N</h2><p>Average rating 4.5 of 5 stars</p><p>Shipping costs from $4.90</p><p>Subscription prices plus delivery</p>. The repeated card microcopy (shipping, subscription, prices) drives the density.
  2. Category menu: 24 links Bademode Style collection category selection inspiration N in one <div> plus one sentence of body copy.

A control page with 'bademode '.repeat(100) in one paragraph warns as expected.

squirrel audit http://127.0.0.1:<port>/cards --http --offline --passive --disable-discovery-probes --no-publish --no-external-links --no-internal-links --refresh --max-pages 1 --rule-include content/keyword-stuffing -f json -o out.json

On real fashion shops this flags category and contact/legal pages through header/footer chrome and card lines; we keep the rule disabled for all shops because of it.

Request: exclude repeated card/listing microcopy (text repeated verbatim across sibling items) and navigation link text from the density basis, or compute density on main content only. I understand bare shared-word menus were called an intentional trade-off in #1441; the card case alone would already let us switch the rule back on.

Triage

Related, closed: #1315, #1182 and #1441 (earlier keyword-stuffing false positives; #1441 recorded shared-word menus as an intentional trade-off). The rule is in packages/rules/src/content/keyword-stuffing.ts. The card case is the actionable part: text repeated verbatim across sibling items inflates term density without being copy. The menu case conflicts with the earlier maintainer decision and needs a maintainer call before it is changed.

Acceptance Criteria

Activity

  1. added
    bug
    size: M
    rules
    on Nov 29, 2026
  2. added theissue type on Nov 29, 2026
  3. nc9 commented on Nov 29, 2026

    @nc9
    Contributor

    Thanks for the follow-up and the fixtures. The product-card case is a reasonable request; the menu case touches the trade-off recorded in #1441, so it needs a maintainer decision. Acceptance criteria are now in the issue body.

    nik


    Generated by Claude Code

  4. added
    in-progress
    on Nov 29, 2026
  5. self-assigned this
    on Nov 29, 2026
  6. removed
    in-progress
    on Nov 29, 2026
  7. removed their assignment
    on Nov 29, 2026
  8. nc9 commented on Dec 1, 2026

    @nc9
    Contributor

    Maintainer decision on the menu case (criterion 4): fix it. Navigation and menu link text should be excluded from the keyword-stuffing density basis as well, not kept as the #1441 trade-off. PR #2449 will be extended to cover it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: M

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions