fix(framework): replace hardcoded npx with a <runner> placeholder in skills
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 78/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, playwright, typescript
- Bereich
- developer-experience, tooling
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 481
- Forks
- 45
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 77
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ai-driven-dev/framework
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
ai-driven-dev/framework#1002 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feat(aidd-dev/test): enforce test effectiveness and test-double disciplineEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
ai-driven-dev/framework#952 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
ai-driven-dev/framework#887 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 64/100
ai-driven-dev/framework#1084 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
ai-driven-dev/framework#1081 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ai-driven-dev/framework
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
awslabs/visual-asset-management-system#804 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure/apiops-cli#331 ·
Maintainer antworten meist innerhalb von 3 Tagen