react-audit-grep-patterns

Solid

Provides the complete, verified grep scan command library for auditing React codebases before a React 18.3.1 or React 19 upgrade. Use this skill whenever running a migration audit - for both the react18-auditor and react19-auditor agents. Contains every grep pattern needed to find deprecated APIs, removed APIs, unsafe lifecycle methods, batching vulnerabilities, test file issues, dependency conflicts, and React 19 specific removals. 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.

AI & Automation 34,887 stars 4287 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
58
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash # 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"' ```

Details

Author
github
Repository
github/awesome-copilot
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

react-security

Security audit specific to React applications including dangerouslySetInnerHTML, dynamic href/src injection, ref escape hatches, useEffect/useState pitfalls, React Server Components vs Client Components boundary, hydration mismatches, context leakage, and React Router authorization patterns. Use this skill whenever the user mentions React, JSX, hooks, components, dangerouslySetInnerHTML, React Router, React 18+ features, RSC, useEffect, useState, Suspense, or asks "audit my React app", "is my React code safe", "XSS in React", "React security review". Trigger when the codebase contains React imports (`from 'react'`), JSX (`.jsx`/`.tsx`), or `react-dom`. Use this even when only one React-specific concept is mentioned.

1 Updated 2 weeks ago
hlsitechio
Web & Frontend Listed

react-effects-audit

Audit React components for unnecessary useEffect patterns. Detects 9 anti-patterns from "You Might Not Need an Effect" and proposes fixes with severity levels.

15 Updated 1 weeks ago
fusengine
API & Backend Listed

expo-api-audit

Comprehensive audit of Expo/React Native app API integration layer. Use when asked to: (1) Review API interactions, auth handling, or token management, (2) Find hardcoded data or screens bypassing API, (3) Verify user interactions properly sync to backend, (4) Analyze offline behavior and caching, (5) Audit Orval/OpenAPI code generation, (6) Check for API security issues. Supports TanStack Query, Zustand, axios, Expo Router, expo-secure-store, and expo-constants patterns.

353 Updated today
aiskillstore