Repository navigation
Releases
v4.3.0
v4.2.0
v4.1.0
4.1.0 (2026-12-02)
Fixed
- tanstack-query: require getNextPageParam in infiniteQuery prefetch (5.108.1) (19e0b96)
Changed
- msw: log the matching handler from request:match, baseline 3.0.8 (93c7e27)
- nextjs: cover cross-deployment 'use cache: remote' keys (16.5) (3a77746)
- nextjs: note turbopackGc default and next build --analyze (16.5) (8f0454e)
- nextjs: set baseline to Next.js 16.5.0 (03c68ab)
- nextjs: teach prefetch="navigation" for likely links (16.5) (177953a)
- playwright: set baseline to Playwright 1.65.2 (83dcf5c)
- re-audit baseline 2026-12-02 in README and CHANGELOG (0fd21e8)
- vitest: set baseline to Vitest 5.1.2 (e46b5da)
v4.0.0
The pack now teaches only the current major of each library. MCP package: 3.0.0.
Breaking
scanis removed, with its 35 deprecated-API checks, comment masking,--skilland--all.detectandlintremain. Runningscannow exits 2 as an unknown command.- Deprecated and legacy content is removed from every skill: migration guides, "Incorrect (deprecated in vN)" examples, notes for older majors, deprecated aliases and version-history asides. Rules that taught a current API through its deprecated predecessor are rewritten to teach the current API only.
- Deleted rules:
tailwind/build-node-version,tailwind/util-renamed-utilities,vitest/setup-vitest5-migration.zod/refine-vs-superrefineis nowzod/refine-vs-check. New current-only rules replace the useful parts:tailwind/util-current-scale-names(shadow/rounded/blur scales,ring-3,outline-hidden) andvitest/setup-vitest5-semantics(tailwind 42 rules, vitest 47). detectno longer reads npm 6 (lockfileVersion: 1) lockfiles. Its older-major hint says the skills cover only the target major; upgrade before applying them.- The CLI entry point no longer exports
detect,lintorrangeMajor; import them frombin/detect.mjsandbin/lint.mjs. The MCPstartStdioServerreturns{ server }andSkillsCatalogis no longer exported.
Changed
- MSW: only
graphqlneeds its own entry point (msw/graphql);http,HttpResponse,wsandsseimport frommsw. Async-validation forms re-check on submit, because the resolver result replaces a manualsetError. TypeScript 7 setup keeps a TypeScript 6 alias for tools that load the compiler API. - Zod refinements use
.check()instead ofsuperRefine; shadcn and React Hook Form forms useControllerwithField/FieldErrorinstead of theForm/FormFieldwrapper; MSW examples useonUnhandledFrame; nuqs and Next.js examples awaitsearchParams;useTransitionexamples useisPending. - Next.js: new
server-async-paramsrule (pages, layouts, route handlers, metadata routes, Client Components); Turbopack config lives under the top-levelturbopackkey. - TypeScript 7 rule is now "Configure tsconfig for TypeScript 7" and lists
downlevelIterationandmodule: "none"among unsupported options. - MSW handler URL guidance scopes relative paths to browser/jsdom and uses an absolute URL or
*/pathin a pure Node test; Vitest and TDD examples follow it. - shadcn rules cover Base UI as well as Radix; the React 19 rule no longer claims
use()replacesuseContext; Tailwind dark mode uses@custom-variant; Lucide imports stay on the typed package entry; TDD uses MSW or an injected fake instead of replacingglobal.fetch. - Audit baseline re-checked on 2026-11-09 against Tailwind CSS 4.3.5, Playwright 1.65.0, MSW 3.0.4 and TanStack Query 5.107.1; Playwright 1.65 adds the sharded-run note to
perf-sharding. - The CLI is split into
cli,detect,lintandpackagesmodules. npm-pack output parsing is shared by both smoke tests inscripts/npm-pack.mjs. - MCP search limits come from one pair of constants; the catalog no longer stores an unused per-skill file list or parses
SKILL.mdfrontmatter twice. web-design-guidelineshas one procedure section instead of two copies.
Fixed
detect --all,lint --skill, and extra positional arguments fail with exit 2 instead of being silently ignored.lintvalidatesSKILL.mdlink fragments, including same-file#anchorlinks, with GitHub's slug rules for repeated, Unicode, linked and emphasized headings, ignoring fenced code. React section links point at the real_sections.mdanchors.- The MCP SIGTERM test asserts the binary exits with code 0 and no signal, so dropping the shutdown handler fails it. A failed close sets exit code 1 before reporting, and reports to stderr by default.
test:packagereadslint --jsonand derives the skill count.- The MCP catalog tests pin the repository skills directory and cover missing
SKILL.mdand unclosed frontmatter. .gitignoreexcludes all.claude/agent tool state.
MCP v3.0.0
MCP server 3.0.0, shipped with skills 4.0.0.
- Serves the current-major-only skills: deprecated and migration content removed.
startStdioServerreturns{ server };SkillsCatalogis no longer exported.- SIGTERM handling moved to
closeOnSignals; a failed close exits 1 and reports to stderr. - Search limits come from shared constants (max 20).
See CHANGELOG [4.0.0] for the full list.
v3.0.1
React Frontend Skills v3.0.1
Fixed
scanno longer stalls on hostile files. 3.0.0's comment masking was quadratic on some input: 500 KB of unclosed/*or<!--lines took 30–60 s, and a long CSS line full of//took 10 s. Every case now finishes in milliseconds.- Comment masking is more accurate:
- One-line regex literals such as
/[//]/(including afterreturn) and unquoted CSSurl(http://…)count as text. - Comments inside template
${…}expressions are masked. - JSX and Vue slashes (
{b} />,{{a}}/{{b}}) are left alone.
- One-line regex literals such as
- Version and check fixes:
- npm 6 (
lockfileVersion1) lockfiles are read. - A check that a config flag rules out is no longer counted as version-unknown.
tw4-leading-important-modifierhandles doubly nested helper calls.
- npm 6 (
- Docs:
- msw: Node 22.12,
.nvmrc, and the tsconfigmodule/moduleResolutionpairing. - playwright:
.webpCI artifacts, and--project="*"for full runs. - tailwind: canonicalization uses the active theme.
- README: which files
scanreads, and how a pinned range sets the version gate.
- msw: Node 22.12,
Install
npx skills add PyModel/react-frontend-skills --allFull changelog: v3.0.0...v3.0.1
v3.0.0
React Frontend Skills v3.0.0
Breaking
The CLI requires Node.js 22 or newer (engines >=22, was >=20). Node 20 is end-of-life.
Added
scannow runs 35 checks. Four new ones catch MSW 3 hard breaks, and run only on MSW 3 projects:
| Check | Flags | Rule |
|---|---|---|
msw3-graphql-root-import |
graphql imported from 'msw' |
setup-v3-handler-entrypoints |
msw3-on-unhandled-request-renamed |
onUnhandledRequest, now onUnhandledFrame |
setup-unhandled-requests |
msw3-graphql-link-first |
graphql.query/mutation/operation, now graphql.link(url).query() |
graphql-operation-handlers |
msw3-connection-event-renamed |
the connection lifecycle event, now websocket:connection |
debug-lifecycle-events |
- New rules: nextjs
route-ensure-static(16.4), tailwindbuild-turbopack-loader(4.3.4), vitestperf-since-last-run(5.1), mswsetup-v3-handler-entrypoints,setup-vite-plugin,graphql-subscriptions.
Changed
- msw targets MSW 3.0.3. The skill opens with a version check and a 2.x ↔ 3.x table; agents write 2.x code in 2.x projects unless asked to migrate.
detectreports MSW 2 projects asolder-major. - nextjs 16.4, playwright 1.64 and vitest 5.1 updates. Audit baseline re-checked on 2026-11-03.
Fixed
scanignores code in comments, reads versions frompackage-lock.jsonwhen nothing is installed, no longer reports open ranges such as>=18as mismatches, reports correct line numbers, handles CRLF, and no longer backtracks for seconds on large files.- The npm tarball no longer ships
.claudetool state.
See CHANGELOG.md for the full list.
Install
npx skills add PyModel/react-frontend-skills --allFull changelog: v2.3.0...v3.0.0
MCP v2.0.1
React Frontend Skills MCP v2.0.1
Repackages the server with the skills content from v3.0.1:
- msw: Node 22.12,
.nvmrc, and the tsconfigmodule/moduleResolutionpairing. - playwright:
.webpartifacts and--project="*"corrections. - tailwind: a breakpoint canonicalization note.
The package smoke test now packs into a temp directory.
The tools and resource URIs are unchanged.
npx -y @pymodel/react-frontend-skills-mcpMCP v2.0.0
React Frontend Skills MCP v2.0.0
Breaking
Requires Node.js 22 or newer (engines >=22, was >=20).
Changed
- Repackages the server with the skills content from v3.0.0: MSW 3, Next.js 16.4, Playwright 1.64, Vitest 5.1 and Tailwind 4.3.4 updates.
- Dependencies:
@modelcontextprotocol/sdk^1.32.2,zod^4.6.7,yaml^2.9.1. The lockfile has nonpm auditfindings.
Fixed
- CRLF frontmatter no longer yields an empty description.
- The tarball no longer ships
.claudetool state.
The tools and resource URIs are unchanged.
npx -y @pymodel/react-frontend-skills-mcpv2.3.0
React Frontend Skills v2.3.0
Added
scan now runs 31 checks. The three new ones catch Vitest 5 hard breaks:
| Check | Flags | Rule |
|---|---|---|
vitest5-removed-entrypoints |
Imports from vitest/suite, runners, coverage, snapshot, reporters, environments or mocker |
setup-vitest5-migration |
vitest5-nested-vi-mock |
vi.mock, vi.unmock or vi.hoisted below module top level, which fails the whole file |
mock-vi-mock-hoisting |
vitest5-tothrow-empty-string |
toThrow(''), which now matches any message |
assert-specific-matchers |
Like the existing checks, they only run when the project is on Vitest 5.
Fixed
vercel-react-best-practices/rendering-hydration-no-flicker: the inline-script theme example now setssuppressHydrationWarningon the element the script changes. Without it, React 19 logs an attribute hydration mismatch. This is recorded as a local patch inUPSTREAM.md.
Install
npx skills add PyModel/react-frontend-skills --allFull changelog: v2.2.0...v2.3.0