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.

Source facts

Repository
Azure/azure-dev
Last source activity
September 18, 2026 at 16:57
Detected SKILL.md language
English
Stars
570
Forks
367

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
5 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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
View on GitHub