Chuyển đến nội dung
Skillpedia
Lập trình chung5.7k · #14751

reproducible-github-issues

Skill này làm gì

Skill này dạy agent cách biến một vấn đề với MLX-VLM thành báo cáo issue mà người bảo trì có thể xử lý. Agent thu thập phiên bản, lệnh và ví dụ nhỏ nhất cần thiết để lặp lại lỗi.

Khi nào nên dùng

  • ✓Khi người dùng gặp lỗi crash hoặc kết quả sai với MLX-VLM và muốn báo cáo.
  • ✓Khi người dùng cần cải thiện một báo cáo lỗi có sẵn để người khác tái hiện được.
  • ✓Khi người dùng muốn viết rõ ràng về việc hiệu năng bị giảm.

Liên kết skill

https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/reproducible-github-issues/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/reproducible-github-issues/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy giúp tôi viết issue GitHub cho MLX-VLM. Server bị crash khi nhận ảnh đầu vào, và tôi muốn lỗi này có thể tái hiện được.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent thu thập thông tin môi trường và lệnh chính xác, rút gọn vấn đề thành một trường hợp nhỏ, rồi viết issue dưới dạng Markdown. Agent không mở issue trừ khi người dùng yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Reproducible GitHub Issues

Use this workflow to turn a failure into a concise, actionable MLX-VLM issue. Do not open a GitHub issue unless the user explicitly asks; otherwise produce issue-ready Markdown.

Required Information

Collect or infer:

  • MLX-VLM version or git commit.
  • Install method: PyPI, editable checkout, branch, or wheel.
  • Python version, OS version, machine/chip, and whether MLX Metal or MLX CUDA is in use.
  • Exact model ID or local path.
  • Whether the model is from Hugging Face cache, a local conversion, or a custom checkpoint.
  • Exact uv run CLI command or server startup command.
  • Exact request body for server issues.
  • Input media facts: image dimensions, audio duration/sample rate, video duration/frame count, and whether the input can be shared.
  • Expected behavior, actual behavior, and full error/traceback.

Collect the Environment Automatically

Instead of hand-filling versions, run and paste the output into the Environment section:

uv run python - <<'PY'
import platform, mlx.core as mx
try:
    import mlx_vlm
    v = getattr(mlx_vlm, "__version__", "unknown")
except Exception as e:
    v = f"import failed: {e}"
print("mlx-vlm:", v)
print("mlx:", mx.__version__, "| default device:", mx.default_device())
print("python:", platform.python_version(), "| platform:", platform.platform())
PY

Repro Minimization

  1. Reduce to the smallest command or request that still fails.
  2. Remove private paths, tokens, and unrelated environment variables.
  3. Prefer curl over client SDKs for server repros.
  4. Prefer one image/audio/video file before multi-input repros.
  5. Use small public media or synthetic inputs when possible.
  6. State whether the bug reproduces with a public model or only a private/local checkpoint.

Issue Template

### Summary

<One sentence describing the failure.>

### Environment

- MLX-VLM:
- Python:
- OS:
- Hardware:
- Install method:

### Model

- Model:
- Source: <HF cache | local path | converted checkpoint>
- Trust remote code: <yes/no>

### Reproduction

```bash
uv run mlx_vlm.generate <args>
```

For server issues:

```bash
uv run mlx_vlm.server <args>
```

```bash
<curl request>
```

### Expected Behavior

<What should have happened.>

### Actual Behavior

<What happened instead.>

### Logs / Traceback

```text
<trimmed traceback or relevant logs>
```

### Inputs

<Describe attached or shareable inputs. Include dimensions/duration when relevant.>

Classification

  • CLI inference: use Skill("mlx-vlm-skills:cli-inference") if a repro command is still missing.
  • Server inference: use Skill("mlx-vlm-skills:server-inference") if a minimal request is still missing.
  • Model-specific failures: include config.json model_type, processor class, and whether the family has a README in mlx_vlm/models/.

Quality Bar

The issue is ready when a maintainer can run one command or one server command plus one request and see the same failure without asking for basic environment or model details.

Câu hỏi thường gặp

Agent có đăng issue thay tôi không?

Không. Skill nói không mở issue GitHub trừ khi người dùng yêu cầu rõ ràng.

Cần những thông tin môi trường nào?

Skill liệt kê phiên bản MLX-VLM, phiên bản Python và hệ điều hành, chip và ID model.

Vì sao phải rút gọn ví dụ?

Ví dụ nhỏ hơn giúp lỗi dễ tái hiện và dễ hiểu hơn.

Chi tiết

Mô tả gốc của tác giả

Use this skill when the user wants to create, improve, or triage a reproducible GitHub issue for MLX-VLM, including bug reports from CLI inference, server inference, model loading, processors, media inputs, dependency setup, crashes, wrong outputs, or performance regressions.

repo: Blaizzy/mlx-vlm

Độ phổ biến

Sao GitHub
5.7k
Vị trí xếp hạng
#14751
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự