Skip to content
TrustedSkillsbeta
Back to all skills

React Modernization

Listed
sickn33·vlatest·frontend·MIT

Modernizes legacy frontend codebases using React best practices and contemporary component libraries.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add sickn33/agentic-awesome-skills --skill react-modernization -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

sickn33

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • Declares what it does: failed

    No SKILL.md was found in the skill's directory.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No undeclared network calls: passed

    Makes no network calls.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned sickn33/antigravity-awesome-skills at 5a4cdd9df8.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
0 files
Copies in repo
3 — all of them scanned
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

The react-modernization skill automates the upgrade of legacy React codebases to modern standards, specifically targeting Class components and older lifecycle methods. It generates updated functional components with hooks like useState, useEffect, and useRef while preserving existing logic and styling.

When to use it

  • Migrating large monorepos containing hundreds of Class-based components to the Functional Component paradigm.
  • Refactoring codebases relying on deprecated lifecycle methods (e.g., componentDidMount) for better performance and readability.
  • Preparing legacy applications for new React versions that have dropped support for older syntax.
  • Standardizing a mixed codebase where some files use classes while others use hooks.

Key capabilities

  • Converts ES6 Class components into modern Functional Components.
  • Translates lifecycle methods (componentDidMount, componentWillUnmount) into equivalent useEffect hooks.
  • Replaces state management patterns with the useState hook.
  • Handles prop drilling and context updates during the transformation process.

Example prompts

  • "Modernize this legacy React folder containing 50 Class components to use hooks."
  • "Refactor my entire project to remove all extends React.Component usage and replace it with functional syntax."
  • "Update these specific files to convert componentDidMount logic into useEffect dependencies."

Tips & gotchas

Ensure you have a robust backup before running this on production code, as automated refactoring can occasionally alter edge-case logic. Review the generated hooks carefully to ensure dependency arrays in useEffect are correctly inferred from the original lifecycle methods.