Skip to content

Commit c1a0c23

Browse files
authored
Restructure the skills folder (onnx#346)
According to Github requirements Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
1 parent c0543ed commit c1a0c23

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/skills/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains specialized skills for AI agents working with the ONNX I
44

55
## Available Skills
66

7-
### [Pass Writing](./pass-writing.md)
7+
### [Pass Writing](./pass-writing/SKILL.md)
88

99
Comprehensive guide for creating transformation passes in ONNX IR. This skill covers:
1010

@@ -31,7 +31,8 @@ These skills are designed to be used by AI agents to improve code quality and co
3131

3232
When adding new skills:
3333

34-
1. Create a descriptive markdown file in this directory
35-
2. Update this README with a brief description of the new skill
36-
3. Include comprehensive examples from the codebase
37-
4. Document both what to do and what to avoid
34+
1. Create a new directory under `skills/` with a lowercase, hyphenated name (e.g., `webapp-testing`)
35+
2. Add a `SKILL.md` file inside the directory with the skill content
36+
3. Update this README with a brief description of the new skill
37+
4. Include comprehensive examples from the codebase
38+
5. Document both what to do and what to avoid
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# ONNX IR Pass Writing Skill
2-
3-
This skill provides comprehensive guidance for creating transformation passes in the ONNX IR project. It encapsulates best practices, conventions, and patterns derived from existing passes in `onnx_ir/passes/common/`.
1+
---
2+
name: pass-writing
3+
description: Comprehensive guidance for creating transformation passes in the ONNX IR project. It encapsulates best practices, conventions, and patterns derived from existing passes in `onnx_ir/passes/common/`.
4+
---
45

56
## Overview
67

0 commit comments

Comments
 (0)