feat(M2): Documentation flow, accuracy, consistency cleanup, and cross-platform shell portability
This commit is contained in:
+13
-4
@@ -9,7 +9,8 @@ The Pi support surface has two layers:
|
||||
- editable source variants in `skills/<family>/pi/`
|
||||
- a package-facing mirror in `pi-package/skills/<skill>/`
|
||||
|
||||
That split is intentional. Pi requires the immediate parent directory of `SKILL.md` to match the skill's frontmatter `name`, so the package cannot point directly at `skills/<family>/pi/`.
|
||||
That split is intentional. Pi requires the immediate parent directory of `SKILL.md` to match the
|
||||
skill's frontmatter `name`, so the package cannot point directly at `skills/<family>/pi/`.
|
||||
|
||||
Related docs:
|
||||
|
||||
@@ -92,7 +93,11 @@ That script:
|
||||
- fetches the CloakBrowser binary for `web-automation`
|
||||
- prints `pi list` at the end so the active install is visible immediately
|
||||
|
||||
For this cloned-checkout flow, local checkout package install keeps the runtime in `pi-package/skills/<skill>/scripts`. Pi loads the skills from the package mirror in this repo; it does not copy them into `~/.pi/agent/skills/<skill>/` or `.pi/skills/<skill>/` unless you do a manual copy install.
|
||||
For this cloned-checkout flow,
|
||||
local checkout package install keeps the runtime in `pi-package/skills/<skill>/scripts`.
|
||||
Pi loads the skills from the package mirror in this repo;
|
||||
it does not copy them into `~/.pi/agent/skills/<skill>/` or `.pi/skills/<skill>/`
|
||||
unless you do a manual copy install.
|
||||
|
||||
The package surface intentionally ships:
|
||||
|
||||
@@ -110,7 +115,8 @@ It intentionally does not ship `skills/<family>/pi/**` as package-discovered ski
|
||||
|
||||
## Single-Skill Copy Install
|
||||
|
||||
If you only want one Pi skill without installing the whole package, copy from the package-facing mirror into a Pi skill root:
|
||||
If you only want one Pi skill without installing the whole package, copy from the package-facing
|
||||
mirror into a Pi skill root:
|
||||
|
||||
```bash
|
||||
mkdir -p .pi/skills/create-plan
|
||||
@@ -130,7 +136,10 @@ npm run verify:reviewers
|
||||
npm pack --dry-run --json
|
||||
```
|
||||
|
||||
The focused `scripts/install-pi-package.sh` installer intentionally does not run sync. It assumes the checked-in `pi-package/skills/*` mirror is already current. The multi-client skill manager plans a sync step before manual Pi skill-copy operations so manual installs use the current package-facing mirror.
|
||||
The focused `scripts/install-pi-package.sh` installer intentionally does not run sync. It assumes
|
||||
the checked-in `pi-package/skills/*` mirror is already current. The multi-client skill manager
|
||||
plans a sync step before manual Pi skill-copy operations so manual installs use the current
|
||||
package-facing mirror.
|
||||
|
||||
The verifier is responsible for catching:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user