resolve-dsl-issue

Reproduce and resolve DSL compilation failures from GitHub issues using PTOAS logs.

30|74|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/hw-native-sys/PTOAS --skill resolve-dsl-issue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-dsl-issue
Source: https://github.com/hw-native-sys/PTOAS/tree/main/.codex/skills/resolve-dsl-issue
Command: npx skills add https://github.com/hw-native-sys/PTOAS --skill resolve-dsl-issue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns a reported DSL issue into a reproducible PTOAS case, helping engineers identify the failure stage, determine the root cause, and coordinate a validated fix.

Core Features & Use Cases

  • Issue Reproduction: Extracts DSL and PTO IR examples from issue reports and preserves them as repository-local minimal reproductions.
  • Failure Analysis: Runs PTOAS with the required flags, captures logs, identifies the first meaningful error, and distinguishes frontend, expansion, lowering, and code-generation failures.
  • Guided Resolution: Proposes a minimal fix, waits for user confirmation before modifying code or submitting changes, runs regression validation, and prepares an issue-linked pull request.
  • Use Case: Use it when a GitHub issue reports that a DSL program fails during PTO IR generation or PTOAS compilation and you need a traceable path from reproduction to reviewed fix.

Quick Start

Provide the GitHub issue link and ask the skill to reproduce the DSL failure, analyze the PTOAS logs, and propose the smallest validated fix.

Frequently Asked Questions about resolve-dsl-issue

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

FAQPage Schema
How do I reproduce a DSL compilation failure from a GitHub issue?

To reproduce a DSL compilation failure, extract the minimal DSL and PTO IR inputs from the GitHub issue, run PTOAS with the required flags, and capture the diagnostic logs to identify the first meaningful error stage.

What causes PTO IR generation or PTOAS compilation failures?

PTO IR generation or PTOAS compilation failures can stem from frontend parsing errors, tile operation expansion issues, lowering defects, or LLVM emission failures, which you isolate by analyzing PTOAS diagnostic logs.

How do I fix a DSL issue and prepare a pull request end to end?

Fix a DSL issue by proposing a minimal code correction, waiting for user confirmation, running regression testing validation, and preparing an issue-linked pull request for the reviewed changes.

Do I need a specific environment to debug PTOAS and DSL issues?

Yes, debugging PTOAS and DSL issues requires a usable PTOAS build, writable repository and build directories, and access to the GitHub issue content to execute commands and preserve local minimal reproductions.

Can I automatically commit code changes when resolving DSL lowering failures?

No, the DSL issue resolution process requires explicit user confirmation before modifying code, committing changes, pushing to the repository, or creating a pull request to ensure reviewed validation.