github/awesome-copilot/react18-string-refs
Provides exact migration patterns for React string refs (ref="name" + this.refs.name) to React.createRef() in class components. Use this skill whenever migrating string ref usage - including single element refs, multiple refs in a component, refs in lists, callback refs, and refs passed to child components. Always use this skill before writing any ref migration code - the multiple-refs-in-list pattern is particularly tricky and this skill prevents the most common mistakes. Use it for React 18.3.
Agent skill · version 0.0.0-main.1793929460.g9654314 · from github/awesome-copilot
Install
npx yarkr-cli add skill:github/awesome-copilot/react18-string-refsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-string-refs
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-string-refsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:github/awesome-copilot/react18-string-refsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.