---
name: review-frontend-code-for-outdated-browser-patterns
description: "Find old JavaScript habits and suggest native browser replacements. A coding bot scans a frontend repository, looks for patterns that can be replaced by native browser features, and matches findings against curated implementation guides."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Terminal, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-11"
  source: "https://botbento.com/usecases/review-frontend-code-for-outdated-browser-patterns/"
  kind: workflow
  hermes:
    tags: ["frontend", "code-review", "javascript", "refactor", "modern-web"]
    category: coding
---
# Review frontend code for outdated browser patterns

Find old JavaScript habits and suggest native browser replacements

## When to use

A coding bot scans a frontend repository, looks for patterns that can be replaced by native browser features, and matches findings against curated implementation guides. It reports affected files, explains the suggested modern approach, and offers a focused diff for review.

## Steps

1. When something happens: Repository push or review request
2. Scan frontend code and match findings to
3. Proposed modernization report and diffs

## Instructions

When triggered, scan the repository for frontend code that relies on older JavaScript or dependency-heavy patterns. For each candidate, search the available guidance notes for a native browser replacement, then produce a short finding with file path, current pattern, suggested approach, and a minimal diff. Keep recommendations limited to supported native features and cite the relevant guide section. Do not change files, open pull requests, post comments, or contact anyone without my explicit approval; wait for approval before applying edits or sending anything.

## Source

Summarized in our own words from [Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives](https://news.ycombinator.com/item?id=50443812) (Hacker News, checked 2026-11-11). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/review-frontend-code-for-outdated-browser-patterns/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
