Adds a new OpenVINO fusion transformation (subgraph to one or several operations) and corresponding tests.
61
71%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/agents-prototype/skills/add-fusion-transformation/SKILL.mdProvide an instruction-only workflow to implement a new OpenVINO graph fusion transformation that replaces a matched subgraph with one operation (or a compact operation sequence), including regression tests.
Expected outcome:
This workflow applies to OpenVINO transformation development in openvino/ for:
Fusion transformations — pattern-based graph fusion that replaces a matched subgraph with:
Decomposition transformations — pattern-based replacement that expands a complex op into a sequence of simpler, already-supported ops:
The workflow covers:
Model Graph → Pattern Matcher Pass → Subgraph Replacement → Validation/Inference Tests
openvino/ ├─ src/common/transformations/ │ ├─ include/transformations/ │ │ └─ /<fusion_name>.hpp │ ├─ src/transformations/ │ │ └─ /<fusion_name>.cpp │ ├─ src/transformations/common_optimizations/ │ │ └─ common_optimizations.cpp (or relevant pipeline file) │ └─ tests/ │ ├─ common_optimizations/ │ │ └─ <fusion_name>.cpp │ └─ utils/ └─ tests/ └─ layer_tests/ or functional/ (if user-visible behavior/perf contract is affected)
ov::pass::MatcherPass for local rewrite; use GraphRewrite only when grouping multiple related matchers.rt_info where expected.4c20980
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.