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.

来源信息

仓库
Azure/azure-dev
最近来源活动
2026年9月18日 16:57
检测到的 SKILL.md 语言
英语
星标
570
分支
367

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
5 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
在 GitHub 查看