Agent Skills Index

Directory / Awesome Copilot skills (GitHub) / react18-legacy-context

react18-legacy-context

skill Software development

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. Always read this skill before writing any context migration - the cross-file coordination steps here prevent the most common context migration bugs.
Description from the SKILL.md front matter.

Install

GitHub CLI v2.90+ (Copilot by default)
gh skill install github/awesome-copilot react18-legacy-context
For Claude Code
gh skill install github/awesome-copilot react18-legacy-context --agent claude-code
For Codex
gh skill install github/awesome-copilot react18-legacy-context --agent codex

Commands follow each host's documentation (GitHub Copilot, plus Claude Code, Codex, Cursor via gh skill docs). gh skill needs GitHub CLI 2.90 or later and is in public preview.

Listed from GitHub + community contributors's catalog, not reviewed by us. Read the source before installing.

Catalog
Awesome Copilot skills (GitHub)
Author
Not stated in the source
Source code
github/awesome-copilot
License
MIT (repository license)
Repository stars
40,178 for github/awesome-copilot (the whole catalog repo)
Added to catalog
Not tracked for this source
Last change
2026-10-16 (last push to the repo)

What it contains

Similar in Software development