Skip to content

Add azd-preflight Copilot skill to auto-run and fix preflight checks #7565

Description

@jongio

Summary

Add two new Copilot skills to the repository for contributor productivity.

Motivation

The mage preflight suite validates formatting (gofmt), code modernization (go fix), copyright headers, linting (golangci-lint), spell checking (cspell), compilation, unit tests, and playback tests. Today contributors must run this manually and fix issues themselves. The skill automates the fix-then-rerun cycle, reducing friction for new and existing contributors.

What's Included

  • azd-preflight skill (.github/skills/azd-preflight/) - Workflow skill that runs preflight, parses the check summary, applies automated fixes per check, re-runs iteratively (up to 3 cycles), and escalates to the user when human judgment is needed.
  • sensei skill (.github/skills/sensei/) - Meta-skill that evaluates and improves skill quality in .github/skills/ using waza.
  • Doc updates - One-liner references added to cli/azd/CONTRIBUTING.md and cli/azd/AGENTS.md.

Follow-up Work

  • Waza eval suite and CI workflow (skill-eval.yml) will be added in a separate PR after the evaluation infrastructure is refined.

Branch

feature/azd-preflight-skill

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions