azsdk-common-pipeline-fixer

Automatically fixes Azure SDK CI/CD pipeline failures and verifies fixes locally.

2.6k|2.2k|Updated Dec 6, 2011
One-click install
npx skills add https://github.com/Azure/azure-sdk-for-java --skill azsdk-common-pipeline-fixer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azsdk-common-pipeline-fixer
Source: https://github.com/Azure/azure-sdk-for-java/tree/main/.github/skills/azsdk-common-pipeline-fixer
Command: npx skills add https://github.com/Azure/azure-sdk-for-java --skill azsdk-common-pipeline-fixer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure SDK pull requests often fail CI due to test, type, lint, or build errors, and manually diagnosing and fixing each failure is slow and repetitive. This Skill analyzes the failure, applies the minimal code fix, and verifies it locally before committing.

Core Features & Use Cases

  • Automated Failure Classification: Distinguishes fixable errors (test, type, lint, import, assertion) from infrastructure failures that need a retry and issues that need escalation.
  • Local Verification Loop: Builds the package, runs checks, and runs tests through the azure-sdk-mcp tools, iterating up to three times until all pass.
  • Commit on Success: Once verification passes, commits the fix with a descriptive message on the PR branch.
  • Use Case: A developer's Python SDK PR fails CI with a mypy type error. The Skill locates the failing code, applies the minimal fix, rebuilds and re-tests the package locally, and commits the verified change.

Quick Start

Ask the assistant to fix the pipeline failure for your Azure SDK PR build and let it apply and verify the fix automatically.

Frequently Asked Questions about azsdk-common-pipeline-fixer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix an Azure SDK pipeline failure?

Provide the failing build ID or PR link and ask to fix the pipeline failure. The Skill analyzes the failure, applies a minimal code change on the PR branch, verifies it with local build, check, and test runs, then commits the fix.

What kinds of CI failures can this Skill fix?

It fixes code-level failures such as test errors, type errors (mypy/pylint), lint violations, import errors, and assertion failures. It does not fix infrastructure failures like timeouts or throttling, which it recommends retrying instead.

Does the pipeline fixer require the azure-sdk-mcp server?

Yes, the azure-sdk-mcp server is required along with a local clone of the affected SDK language repository and installed language build tools. All verification runs through the MCP package tools, never raw shell build or test commands.

When should I use pipeline analysis instead of the pipeline fixer?

Use the azsdk-common-pipeline-analysis skill when you only want to diagnose why a build failed without changing code. The fixer is for requests that ask to apply and verify an actual fix.

What happens if the fix does not pass verification?

The Skill revises the fix and re-verifies up to three attempts. If the environment is not ready, it runs the setup verification tool, reports the error, and stops rather than falling back to raw shell commands.