react18-legacy-context
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
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. A…
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'react18-legacy-context' ] || [ -L ~/.agents/skills/'react18-legacy-context' ]; then echo 'A skill folder named react18-legacy-context already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/github/awesome-copilot' "$d" && git -C "$d" checkout --quiet '227949a7542a55d2155c00e7cdb998d9a0fee4f3' -- 'skills/react18-legacy-context' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/react18-legacy-context' ~/.agents/skills/'react18-legacy-context' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'react18-legacy-context' ~/.claude/skills/'react18-legacy-context' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/github/awesome-copilot/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 227949a | 95 |
| 2026-11-08 | 797337f | 95 |
| 2026-11-07 | 797337f | 95 |