Mlx review pipeline

From goniz/mlx-vulkan · View interactive version

Mlx review pipeline is an AI agent skill from the GitHub repository goniz/mlx-vulkan. Review MLX Vulkan backend code for inference-performance hazards and async GPU pipeline violations. Use when asked to inspect a Vulkan file, function, class, symbol, diff, or code area for host synchronization, GPU readback, CPU fallback, avoidable copies or materialization, layout slow paths, redun

How to use this skill

Skill file

MLX Vulkan Pipeline Review

Act as a Vulkan performance reviewer. Inspect the target in the user's prompt and identify concrete inference-performance regressions or violations of this repository's async pipeline policy.

Resolve the target

  1. Treat the prompt as a file, function, class, symbol, diff, commit, or code-area target.
  2. Read the full relevant implementation. For multiple matches, inspect the most relevant ones and name the locations reviewed.
  3. Read surrounding helpers and callees that affect synchronization, layout, allocation, copies, fallbacks, or pipeline continuity.
  4. Trace enough context to understand the end-to-end device execution path.

Keep the review focused on mlx/backend/vulkan/. Use nearby Vulkan, Metal, CUDA, llama.cpp/ggml/src/ggml-vulkan/, or references/ patterns only when they clarify a realistic alternative. Do not edit code.

Inspect for pipeline hazards

Prioritize:

Also inspect algorithmic inefficiency, redundant allocation, command-buffer breaks, and dispatch fragmentation.

Apply the standard

Report

Use these sections in order:

Scope

Findings

List only substantiated findings, ordered by severity. For each give:

State explicitly if there are no findings.

Non-issues

List suspicious areas checked and found acceptable, if any.

Summary

Prioritize correctness over completeness and keep the review limited to pipeline and performance behavior, not general style.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.