chore: wire react track into manifests and stack mappings

- agent.yaml: add react-patterns, react-performance, react-testing
  to the skills array; add react-build, react-review, react-test to
  the commands array (alphabetically inserted to satisfy the
  ci/agent-yaml-surface sync test).
- config/project-stack-mappings.json: extend the `react` stack
  entry — add "react" to rules array (was ["common","typescript",
  "web"]); add react-patterns, react-performance, react-testing,
  accessibility to the skills array.
- docs/COMMAND-REGISTRY.json: bump totalCommands 75 -> 78; add
  three new entries (react-build, react-review, react-test) with
  primaryAgents / allAgents / skills wiring. react-review's
  allAgents includes typescript-reviewer to reflect the dual-agent
  routing convention.
- CLAUDE.md: add Skills-table row mapping *.tsx / *.jsx /
  components/** to react-patterns + react-testing skills and
  the /react-review, /react-build, /react-test commands.
This commit is contained in:
AlexisLeDain
2026-05-20 10:02:27 +02:00
parent 96819fa081
commit 5ab49a12da
4 changed files with 59 additions and 2 deletions
+47 -1
View File
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"totalCommands": 75,
"totalCommands": 78,
"commands": [
{
"command": "aside",
@@ -624,6 +624,52 @@
],
"path": "commands/python-review.md"
},
{
"command": "react-build",
"description": "Fix React build failures (Vite, webpack, Next.js, CRA, Parcel, esbuild, Bun) incrementally — JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types. Invokes the react-build-resolver agent for minimal, surgical fixes.",
"type": "testing",
"primaryAgents": [
"react-build-resolver"
],
"allAgents": [
"react-build-resolver"
],
"skills": [
"react-patterns",
"frontend-patterns"
],
"path": "commands/react-build.md"
},
{
"command": "react-review",
"description": "Comprehensive React/JSX code review for hook correctness, render performance, server/client component boundaries, accessibility, and React-specific security. Invokes the react-reviewer agent (and typescript-reviewer alongside on TSX/JSX changes).",
"type": "testing",
"primaryAgents": [
"react-reviewer"
],
"allAgents": [
"react-reviewer",
"typescript-reviewer"
],
"skills": [
"react-patterns",
"react-testing",
"accessibility"
],
"path": "commands/react-review.md"
},
{
"command": "react-test",
"description": "Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first), then implement components. Detects Vitest or Jest and verifies coverage targets.",
"type": "testing",
"primaryAgents": [],
"allAgents": [],
"skills": [
"react-testing",
"tdd-workflow"
],
"path": "commands/react-test.md"
},
{
"command": "quality-gate",
"description": "Run the ECC quality pipeline for a file or project scope and report remediation steps.",