react-facts.json 2.3 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "_comment": "Canonical fast-moving facts the react-ops skill encodes. scripts/check-react-facts.py asserts SKILL.md + references name these consistently (--offline) and probes the npm registry for major-version drift (--live). Edit deliberately: a change here is a skill-content decision, not housekeeping. documented_major is the major the skill's prose commits to (react/react-dom/next) or the current tracked major for ecosystem libs the prose names without pinning a version.",
  3. "schema": "claude-mods.react-ops.facts/v1",
  4. "as_of": "2026-07-05",
  5. "react_major": 19,
  6. "version_gates": {
  7. "_comment": "React 19 APIs the skill centers on. --offline asserts each token is named in SKILL.md/references prose; a missing token means the skill stopped teaching a React 19 feature it claims.",
  8. "use": "use(",
  9. "actions": "Actions",
  10. "use_action_state": "useActionState",
  11. "use_form_status": "useFormStatus",
  12. "use_optimistic": "useOptimistic",
  13. "react_compiler": "React Compiler"
  14. },
  15. "packages": {
  16. "react": { "documented_major": 19, "prose": ["react"], "role": "core (React 19)" },
  17. "react-dom": { "documented_major": 19, "prose": ["react-dom"], "role": "DOM host (useFormStatus, createRoot)" },
  18. "next": { "documented_major": 16, "prose": ["Next.js"], "role": "App Router / RSC host" },
  19. "zustand": { "documented_major": 5, "prose": ["Zustand"], "role": "client state" },
  20. "jotai": { "documented_major": 2, "prose": ["Jotai"], "role": "atomic client state" },
  21. "@reduxjs/toolkit": { "documented_major": 2, "prose": ["Redux Toolkit"], "role": "complex client state" },
  22. "@tanstack/react-query": { "documented_major": 5, "prose": ["TanStack Query"], "role": "server state" },
  23. "react-hook-form": { "documented_major": 7, "prose": ["React Hook Form"], "role": "form state" },
  24. "zod": { "documented_major": 4, "prose": ["Zod"], "role": "schema validation" },
  25. "@testing-library/react": { "documented_major": 16, "prose": ["@testing-library/react"], "role": "component testing" },
  26. "vitest": { "documented_major": 4, "prose": ["vitest"], "role": "test runner" }
  27. }
  28. }