Skip to main content

update-vettedpositions

Update .vettedpositions after harmless line-number moves in goanalysis output.

Ir a la instalación

Datos de origen

Repositorio
authgear/authgear-server
Última actividad en el origen
14 de abril de 2026 a las 09:56
Idioma detectado de SKILL.md
inglés
Estrellas
2058
Forks
125

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
update-vettedpositions
description
Update .vettedpositions after harmless line-number moves in goanalysis output.
argument-hint
<changed files or analysis output>
Use this skill only for line-number drift in vetted positions. ## Workflow 1. Run `go run ./devtools/goanalysis ./cmd/... ./pkg/...`. 2. For each reported item, check whether it is only a line-number move with no semantic change. 3. If it is a line-number move, update `.vettedpositions` to remove the old position and add the new one. 4. If it is a genuinely new warning, stop and report it instead of updating `.vettedpositions`. 5. Re-run `go run ./devtools/goanalysis ./cmd/... ./pkg/...`. 6. Run `make sort-vettedpositions`. 7. Commit the change with the message `Update .vettedpositions for changed line numbers`. ## Notes - Do not add new vetted positions for new issues. - Keep the file sorted by using the repo target, not by hand.
Ver en GitHub