Repository navigation
Description
Plugin name
jquery-to-react
Short description
Migrate jQuery apps and pages to React — full rewrites or incremental strangler-fig migrations of any size, including jQuery plugins and jQuery UI.
GitHub repository
cobuild-tech/cbx-plugins
Plugin path inside the repository
jquery-to-react
Ref to review
v2.1.0
Commit SHA to review
74aca6579e74a5739783dc00b6d3418c6f48af18
Version
1.2.0
License identifier
MIT
Author name
CobuildX
Author URL
https://github.com/cobuild-tech
Homepage URL
https://github.com/cobuild-tech/cbx-plugins/tree/main/jquery-to-react
Keywords
react, migration, jquery, jquery-ui, jquery-plugins, legacy-javascript, refactoring, modernization
Additional notes for reviewers
Resubmission of #5866. The plugin has changed since that review: this submission pins the new release v2.1.0, and the evaluation evidence ships inside that snapshot.
What changed in v2.1.0 (this plugin is now 1.2.0):
- Direct mode for the most common request, "convert this part of my repo to React". The skill reads its framework references, searches the rest of the repo for code that depends on the area, and ends with a list of every behavior difference.
- A framework-specific coupling checklist, always applied, covering the implicit behavior that migrations break (details below).
- Broader triggers for "rewrite / rebuild / replace … with React" requests.
Evaluation, at the pinned snapshot. The same model (Claude Sonnet), the same repository, and the same prompt, with and without the plugin. There are 25 multi-file cases across the five sibling plugins, 5 of them for this framework. Each case has 6 pass/fail criteria, written before any run and kept hidden from the model. Grading is blind to which run used the plugin.
| Without plugin | With plugin | |
|---|---|---|
| This framework | 28/30 | 30/30 |
| All five plugins | 138/150 | 145/150 |
Examples from this framework:
- 05-autosave-serialize (Autosave form posting
.serialize()data to a Rails controller): KeptPATCHand theX-Requested-With: XMLHttpRequestheader that$.ajaxsends. Without the plugin,fetchdropped the header without mention. - 02-booking-form-plugins (Booking form with jQuery UI datepicker, jquery-validate, and
ajaxCompletere-initialization): Scoped the page-wide widget re-initialization away from the React form and listed every validation and timing difference.
Every run's diff, final answer, and per-criterion grade with its reason are in evals/results/. Also see results · method · cases · runner.
Domain-specific constraints this plugin encodes for jQuery apps and pages, including jQuery plugins and jQuery UI (one reference file per area under skills/cobuildx-ai-jquery-to-react-migration/references/):
- Detects the setup first: jQuery version and whether jQuery Migrate is loaded, CDN global
$vs bundled, server-rendered pages (Rails, Django, PHP, JSP) vs SPA, and every plugin / jQuery UI widget with where it is created and destroyed. - State hidden in the DOM. Classes,
data-*,.data(), hidden inputs and text that later code reads back are listed and turned into explicit state. - Delegated handlers.
$(document).on('click', '.x', …)handlers are ported without changing which elements respond or the event order. $.ajaxand animation. GlobalajaxSetup/ajaxSendhooks (CSRF headers, auth), deferred/promise chains, andanimate/fadeIntiming that callers wait on.- Plugins. Each jQuery plugin or jQuery UI widget is replaced with a React library or wrapped in a
ref-owned component with proper destroy. - One owner per element. Once React owns a container, no jQuery touches it; the skill enforces this during the incremental phase.
Specialized workflow, not just advice:
- Resumable state across sessions. A
.migration/folder in the user's repo holds the unit list, route map, per-unit status and QA gates, so "continue the migration" or "what's left?" works in a new session without re-reading the codebase. - Strategy selection. Full rewrite vs strangler-fig vs branch-by-abstraction, chosen from app size and risk, with an explicit cutover plan.
- Read-only
jquery-inventoryagent that maps routes, components, services, data layer and hidden wiring before any code changes. - Read-only
jquery-parity-revieweragent that checks each ported unit against the original for behaviour, markup, data and timing differences before the old code may be deleted. /plancommand that writes the plan without touching app code.
Pins tag v2.1.0 and its full commit SHA. Free, MIT licensed, no telemetry, sign-up, or paid service. The bundled Context7 MCP server is the public endpoint and needs no credentials. This is one of five sibling plugins (ember, angular, backbone, jquery, and vanillajs to React), each with its own framework-specific references, submitted separately.
Submission checklist
- The plugin lives in a public GitHub repository.
- The ref and/or sha I provided is immutable (release tag and/or full 40-character commit SHA), not a branch.
- This submission follows this repository's contribution, security, and responsible AI policies.
- This plugin is not already listed in the Awesome Copilot marketplace.
Activity
github-actions commentedon Nov 3, 2026
✅ External plugin intake passed
This submission passed automated intake validation and quality checks and is ready for maintainer review.
View workflow run · Download full quality gate logs
v2.1.074aca6579e74a5739783dc00b6d3418c6f48af18Reviewer signals
These are non-blocking heuristics for maintainer review; they are not evidence of misconduct or low quality.
Quality gate summary
Legend: ✅ pass ·⚠️ warning · 🛑 fail
spec compliance output (✅ pass)
vally lint output (✅ pass)
install smoke test output (✅ pass)
Version match output
Ref/SHA consistency output
Canvas structure output
Canonical external.json payload
{ "name": "jquery-to-react", "description": "Migrate jQuery apps and pages to React — full rewrites or incremental strangler-fig migrations of any size, including jQuery plugins and jQuery UI.", "version": "1.2.0", "author": { "name": "CobuildX", "url": "https://github.com/cobuild-tech" }, "repository": "https://github.com/cobuild-tech/cbx-plugins", "homepage": "https://github.com/cobuild-tech/cbx-plugins/tree/main/jquery-to-react", "license": "MIT", "keywords": [ "react", "migration", "jquery", "jquery-ui", "jquery-plugins", "legacy-javascript", "refactoring", "modernization" ], "source": { "source": "github", "repo": "cobuild-tech/cbx-plugins", "path": "jquery-to-react", "ref": "v2.1.0", "sha": "74aca6579e74a5739783dc00b6d3418c6f48af18" } }aaronpowell commentedon Nov 4, 2026
/reject This is substantially the plugin rejected in #5866, plus a Direct mode, a coupling checklist, and new global-AJAX references. Your own evals show the model without the plugin already passes all six global-AJAX criteria (CSRF, 401 redirect, ajaxStart/Stop, cache: false), scoring 28/30. Both gains came from listing behaviour differences in the final summary, which a one-line prompt achieves. Your pilot also showed the previously submitted version scoring below no plugin (22 vs 28). All runs were single-shot in Claude Code, not Copilot. This still doesn't demonstrate meaningful model uplift.
github-actions commentedon Nov 4, 2026
❌ External plugin rejected
A maintainer rejected jquery-to-react, and the submission issue has been closed.
Reason
This is substantially the plugin rejected in #5866, plus a Direct mode, a coupling checklist, and new global-AJAX references. Your own evals show the model without the plugin already passes all six global-AJAX criteria (CSRF, 401 redirect, ajaxStart/Stop, cache: false), scoring 28/30. Both gains came from listing behaviour differences in the final summary, which a one-line prompt achieves. Your pilot also showed the previously submitted version scoring below no plugin (22 vs 28). All runs were single-shot in Claude Code, not Copilot. This still doesn't demonstrate meaningful model uplift.
This issue is now closed and
/rerun-intakewill no longer reopen it. If you address the feedback, please open a new external plugin submission issue.