try-fix

Execute a single empirical fix attempt for a failing PR and record artifacts.

23.3k|2.0k|Updated May 8, 2020
One-click install
npx skills add https://github.com/dotnet/maui --skill try-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: try-fix
Source: https://github.com/dotnet/maui/tree/main/.github/skills/try-fix
Command: npx skills add https://github.com/dotnet/maui --skill try-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The try-fix skill provides a structured protocol to execute a single empirical fix attempt for a failing PR and record the outcome.

Core Features & Use Cases

  • One-shot fix design: Propose, implement, and test a single alternative fix per invocation.
  • Baseline-driven workflow: Revert changes via established baseline scripts and re-test to ensure determinism.
  • Artifact-rich results: Capture diffs, logs, and analysis to justify decisions and guide future attempts.
  • Use Case: When a PR fails CI, this skill helps teams run an isolated fix idea, validate it with the provided test command, and document the outcome for review.

Quick Start

  1. Review the PR and existing fixes to ensure the proposed approach is DIFFERENT from prior attempts.
  2. Use the baseline process to establish a clean state, then design a single fix idea and implement it.
  3. Run the provided test command script to build, deploy, and verify results, then capture artifacts.

Frequently Asked Questions about try-fix

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

FAQPage Schema
How do I execute an empirical fix for a failing .NET MAUI pull request?

You execute an empirical fix for a failing .NET MAUI pull request by establishing a clean baseline state, implementing a single proposed fix, and running a predefined test command to validate the outcome.

What is a one-shot empirical bug-fix protocol for CI workflows?

A one-shot empirical bug-fix protocol for CI workflows is a structured process that proposes, implements, and tests a single alternative fix per invocation while capturing diffs and logs to justify the decision.

How do I ensure my CI bug fix attempt is different from prior failed attempts?

To ensure your CI bug fix attempt is different, you review the pull request and existing fixes to confirm the proposed approach has not been tried, then implement the new alternative in an isolated environment.

How do I restore a clean baseline state before trying a pull-request fix?

You restore a clean baseline state before trying a pull-request fix by using established baseline scripts to revert changes, ensuring determinism before designing and applying your new fix approach.

Does the try-fix skill support test-automation outside of .NET MAUI projects?

The try-fix skill is specifically designed for CI and agent workflows within .NET MAUI projects, using predefined test commands and target files to evaluate fixes in that particular environment.

What artifacts do I need to capture when validating a bug fix in CI?

When validating a bug fix in CI, you need to capture artifacts such as code diffs, execution logs, and analysis results to justify the fix decision and guide future empirical fix attempts.