Saltar al contenido
Skillpedia
Deploy y nube (DevOps)101 mil · #978

build-test

Qué hace

Comprueba si tu código funciona bien y si las pruebas se superan. Ejecuta comandos para buscar errores y lanzar las pruebas, e indica si todo está 'passing' (correcto) o 'failing' (con fallos).

Cuándo usarla

  • ✓Después de hacer cambios en el código.
  • ✓Antes de entregar tu trabajo.
  • ✓Para asegurarte de que todo funciona antes de seguir.

Link de la skill

https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/build-test/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/build-test/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Comprueba si el código y las pruebas funcionan.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Ejecuta los comandos de build y de test definidos para tu proyecto. Después te indica si el build y las pruebas se completaron con éxito o no.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Build test

Spec §20.2 / §22.4: the "subjective critique-theater panel" is not enough on its own — a code-migration / tune-collab run must prove the build still passes. This atom shells out to the project's declared test commands and emits structured signals the devloop's until evaluator reads.

Inputs

  • The active target stack (recorded in code/index.json + plan.md's targetStack block).
  • The user's optional override (od plugin run --input testCommand='pnpm test').

Default commands by framework

framework typecheck test
next pnpm typecheck pnpm test
vite pnpm typecheck pnpm test
remix pnpm typecheck pnpm test
custom (read from package.json.scripts) (read from package.json.scripts)

Output

project-cwd/
└── critique/
    ├── build-test.json   # { build: 'passing' | 'failing', tests: 'passing' | 'failing' | 'skipped', durationMs, commandsRun: [...], failures: [...] }
    └── build-test.log    # raw stdout / stderr (truncated to the runner's logBudgetBytes limit, default 1 MiB)

The atom emits two signals the devloop reads:

  • build.passing: boolean — the typecheck command exited 0.
  • tests.passing: boolean — the test command exited 0.

Plus the legacy critique.score so existing pipelines that read the score keep working: 5 when both pass, 3 when only build passes, 1 when both fail.

Convergence

Pipelines wire the atom into a devloop:

{
  "id": "verify",
  "atoms": ["patch-edit", "build-test"],
  "repeat": true,
  "until": "(build.passing && tests.passing) || iterations >= 8"
}

Anti-patterns the prompt fragment forbids

  • Running tests on a partially-edited working tree (the atom always runs after patch-edit, and only when plan.steps's current step is in completed state).
  • Suppressing test failures by changing test files; that violates the rewrite-plan ownership rule.
  • Setting tests: 'skipped' without a non-empty reason field.

Status

Implemented by the daemon runner in apps/daemon/src/plugins/atoms/build-test.ts. It executes the configured build and test commands, bounds runtime and captured logs, and persists the report and log outputs above.

Preguntas frecuentes

¿Qué son 'build' y 'test'?

'Build' es el proceso que comprueba si tu código está escrito correctamente, sin erratas ni errores de sintaxis. 'Test' es ejecutar comprobaciones automáticas para ver si las funciones de tu código funcionan como se espera.

¿Qué pasa si algo falla?

Si el 'build' o las pruebas fallan, te lo indicará. Tendrás que corregir los errores de tu código antes de seguir.

¿Cómo sabe qué comandos ejecutar?

Usa los comandos por defecto del tipo de proyecto que estás usando (como Next, Vite, etc.) o lee los comandos que hayas definido en el archivo de tu proyecto.

Detalles

Descripción original del autor

Run the project's build / typecheck / lint / test commands and emit the build.passing + tests.passing signals devloop convergence reads.

repo: nexu-io/open-design

Popularidad

Estrellas en GitHub
101 mil
Posición en el ranking
#978
Licencia
Apache-2.0
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas