fix(framework): replace hardcoded npx with a <runner> placeholder in skills
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, playwright, typescript
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Start with the three listed files: the Playwright CLI reference, the acceptance QA prerequisites, and the MCP installation recipe. Find each npx use, add the runner convention in each file, and update prerequisite detection to accept an available alternative runner. Validate using an alternative runner; done means no hardcoded npx remains in shipped skills and the QA flow produces its evidence videos.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary: Several shipped skills hardcode
npxin their commands; users on alternative Node runners (pnpx,bunx,nubx,pnpm dlx, …) cannot run them.
🌟 Objective / Problem
Skills under plugins/ invoke npx directly. On machines where npx is not installed — increasingly common with alternative Node toolchains — the affected skills fail. Example: 01-acceptance-qa requires resolving npx as a prerequisite, so the whole QA flow is blocked on such machines.
Affected locations (found by grepping the shipped plugins for npx):
plugins/aidd-qa/skills/01-acceptance-qa/references/interface-browser-playwright-cli.md— 6 occurrences, e.g.npx --yes @playwright/[email protected] -s=qa-<run-id> <command>plugins/aidd-qa/skills/01-acceptance-qa/actions/02-prerequisites.md— 2 occurrences (the check resolvesnpxand runsnpx --yes @playwright/[email protected] --version)plugins/aidd-context/skills/12-cook/assets/recipes/mcp-installation.md— 1 occurrence (npx playwright)
🛠️ Proposed Solution
- Replace every hardcoded
npxin skill content with a<runner>placeholder, meaning "any package runner:npx,pnpx,bunx,nubx,pnpm dlx, …". - State the convention once at the top of each affected file, e.g.:
<runner>is your package runner:npx,pnpx,bunx,nubx, … - In the
01-acceptance-qaprerequisites check, resolve whichever runner is available instead of requiringnpxspecifically.
🔍 Context / Technical Constraints (Optional)
- Out of scope: historical records under
aidd_docs/tasks/and the CLI install docs (cli/README.md), wherenpx @ai-driven-dev/cli@latest setupis the canonical npm install path.
🙏 QA
Validation must be done with an alternative package runner (
pnpx,bunx,nubx,pnpm dlx, …) — not with npm/npx.
- No hardcoded
npxremains in the shipped skills underplugins/ - Each file that uses
<runner>defines the placeholder once -
01-acceptance-qaprerequisites pass on a machine wherenpxis absent, resolving an alternative runner instead - The
01-acceptance-qaflow runs end to end through an alternative runner (pnpx,bunxornubx) and produces its evidence videos
- Ngôn ngữ chính
- TypeScript
- Star
- 481
- Fork
- 45
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 78
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ai-driven-dev/framework
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ai-driven-dev/framework#1050 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ai-driven-dev/framework#1035 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ai-driven-dev/framework#1002 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ai-driven-dev/framework#952 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ai-driven-dev/framework#887 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ai-driven-dev/framework
Issue tương tự
-
Object parameters lose their structure when resources is enabledCó thể đã có người làm @asts-top đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
jaegertracing/jaeger-ui#4618 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending close triaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
anomalyco/opencode#56765 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:plugins enhancement platform:vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
anthropics/claude-code#103166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Types: FlashListProps imports ViewabilityConfig from react-native, removed in RN 0.87+Có thể đã có người làm @efegokdemir đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Shopify/flash-list#2540 ·