pass-writing

Official

Master ONNX IR pass development.

Authoronnx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing transformation passes within the ONNX IR project, enabling users to effectively modify and optimize ONNX graphs.

Core Features & Use Cases

  • Pass Infrastructure: Understand base classes (InPlacePass, FunctionalPass) and pass lifecycle.
  • Graph Manipulation: Learn safe node and value manipulation, including replacement and removal.
  • Use Case: A developer needs to implement a new optimization pass to fuse specific ONNX operations. This Skill provides the necessary patterns, code examples, and best practices to build and test such a pass efficiently.

Quick Start

Use the pass-writing skill to learn how to implement a new InPlacePass for ONNX IR.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pass-writing
Download link: https://github.com/onnx/ir-py/archive/main.zip#pass-writing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.