asset-validation-debug

Diagnose asset_validate() failures and map them to repair primitives within a retry budget.

16|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/MohamedAbdallah-14/prompt-to-asset --skill asset-validation-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asset-validation-debug
Source: https://github.com/MohamedAbdallah-14/prompt-to-asset/tree/main/.cursor/skills/asset-validation-debug
Command: npx skills add https://github.com/MohamedAbdallah-14/prompt-to-asset --skill asset-validation-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Asset-generation pipelines frequently encounter structured validation failures. This Skill provides a clear diagnosis and repair roadmap by mapping validation codes to concrete primitives and enforcing a retry budget to minimize looping.

Core Features & Use Cases

  • Maps validation failures (T0/T1/T2) to concrete repair primitives (matte, inpaint, route-change, seed-sweep) with a retry budget.
  • Automates a diagnosis tree to classify failures as local, global, or compositional and selects cost-effective remedies.
  • Supports escalation when repairs exhaust budget or require policy changes to routing.

Quick Start

Diagnose asset failures from asset_validate(), map them to repairs, and apply the recommended primitives within the retry budget.

Frequently Asked Questions about asset-validation-debug

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

FAQPage Schema
How do I debug asset-generation failures and map validation errors to repairs?

Asset validation failures are diagnosed by mapping warnings or errors from asset_validate() to concrete repair primitives, selecting the cheapest effective strategy within a defined retry budget, and re-validating to confirm resolution.

What is the retry budget for asset validation repair and how does it stop loops?

The retry budget limits automated repair attempts during asset validation by enforcing a defined threshold, minimizing looping by applying cost-effective repair primitives and escalating if failures persist beyond that budget.

How do I classify asset pipeline failures as local, global, or compositional?

An automated diagnosis tree classifies asset pipeline failures as local, global, or compositional to determine the appropriate remedy, selecting cost-effective repair strategies based on the specific failure type identified.

What should I do when asset repair primitives exhaust the retry budget?

When repair primitives exhaust the retry budget, you escalate the failure by generating a diagnostic payload for further analysis, particularly if the failure recurs or requires routing policy changes.

Does asset validation repair support routing policy changes for persistent failures?

Asset validation repair supports escalation for persistent failures by providing a diagnostic payload when repairs exhaust the budget, indicating when routing policy changes are required to resolve the issue.

What repair primitives are available for fixing asset validation warnings?

Available repair primitives for fixing asset validation warnings include matte, inpaint, route-change, and seed-sweep, each mapped to specific validation codes to apply the most cost-effective remedy.