`use-shopify-cli` skill still uses deprecated `--yes` flag for `app security check`

Đang mở Phù hợp với người mới
#72 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
90/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
devtools, documentation

Hướng nghiên cứu

Mở skills/shopify/references/use-shopify-cli.md và tìm phần “App Security review”. Thay flag đã lỗi thời --yes bằng --print-instructions trong lệnh được ghi lại. Hoàn tất khi phần này dùng flag mới và yêu cầu agent làm theo các hướng dẫn của flag đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Where
skills/shopify/references/use-shopify-cli.md, "App Security review" section (line 115 at a3d20f8):

If the user asks for a security review of their app, run shopify app security check --yes and follow all of its instructions.

Problem
In @shopify/app 5.0.0 (shipped in @shopify/cli 5.0.0, currently latest on npm), --yes was deprecated in favour of --print-instructions:

62d961a: Improve app security check accuracy and safely scan untrusted repositories; add --print-instructions, deprecate --yes, …

--yes still works as an alias today, but the skill is the main entry point that agents use for this workflow. It will break silently for every agent when the alias is removed.

Suggested fix
Replace --yes with --print-instructions:

If the user asks for a security review of their app, run `shopify app security check --print-instructions` and follow all of its instructions.
Ngôn ngữ chính
JavaScript
Star
652
Fork
88
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Shopify/Shopify-AI-Toolkit

Tất cả issue của Shopify/Shopify-AI-Toolkit

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.