jikime/jikime-adk/jikime-migration-jquery-to-react

Claude Code and agent skill by jikime/jikime-adk

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

jQuery to React 19 migration specialist. Converts legacy jQuery applications to modern React with hooks, TypeScript, and component-based architecture. Use when migrating jQuery projects, converting $() patterns to React, or asking about jQuery to React conversion.

Install

npx vskill@latest install jikime/jikime-adk/jikime-migration-jquery-to-react

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

jQuery → React Migration

Quick Reference

jQueryReact
$('#id')useRef()
$('.class')Component props/state
.html()JSX rendering
.text(){variable}
.click()onClick
.on('event')onEvent prop
$.ajax()fetch() + useEffect
$(document).ready()useEffect(() => {}, [])
.show()/.hide()Conditional rendering
.addClass()Conditional className

Dynamic Context (auto-loaded)

Current Dependencies

!cat package.json 2>/dev/null | grep -A 20 '"dependencies"' || echo "No package.json found"

jQuery Usage Detection

!grep -r "\\\$(" --include="*.js" --include="*.html" . 2>/dev/null | head -10 || echo "No jQuery patterns found"

Source Structure

!ls -la src/ 2>/dev/null | head -15 || ls -la . | head -15

Target Stack

TechnologyVersionPurpose
FrameworkReact 19Component-based UI
LanguageTypeScript 5.xType safety
Build ToolViteFast development
StylingTailwind CSS 4.xUtility-first CSS
StateZustand / useStateState management
Formsreact-hook-formForm handling
AnimationFramer MotionAnimations

Migration Process

1. Analyze

Identify jQuery patterns in $ARGUMENTS:

  • DOM selectors ($(), document.getElementById)
  • Event handlers (.on(), .click(), .submit())
  • AJAX calls ($.ajax, $.get, $.post)
  • Plugins and their alternatives
2. Plan

Map jQuery patterns to React equivalents:

  • Selectors → useRef or state
  • Events → React event handlers
  • AJAX → useEffect + fetch
  • Plugins → React component libraries
3. Execute

Transform code incrementally:

  • Set up React alongside jQuery (coexistence)
  • Migrate leaf components first
  • Work up to container components
  • Replace plugins last
4. Verify

Test behavior preservation:

  • Same user interactions work
  • Same data flows correctly
  • No visual regressions

Plugin Replacement Guide

jQuery PluginReact Alternative
jQuery UIRadix UI, shadcn/ui
jQuery Validationreact-hook-form + zod
Select2react-select
DataTablesTanStack Table
Slick CarouselSwiper, Embla
Lightboxyet-another-react-lightbox
DatePickerreact-datepicker

Module Reference

For detailed patterns, see:

Examples

Before (jQuery)
javascript
$(document).ready(function() {
$('#button').click(function() {
$.get('/api/data', function(data) {
$('#content').html(data);
});
});
});
After (React)
tsx
import { useState, useEffect } from 'react';
function Component() {
const [content, setContent] = useState('');
const handleClick = async () => {
const response = await fetch('/api/data');
const data = await response.text();
setContent(data);
};
return (
<>
<button onClick={handleClick}>Load</button>
<div dangerouslySetInnerHTML={{ __html: content }} />
</>
);
}

Troubleshooting

Skill not triggering
  • Try phrases like "migrate jQuery to React" or "convert $() patterns"
  • Use /migrate-jquery-to-react directly
Common Migration Issues
IssueSolution
$ undefinedRemove jQuery import, use refs/state instead
Event not firingCheck React synthetic event naming (onClick, not onclick)
DOM not updatedUse state to trigger re-renders, not direct DOM manipulation
Plugin not workingFind React alternative in Plugin Replacement Guide above
Build Errors
  • Run npm uninstall jquery @types/jquery after migration
  • Check for remaining $ patterns: grep -r "\\$(" --include="*.tsx" src/

Quality Checklist

  • [ ] All jQuery selectors replaced with refs/state
  • [ ] Event handlers converted to React patterns
  • [ ] AJAX calls use fetch with proper cleanup
  • [ ] No direct DOM manipulation in React components
  • [ ] jQuery plugins replaced with React alternatives
  • [ ] TypeScript types added
  • [ ] No jQuery in final bundle
  • [ ] Tests passing

Version: 2.1.0 Last Updated: 2026-01-25 Source: React Official Docs, jQuery Migration Guide

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jikime/jikime-adk/jikime-migration-jquery-to-react/badge)](https://verified-skill.com/skills/jikime/jikime-adk/jikime-migration-jquery-to-react)

Something wrong with this skill or its page? Tell us.