fix(framework): replace hardcoded npx with a <runner> placeholder in skills
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 78/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- node.js, playwright, typescript
- Domaine
- developer-experience, tooling
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 481
- Forks
- 45
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 86
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ai-driven-dev/framework
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
ai-driven-dev/framework#1035 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ai-driven-dev/framework#1002 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
ai-driven-dev/framework#952 ·
Les mainteneurs répondent en général sous 1 jour
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
ai-driven-dev/framework#887 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
ai-driven-dev/framework#1070 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de ai-driven-dev/framework
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
paperclipai/paperclip#17151 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
AgoraIO-Extensions/agent-infra#3159 ·
Les mainteneurs répondent en général sous 1 jour
-
blocklist addition
Difficulté 1/5 Moins d'une heure Accessibilité débutants 66/100
MetaMask/eth-phishing-detect#304596 ·
Les mainteneurs répondent en général sous 1 jour
-
friction
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
kentcdodds/kody#4142 ·
-
[Bug] Statistics | Task statistics are always empty on MikroORM with MySQL or SQLitePeut-être pris @NdekoCode l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
ever-co/ever-gauzy#11214 ·
Les mainteneurs répondent en général sous 1 jour