mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-20 23:21:20 +08:00
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:
@@ -77,5 +77,6 @@ Use the following skills when working on related files:
|
|||||||
|---------|-------|
|
|---------|-------|
|
||||||
| `README.md` | `/readme` |
|
| `README.md` | `/readme` |
|
||||||
| `.github/workflows/*.yml` | `/ci-workflow` |
|
| `.github/workflows/*.yml` | `/ci-workflow` |
|
||||||
|
| `*.tsx`, `*.jsx`, `components/**` | `react-patterns`, `react-testing` — for React-specific work invoke `/react-review`, `/react-build`, `/react-test` |
|
||||||
|
|
||||||
When spawning subagents, always pass conventions from the respective skill into the agent's prompt.
|
When spawning subagents, always pass conventions from the respective skill into the agent's prompt.
|
||||||
|
|||||||
@@ -122,6 +122,9 @@ skills:
|
|||||||
- quarkus-tdd
|
- quarkus-tdd
|
||||||
- quarkus-verification
|
- quarkus-verification
|
||||||
- ralphinho-rfc-pipeline
|
- ralphinho-rfc-pipeline
|
||||||
|
- react-patterns
|
||||||
|
- react-performance
|
||||||
|
- react-testing
|
||||||
- regex-vs-llm-structured-text
|
- regex-vs-llm-structured-text
|
||||||
- repo-scan
|
- repo-scan
|
||||||
- returns-reverse-logistics
|
- returns-reverse-logistics
|
||||||
@@ -212,6 +215,9 @@ commands:
|
|||||||
- prune
|
- prune
|
||||||
- python-review
|
- python-review
|
||||||
- quality-gate
|
- quality-gate
|
||||||
|
- react-build
|
||||||
|
- react-review
|
||||||
|
- react-test
|
||||||
- refactor-clean
|
- refactor-clean
|
||||||
- resume-session
|
- resume-session
|
||||||
- review-pr
|
- review-pr
|
||||||
|
|||||||
@@ -58,10 +58,14 @@
|
|||||||
"indicators": [
|
"indicators": [
|
||||||
{ "file": "package.json", "contains": "\"react\":" }
|
{ "file": "package.json", "contains": "\"react\":" }
|
||||||
],
|
],
|
||||||
"rules": ["common", "typescript", "web"],
|
"rules": ["common", "typescript", "web", "react"],
|
||||||
"skills": [
|
"skills": [
|
||||||
"coding-standards",
|
"coding-standards",
|
||||||
"frontend-patterns",
|
"frontend-patterns",
|
||||||
|
"react-patterns",
|
||||||
|
"react-performance",
|
||||||
|
"react-testing",
|
||||||
|
"accessibility",
|
||||||
"tdd-workflow",
|
"tdd-workflow",
|
||||||
"verification-loop"
|
"verification-loop"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"totalCommands": 75,
|
"totalCommands": 78,
|
||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"command": "aside",
|
"command": "aside",
|
||||||
@@ -624,6 +624,52 @@
|
|||||||
],
|
],
|
||||||
"path": "commands/python-review.md"
|
"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",
|
"command": "quality-gate",
|
||||||
"description": "Run the ECC quality pipeline for a file or project scope and report remediation steps.",
|
"description": "Run the ECC quality pipeline for a file or project scope and report remediation steps.",
|
||||||
|
|||||||
Reference in New Issue
Block a user