Notre avis
Compétence Post-Doc pour le monorepo hefarica/arbitragex-v2 qui guide l'implémentation de useTransition et useOptimistic dans React 19, avec actions serveur, tests Playwright et un flux de validation strict.
Points forts
- Contexte précis d'un dépôt réel avec une chaîne de validation explicite : lint, typecheck, build, tests, E2E.
- Déclencheurs clairs comme « server actions form state » et règles d'abandon pour CI rouge, dérive de schéma, ou fuite de secret.
- Exige des preuves forensiques, des benchmarks reproductibles et des ADR pour toute décision modifiant un contrat.
Limites
- Fortement lié au dépôt arbitragex-v2 et à ses conventions internes, donc peu portable hors de ce projet.
- Contient peu d'explications didactiques sur les API React 19 elles-mêmes.
- La terminologie « Post-Doc » et « doctrina OMEGA » n'est pas explicitée dans le skill.
Lorsqu'une modification du frontend d'arbitragex-v2 touche à l'état de formulaires géré par server actions et nécessite useTransition/useOptimistic dans le respect de la doctrine du monorepo.
Pour apprendre les fondamentaux de React 19 ou dans tout autre projet/monorepo ne suivant pas les conventions d'arbitragex-v2.
Analyse de sécurité
PrudenceThe skill instructs running a Playwright test suite and references repo-specific CI/git commands, but it does not contain destructive, exfiltrating, or obfuscated actions. The risk is limited to executing repository code in a test environment, which is a standard development practice.
- •The skill includes a shell command to run Playwright tests (`pnpm playwright test`), which executes arbitrary test code from the repository, but this is for legitimate local testing.
- •No allowed-tools are declared, yet the skill presumes access to pnpm, playwright, and repository CI commands.
Exemples
Use the arbitragex-v2 G005 skill: the trade form in frontend/app uses server actions form state and is slow. Implement useOptimistic and useTransition to make the submit feel optimistic, and update the Playwright E2E assertions.Run the G005 skill on hefarica/arbitragex-v2 for the current main. Check CI, apply useTransition/useOptimistic around the server action form state, and add a testid with DEGRADED/UP/DOWN expectation to the E2E contract.Refactor the profile update form in frontend/components using React 19 useOptimistic and useTransition now that it relies on server actions form state. Keep Zero-Mocks doctrine and run the full validation pipeline from the G005 skill.name: arbx-g-g005-advanced-react-19-usetransitionuseoptimistic description: "Post-Doc skill alineada al monorepo hefarica/arbitragex-v2 (Frontend Doctrinal (Next.js + Playwright)). Se activa cuando: server actions form state. Doctrina OMEGA Zero-Mocks · Fail-Closed · El Remoto Manda."
G005 — Advanced React 19 useTransition/useOptimistic
Dominio: Frontend Doctrinal (Next.js + Playwright) Nivel: Post-Doc Trigger: server actions form state Repos de referencia: vercel/next.js · facebook/react · microsoft/playwright · TanStack/query · shadcn-ui/ui · radix-ui/primitives · wevm/viem · wagmi-dev/wagmi Archivos del repo: frontend/app/* · frontend/components/* · frontend/tests/e2e/* · packages/schemas/*
Quick Start
ARBX_BUILD_FOR_LOCAL_E2E=1 ARBX_ASSUME_NO_RPC=1 pnpm playwright test --reporter=list,html
Core Workflow
- Cargar contexto del repo
hefarica/arbitragex-v2(rama actual, último PR, estado de CI). - Identificar el subsistema impactado dentro de los archivos del repo listados arriba.
- Aplicar la doctrina del nivel Post-Doc sin desviaciones.
- Validar contra:
lint → typecheck → build → tests → audit → E2E → deploy. - Reportar evidencia en formato Markdown forense (logs, traces, métricas, hash de commit).
Doctrina del Nivel
- Aporte de investigación: paper o RFC referenciado.
- Benchmarks reproducibles con criterio estadístico (95% CI).
- Comparativa contra estado del arte público.
Reglas de Ejecución
| Condición | Acción |
|-----------|--------|
| CI rojo en main | ABORT — fix-forward, nunca skip |
| Drift schema producer↔consumer | ABORT — restaurar isomorfismo Zod/struct |
| Cobertura E2E < contrato iter 18 | ABORT — añadir testid + assertion DEGRADED/UP/DOWN |
| Secret en plaintext fuera de Vault/age | ABORT — rotar y reportar |
| Profit neto ≤ gas + flashloan_fee | ABORT (skill C/E) |
| Slippage > banda RiskGate | RESIZE o ABORT (skill C/E) |
Activation Triggers (regex parciales)
server actions form stateadvanced react 19 usetransition/useoptimisticarbitragex-v2 g
Output Esperado
- Diff atómico (rustfmt aparte de semántica).
- Evidencia:
gh pr checks <N>,cargo nextest, traces OTel, screenshots Playwright. - ADR si la decisión cambia contrato (
docs/adr/NNNN-*.md).
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.