ptodsl-tilelib-template-authoring

Author and debug PTODSL TileLib templates while preserving metadata and runtime semantics.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers safely add, port, debug, review, and document PTODSL TileLib templates while preserving template selection, metadata handoff, specialization, and runtime semantics.

Core Features & Use Cases

  • Template Authoring: Create or modify PTODSL TileLib template metadata, constraints, callable forms, and template bodies.
  • Selection and Specialization: Reason about candidate and version selection, compact candidate attributes, context attributes, specialization keys, InsertTemplateAttributes handoff, and ExpandTileOp behavior.
  • Debugging and Review: Classify TileLang ST failures, wrong-output cases, and PTODSL TileLib IR differences while checking view shape, strides, memory space, and layout.
  • Use Case: When a TileLang ST test fails after a template change, use this Skill to identify whether the issue is metadata legality, candidate attribute handoff, tracing, helper specialization, or runtime semantics and add a focused regression test.

Quick Start

Use the PTODSL TileLib template authoring skill to diagnose the failing template selection case and propose a focused regression test.

Frequently Asked Questions about ptodsl-tilelib-template-authoring

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

FAQPage Schema
How do I debug TileLang ST failures caused by PTODSL template changes?

To debug TileLang ST failures, classify whether the issue stems from PTODSL template metadata legality, candidate attribute handoff, tracing, helper specialization, or runtime semantics, then propose a focused regression test.

What is PTODSL template selection and specialization?

PTODSL template selection and specialization is the process of reasoning about candidate and version selection, context attributes, and specialization keys to ensure correct InsertTemplateAttributes handoff and ExpandTileOp behavior.

How do I author PTODSL TileLib templates while preserving metadata legality?

Author PTODSL TileLib templates by creating or modifying metadata, constraints, callable forms, and template bodies while consulting the committed authoring guide to preserve selection and runtime semantics.

Why does ExpandTileOp produce wrong outputs after a template change?

ExpandTileOp produces wrong outputs when PTODSL template changes break metadata handoff, view shape, strides, memory space, or layout semantics, requiring a review of the InsertTemplateAttributes handoff.

Can I review PTODSL TileLib IR differences without breaking runtime semantics?

Yes, you can review PTODSL TileLib IR differences by checking view shape, strides, memory space, and layout while consulting the debugging playbook to ensure runtime semantics remain preserved.