Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

fix(framework): replace hardcoded npx with a <runner> placeholder in skills

未关闭
#1,044 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
node.js, playwright, typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

Summary: Several shipped skills hardcode npx in 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 resolves npx and runs npx --yes @playwright/[email protected] --version)
  • plugins/aidd-context/skills/12-cook/assets/recipes/mcp-installation.md — 1 occurrence (npx playwright)

🛠️ Proposed Solution

  1. Replace every hardcoded npx in skill content with a <runner> placeholder, meaning "any package runner: npx, pnpx, bunx, nubx, pnpm dlx, …".
  2. State the convention once at the top of each affected file, e.g.: <runner> is your package runner: npx, pnpx, bunx, nubx, …
  3. In the 01-acceptance-qa prerequisites check, resolve whichever runner is available instead of requiring npx specifically.

🔍 Context / Technical Constraints (Optional)

  • Out of scope: historical records under aidd_docs/tasks/ and the CLI install docs (cli/README.md), where npx @ai-driven-dev/cli@latest setup is 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 npx remains in the shipped skills under plugins/
  • Each file that uses <runner> defines the placeholder once
  • 01-acceptance-qa prerequisites pass on a machine where npx is absent, resolving an alternative runner instead
  • The 01-acceptance-qa flow runs end to end through an alternative runner (pnpx, bunx or nubx) and produces its evidence videos
主要语言
TypeScript
星标
481
派生
45
平均合并
1 天 13 小时
30 天内合并 PR
77

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ai-driven-dev/framework 的其他 Issue

查看 ai-driven-dev/framework 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。