test
react/react · Agent Skill
Esegue test per la codebase di React, supportando vari canali e modalità di esecuzione.
Vai all'installazione ↓Panoramica
| Autore | |
|---|---|
| Repository | react/react ↗ |
| Cartella dello skill | test |
| Stelle | 249.163 |
| File inclusi | 1 |
| Licenza | MIT |
| Aggiornato | 23 gennaio 2026 |
| Link | Sorgente dello skill ↗ · Repository ↗ |
Verifica Mozgi
Cosa abbiamo trovato nei file dello skill. I dettagli con l’abbonamento.
Installazione
Uno skill è una cartella con un file SKILL.md. Scegli il tuo agente ed esegui i comandi in un terminale (macOS, Linux o Git Bash su Windows) dalla radice del progetto.
Incolla il prompt in Claude, Codex o un altro assistente: controllerà lo skill e lo installerà.
Install the “test” skill from mozgi.io (https://mozgi.io/skills/test/) for me. 1. Download the archive: https://mozgi.io/skills/test/download If it fails, take the skill folder from the source: https://github.com/react/react/tree/main/.claude/skills/test 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “test” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/test/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/react/react.git /tmp/react mkdir -p .claude/skills cp -r /tmp/react/.claude/skills/test .claude/skills/test
Riavvia Claude Code: lo skill compare nell'elenco; per richiamarlo a mano usa /test. Per tutti i progetti: ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/react/react.git /tmp/react mkdir -p .agents/skills cp -r /tmp/react/.claude/skills/test .agents/skills/test
Codex cerca gli skill in .agents/skills dalla cartella corrente fino alla radice del repo; richiamalo con /skills o $test. Per tutti i progetti: ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/react/react.git /tmp/react mkdir -p .cursor/skills cp -r /tmp/react/.claude/skills/test .cursor/skills/test
Cursor carica lo skill all'avvio; richiamalo con “/” nella chat Agent. Cursor legge anche .claude/skills e .agents/skills. Per tutti i progetti: ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/react/react.git /tmp/react mkdir -p .gemini/skills cp -r /tmp/react/.claude/skills/test .gemini/skills/test
Gemini CLI propone di attivare lo skill quando il compito corrisponde: tu confermi. Per tutti i progetti: ~/.gemini/skills.
Leggi SKILL.md e i file correlati prima di installare. Clicca un file per l'anteprima.
Contenuto di SKILL.md
Testo originale dell'autore · sola letturaRun tests for the React codebase.
Arguments:
- $ARGUMENTS: Channel, flags, and test pattern
Usage Examples:
/test ReactFiberHooks- Run with source channel (default)/test experimental ReactFiberHooks- Run with experimental channel/test www ReactFiberHooks- Run with www-modern channel/test www variant false ReactFiberHooks- Test __VARIANT__=false/test stable ReactFiberHooks- Run with stable channel/test classic ReactFiberHooks- Run with www-classic channel/test watch ReactFiberHooks- Run in watch mode (TDD)
Release Channels:
(default)- Source/canary channel, uses ReactFeatureFlags.js defaultsexperimental- Source/experimental channel with __EXPERIMENTAL__ flags = truewww- www-modern channel with __VARIANT__ flags = truewww variant false- www channel with __VARIANT__ flags = falsestable- What ships to npmclassic- Legacy www-classic (rarely needed)
Instructions:
1. Parse channel from arguments (default: source)
2. Map to yarn command:
- (default) →
yarn test --silent --no-watchman <pattern> - experimental →
yarn test -r=experimental --silent --no-watchman <pattern> - stable →
yarn test-stable --silent --no-watchman <pattern> - classic →
yarn test-classic --silent --no-watchman <pattern> - www →
yarn test-www --silent --no-watchman <pattern> - www variant false →
yarn test-www --variant=false --silent --no-watchman <pattern>
3. Report test results and any failures
Hard Rules:
1. Use --silent to see failures - This limits the test output to only failures.
2. Use --no-watchman - This is a common failure in sandboxing.
Common Mistakes:
- Running without a pattern - Runs ALL tests, very slow. Always specify a pattern.
- Forgetting both www variants - Test
wwwANDwww variant falsefor__VARIANT__flags. - Test skipped unexpectedly - Check for
@gatepragma; seefeature-flagsskill.
Domande frequenti
Che cosa fa lo skill test?
Esegue test per la codebase di React, supportando vari canali e modalità di esecuzione.
Come si installa test?
Apri il blocco “Installazione” in questa pagina e scegli il tuo agente — Claude Code, Codex, Cursor o Gemini CLI — per i comandi pronti che copiano la cartella dello skill nel posto giusto. Oppure copia il prompt dalla scheda “Con l'assistente” e lascia che sia l'assistente a controllare e installare lo skill.
Con quali modelli AI funziona test?
Gli skill sono semplici istruzioni in Markdown (formato Agent Skills), quindi test funziona con qualsiasi agente che legge SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode e altri. Il modello carica le istruzioni solo quando il compito corrisponde alla descrizione dello skill.
test è gratuito?
Lo skill è pubblicato apertamente da react con licenza MIT. Lo skill in sé non costa nulla: paghi solo il tuo fornitore AI per i token usati.
È sicuro installare gli skill?
Uno skill è un insieme di istruzioni che il tuo agente seguirà: leggi SKILL.md e i file correlati prima di installarlo. Gli script nella cartella dello skill vengono eseguiti solo se li esegue l'agente: controlla cosa fa e non concedere permessi superflui.
In cosa differisce uno skill da un server MCP o da un plugin?
Un server MCP o un plugin danno al modello nuovi strumenti: codice che viene eseguito e restituisce un risultato. Uno skill fornisce conoscenza e metodo: come affrontare il compito, quali passi seguire e com'è un buon risultato. Non servono server né chiavi API.