
React Audit Grep Patterns
If you're auditing a React codebase before upgrading to 18.3.1 or 19, this is your grep command reference library. It catalogs every scan pattern you need to find deprecated APIs, unsafe lifecycle methods, async setState patterns, and React 19 specific removals. The skill emphasizes not relying on memory for grep syntax, especially for tricky multi-line patterns that need context flags. It's organized into four reference files covering React 18 scans, React 19 scans, test-specific issues, and dependency conflicts. Essentially a cheat sheet to avoid fumbling with grep flags while running migration audits.
- skills.sh installs
- 884
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill react-audit-grep-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
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 auditreferences/react19-scans.md- all scans for React 18 → 19 auditreferences/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"'
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Frontend Development, Testing & QA, Git & Pull Requests, Documentation, AI & Agent Building, Rust
- First seen
- May 16, 2026
More from github/awesome-copilot
All 318- Salesforce Flow Design839
- Github Release790
- Flowstudio Power Automate Monitoring787
- Flowstudio Power Automate Governance779
- Salesforce Component Standards770
- React18 Dep Compatibility766
- React18 Batching Patterns756
- React18 Legacy Context747
- From The Other Side Vega746
- React18 Lifecycle Patterns745
- React18 String Refs743
- React18 Enzyme To Rtl742
- Code Tour739
- Linkedin Post Formatter361
- Ui Screenshots212
- Data Breach Blast Radius110
- Sql Server Table Reconciliation104
- Aws Cloudwatch Investigation
- Aws Cost Optimize
- Aws Resource Health Diagnose
- Aws Well Architected Review
- Azure Well Architected Review
- Bug Reproduction Brief
- Incident Postmortem