github/awesome-copilot/react18-legacy-context
Provides the complete migration pattern for React legacy context API (contextTypes, childContextTypes, getChildContext) to the modern createContext API. Use this skill whenever migrating legacy context in class components - this is always a cross-file migration requiring the provider AND all consumers to be updated together. Use it before touching any contextTypes or childContextTypes code, because migrating only the provider without the consumers (or vice versa) will cause a runtime failure. Al
Agent skill · version 0.0.0-main.1793929460.g9654314 · from github/awesome-copilot
Install
npx yarkr-cli add skill:github/awesome-copilot/react18-legacy-contextWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-legacy-context
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-legacy-contextOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:github/awesome-copilot/react18-legacy-contextWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.