Skip to content

v4.0.0

Choose a tag to compare

@elkaix elkaix released this 09 Nov 20:34
· 21 commits to main since this release
85f6b47

The pack now teaches only the current major of each library. MCP package: 3.0.0.

Breaking

  • scan is removed, with its 35 deprecated-API checks, comment masking, --skill and --all. detect and lint remain. Running scan now 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-superrefine is now zod/refine-vs-check. New current-only rules replace the useful parts: tailwind/util-current-scale-names (shadow/rounded/blur scales, ring-3, outline-hidden) and vitest/setup-vitest5-semantics (tailwind 42 rules, vitest 47).
  • detect no 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, lint or rangeMajor; import them from bin/detect.mjs and bin/lint.mjs. The MCP startStdioServer returns { server } and SkillsCatalog is no longer exported.

Changed

  • MSW: only graphql needs its own entry point (msw/graphql); http, HttpResponse, ws and sse import from msw. Async-validation forms re-check on submit, because the resolver result replaces a manual setError. TypeScript 7 setup keeps a TypeScript 6 alias for tools that load the compiler API.
  • Zod refinements use .check() instead of superRefine; shadcn and React Hook Form forms use Controller with Field/FieldError instead of the Form/FormField wrapper; MSW examples use onUnhandledFrame; nuqs and Next.js examples await searchParams; useTransition examples use isPending.
  • Next.js: new server-async-params rule (pages, layouts, route handlers, metadata routes, Client Components); Turbopack config lives under the top-level turbopack key.
  • TypeScript 7 rule is now "Configure tsconfig for TypeScript 7" and lists downlevelIteration and module: "none" among unsupported options.
  • MSW handler URL guidance scopes relative paths to browser/jsdom and uses an absolute URL or */path in 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() replaces useContext; Tailwind dark mode uses @custom-variant; Lucide imports stay on the typed package entry; TDD uses MSW or an injected fake instead of replacing global.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, lint and packages modules. npm-pack output parsing is shared by both smoke tests in scripts/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.md frontmatter twice.
  • web-design-guidelines has 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.
  • lint validates SKILL.md link fragments, including same-file #anchor links, with GitHub's slug rules for repeated, Unicode, linked and emphasized headings, ignoring fenced code. React section links point at the real _sections.md anchors.
  • 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:package reads lint --json and derives the skill count.
  • The MCP catalog tests pin the repository skills directory and cover missing SKILL.md and unclosed frontmatter.
  • .gitignore excludes all .claude/ agent tool state.