Skip to main content

weft-check

COMMAND, not reference: Validate and build the weft program, fix diagnostics until clean. Run this when the user asks for this step by name. The sixteen `weft-` reference skills beside it are things you read; this is a procedure you carry out.

Datos de origen

Repositorio
WeaveMindAI/weft
Última actividad en el origen
19 de septiembre de 2026 a las 07:09
Idioma detectado de SKILL.md
inglés
Estrellas
1982
Forks
221

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
weft-check
description
COMMAND, not reference: Validate and build the weft program, fix diagnostics until clean. Run this when the user asks for this step by name. The sixteen `weft-` reference skills beside it are things you read; this is a procedure you carry out.
Run the compiler over this project and fix what it names, without running anything. 1. Read the `weft-language` skill if you have not this session, and the `metadata.json` of any node type you are about to edit. Then: `weft validate --file src/main.weft < src/main.weft`. 2. Parse the diagnostics. Errors are `line:column message` with a stable slug; the message names the fix. Fix every Error, then re-validate until the list is empty. Never route around a diagnostic, and never weaken the program to silence one: if a fix feels wrong, stop and say what the compiler is asking for instead. A `level-too-large` warning is not an error, but answer it the same way: [the level rule] is a law, and the fix is a group, never a wider level. 3. Then `weft build`. If it fails, read the error, fix, rebuild. 4. Report, in plain words: what was wrong, what you changed, and the current state (clean validate, clean build). No summary of the diff.
Ver en GitHub