Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

React Audit Grep Patterns

  • 828 installs
  • 37.1k repo stars
  • Updated July 28, 2026
  • github/awesome-copilot

react-audit-grep-patterns is an agent skill that provides verified grep scan commands for React 18.3.1 and React 19 migration audits.

About

The react-audit-grep-patterns skill is the complete grep command library for React 18.3.1 and React 19 migration audits used by react18-auditor and react19-auditor agents. It points to reference files for react18-scans, react19-scans, test-scans, and dep-scans rather than embedding every pattern inline. Base flags standardize recursive search with line numbers, JS/JSX includes, test exclusion via grep -v, and stderr suppression. Source-only scans use SRC_FLAGS with test exclusion; test-only scans use TEST_FLAGS for .test and .spec files. The description warns not to rely on memory for grep syntax, especially multi-line async setState patterns that need context flags. Developers load the relevant reference section for their target React version before writing audit commands.

  • Verified grep library for React 18.3.1 and React 19 audits.
  • Separate reference files for source, test, and dependency scans.
  • Standard SRC_FLAGS and TEST_FLAGS patterns documented.
  • Used by react18-auditor and react19-auditor migration agents.
  • Warns against memory-based grep for multi-line setState patterns.

React Audit Grep Patterns by the numbers

  • 828 all-time installs (skills.sh)
  • +27 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #428 of 2,277 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

react-audit-grep-patterns capabilities & compatibility

Capabilities
react 18.3.1 source scan patterns · react 19 removal scan patterns · test file specific grep flags · dependency and peer conflict scans · standardized src_flags and test_flags
Use cases
code review · refactoring · testing
From the docs

What react-audit-grep-patterns says it does

Provides the complete, verified grep scan command library for auditing React codebases before a React 18.3.1 or React 19 upgrade.
SKILL.md
Always use this skill when writing audit scan commands - do not rely on memory for grep syntax, especially for the multi-line async setState patterns which require context flags.
SKILL.md
npx skills add https://github.com/github/awesome-copilot --skill react-audit-grep-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs828
repo stars37.1k
Security audit3 / 3 scanners passed
Last updatedJuly 28, 2026
Repositorygithub/awesome-copilot

What deprecated React APIs, unsafe lifecycles, and dependency conflicts exist in my codebase before upgrading?

Run verified grep scan commands to audit React codebases before React 18.3.1 or React 19 migration for deprecated APIs, lifecycles, batching issues, and dependency conflicts.

Who is it for?

Developers running react18-auditor or react19-auditor migration scans who need authoritative grep syntax.

Skip if: Skip when you need automatic code fixes instead of scan commands or are not migrating React versions.

When should I use this skill?

User runs a React migration audit or asks for grep patterns to find deprecated APIs before React 18 or 19 upgrade.

What you get

Executable grep commands from reference scans that locate migration blockers across source, test, and dependency files.

  • React version inventory
  • Peer conflict report
  • Enzyme usage grep results

By the numbers

  • Scans 15+ react-related packages from package.json in one Python one-liner
  • Designed for both React 18 and React 19 audit programmes

Files

SKILL.mdMarkdownGitHub ↗

React Audit Grep Patterns

Complete scan command library for React 18.3.1 and React 19 migration audits.

Usage

Read the relevant section for your target:

  • `references/react18-scans.md` - all scans for React 16/17 → 18.3.1 audit
  • `references/react19-scans.md` - all scans for React 18 → 19 audit
  • `references/test-scans.md` - test file specific scans (used by both auditors)
  • `references/dep-scans.md` - dependency and peer conflict scans

Base Patterns Used Across All Scans

# Standard flags used throughout:
# -r = recursive
# -n = show line numbers
# -l = show filenames only (for counting affected files)
# --include="*.js" --include="*.jsx" = JS/JSX files only
# | grep -v "\.test\.\|\.spec\.\|__tests__" = exclude test files
# | grep -v "node_modules" = safety (usually handled by not scanning node_modules)
# 2>/dev/null = suppress "no files found" errors

# Source files only (exclude tests):
SRC_FLAGS='--include="*.js" --include="*.jsx"'
EXCLUDE_TESTS='grep -v "\.test\.\|\.spec\.\|__tests__"'

# Test files only:
TEST_FLAGS='--include="*.test.js" --include="*.test.jsx" --include="*.spec.js" --include="*.spec.jsx"'

Related skills

How it compares

Use react-audit-grep-patterns for fast React dependency grep scans rather than full npm audit reports that do not target React-specific peer stacks.

FAQ

Which React versions does react-audit-grep-patterns cover?

React 16/17 to 18.3.1 scans and React 18 to 19 scans plus shared test and dependency scans.

Where are the actual grep patterns?

In references/react18-scans.md, react19-scans.md, test-scans.md, and dep-scans.md linked from SKILL.md.

Why not write grep from memory?

Multi-line async setState patterns require specific context flags that are easy to get wrong without the verified library.

Is React Audit Grep Patterns safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Frontend Developmentfrontendtesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.