Skip to content

Commit 84df2f4

Browse files
authored
add instructions for npx.cmd on windows (#823)
1 parent dc78881 commit 84df2f4

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

guides/modern-web-guidance/SKILL.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,17 @@ npx -y modern-web-guidance@latest retrieve "<id>"
6969
**Example Output**:
7070
`The markdown content of the guide describing implementation steps...`
7171

72+
## Using npx
73+
74+
- IMPORTANT: on Windows, using `npx` may fail. Use `npx.cmd ...` instead.
75+
- Network access is required for fetching npm packages needed by the task.
76+
- If the `npx -y modern-web-guidance…` command hangs, you may be offline. Try running again in offline
77+
mode: `npx --offline …`.
78+
- The `--skill-version` flag is used to determine if this SKILL.md is out of date. If it is, a warning
79+
message is logged to stderr.
80+
7281
## Guidelines
7382

7483
- Always search **first** to find the most specific design/performance patterns.
7584
- These guides are usually framework-agnostic; adapt them correctly to your setup.
7685
- Do not hallucinate guides or ignore them; they represent the preferred local standard for the user's project.
77-
- Note: if the `npx -y modern-web-guidance…` command hangs, try running again in offline mode: `npx --offline …`
78-
- Note: the `--skill-version` flag is used to determine if this SKILL.md is out of date. If it is, a warning message
79-
is logged to stderr.

0 commit comments

Comments
 (0)