본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)40k · #7381

react-audit-grep-patterns

하는 일

이 명령 모음은 React 코드를 더 새로운 버전(18.3.1 또는 19)으로 업데이트하기 전에 점검하도록 돕습니다. 조정이 필요할 수 있는 코드 부분을 찾습니다.

사용하는 경우

  • ✓React 프로젝트를 업데이트하려고 계획할 때.
  • ✓기존 코드가 새 버전에서도 작동할지 확인하고 싶을 때.
  • ✓테스트 파일에서 특정 문제를 찾고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/react-audit-grep-patterns/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/react-audit-grep-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“React 19 업그레이드를 위해 내 React 코드를 어떻게 감사할 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

'grep'이라는 프로그램을 사용해 모든 코드 파일에서 특정 패턴을 찾습니다. 오래된 함수나 호환성 문제 같은 것을 찾기 위해 어떤 패턴을 찾아야 하는지 알고 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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"'
자주 묻는 질문

'grep 스캔'은 무엇인가요?

여러 코드 파일에서 특정 텍스트를 한 번에 찾는 방법입니다.

업데이트 전에 코드를 왜 감사해야 하나요?

새 소프트웨어 버전은 오래된 부분을 바꾸거나 제거할 수 있어, 조정하지 않으면 코드가 깨질 수 있기 때문입니다.

'API'는 무엇인가요?

React가 코드에서 쓸 수 있도록 제공하는 '명령'이나 '도구'와 같습니다. 일부는 새 버전에서 제거되거나 바뀔 수 있습니다.

상세 정보

작성자의 원본 설명

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 confli

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7381
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬