Skip to content

Commit d3b0e9b

Browse files
priyanshu92Copilot
andcommitted
address PR review feedback
Addressed review comments: - Change the create-site plan render command fence from powershell to bash. - Replace the PowerShell-only Start-Process browser-opening example with shell-neutral guidance. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3e02f91 commit d3b0e9b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • plugins/power-pages/skills/create-site

plugins/power-pages/skills/create-site/SKILL.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Assemble a single JSON object with the following keys. The plan template rejects
308308

309309
Pick an output path under `<PROJECT_ROOT>/docs/`. Default is `create-site-plan.html`; if that file already exists, pick a descriptive variant like `create-site-plan-v2.html` (the render script refuses to overwrite existing files).
310310

311-
```powershell
311+
```bash
312312
node "${CLAUDE_PLUGIN_ROOT}/scripts/render-createsite-plan.js" --output "<PROJECT_ROOT>/docs/create-site-plan.html" --data-inline '<json-string>'
313313
```
314314

@@ -318,11 +318,7 @@ The script prints `{"status":"ok","output":"<path>"}` on success. Capture and us
318318

319319
### 4.4 Open the Plan in the Default Browser
320320

321-
Use the platform-appropriate command for the current shell:
322-
323-
- macOS (`Bash`): `open "<OUTPUT_PATH>"`
324-
- Linux (`Bash`): `xdg-open "<OUTPUT_PATH>"`
325-
- Windows (`PowerShell`): `Start-Process "<OUTPUT_PATH>"`
321+
Open `<OUTPUT_PATH>` in the default browser using the platform-appropriate file opener for the current environment. For example, use `open` on macOS, `xdg-open` on Linux, or the equivalent default-browser opener available on Windows.
326322

327323
### 4.5 Present a Brief Summary in the Terminal
328324

0 commit comments

Comments
 (0)