Skip to main content

azd-preflight

**WORKFLOW SKILL** — Runs `go tool mage preflight` from `cli/azd/` and auto-fixes failures. Covers linting, formatting, copyright, spelling, build, and tests. Iterates fix-then-rerun cycles until all checks pass. INVOKES: go CLI, golangci-lint, cspell, gh CLI, bash/sh, ask_user. USE FOR: azd preflight, run preflight, preflight checks, pre-commit checks, azd lint, azd build and test, validate azd changes, check azd code quality, mage preflight. DO NOT USE FOR: deploying azd (use azure-deploy), changelog (use changelog-generation), creating PRs (use pull-request), running only unit tests without the full suite.

Informations de source

Dépôt
Azure/azure-dev
Dernière activité de la source
18 septembre 2026 à 16:57
Langue détectée de SKILL.md
anglais
Étoiles
570
Forks
367

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
5 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
azd-preflight
license
MIT
metadata
{"version":"1.2"}
description
**WORKFLOW SKILL** — Runs `go tool mage preflight` from `cli/azd/` and auto-fixes failures. Covers linting, formatting, copyright, spelling, build, and tests. Iterates fix-then-rerun cycles until all checks pass. INVOKES: go CLI, golangci-lint, cspell, gh CLI, bash/sh, ask_user. USE FOR: azd preflight, run preflight, preflight checks, pre-commit checks, azd lint, azd build and test, validate azd changes, check azd code quality, mage preflight. DO NOT USE FOR: deploying azd (use azure-deploy), changelog (use changelog-generation), creating PRs (use pull-request), running only unit tests without the full suite.
# azd-preflight Runs the full azd preflight suite and auto-fixes failures. ## Overview The azd preflight suite (`go tool mage preflight`) validates code quality before changes are submitted. This skill runs the suite, parses failures, applies automated fixes, and re-runs until all checks pass — or escalates to the user when a fix requires human judgment. {{ references/preflight-checks.md }} {{ references/workflow.md }} {{ references/output-and-errors.md }} ## Exit Criteria - `go tool mage preflight` exits successfully, or unresolved failures are clearly reported - Every changed `CHANGELOG.md` passes its targeted spell check - All auto-applied fixes are saved to disk (not staged or committed — the user decides when to commit) - A clear summary of what passed, what was fixed, and what was skipped is displayed
Voir sur GitHub