chore(infra): integrate skills-package-manager via prepare script#7565
chore(infra): integrate skills-package-manager via prepare script#7565SoonIter wants to merge 6 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request integrates skills-package-manager into the project by adding it as a development dependency, initializing its configuration and lock files, and updating the .gitignore to exclude the skills installation directory. The prepare script in package.json was also updated to automatically run the skills installation. Feedback was provided regarding the potential for the prepare script to fail in production or restricted environments where dev dependencies are missing or the registry is unreachable, suggesting a more resilient implementation for the installation step.
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Integrates skills-package-manager into the repo so agent skills are installed/synced automatically via the root prepare script during pnpm install.
Changes:
- Add
skills-package-manager@0.9.0and runskills-package-manager installinprepare. - Introduce
skills.jsonandskills-lock.yamlto define and lock skill sources. - Ignore generated
.agents/skills/output in.gitignore.
Reviewed changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| skills.json | Adds the skills manifest (schema, install directory, and linked skills). |
| skills-lock.yaml | Adds a lockfile capturing resolved skill sources (link resolutions). |
| package.json | Installs skills during prepare and adds the tool as a dev dependency. |
| .gitignore | Prevents generated .agents/skills/ content from being committed. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3a10697 to
e819c1e
Compare
## Summary - Add `local:` skill specifiers for existing user-owned skill directories. - Install `local:` skills in place without copying, replacing, patching, or pruning their source directories. - Link agent targets directly to the local source directory and maintain `.gitignore` unignore rules for repo-local skills. - Update tests, docs, and the bundled `skills-package-manager-cli` guidance. ## Related Links web-infra-dev/rsbuild#7565 <!-- Provide links to related issues, discussions, or design notes --> ## Checklist <!-- Check and mark with an "x" --> - [x] Tests updated (or not required). - [x] Documentation updated (or not required). Testing: - `pnpm build` - `pnpm test` - `pnpm build:website` - `pnpm check` (passes with existing warnings)
5bc0a08 to
91628ea
Compare
9ead4b8 to
58d649d
Compare
58d649d to
f4b230a
Compare
f4b230a to
b2edd05
Compare
d68056c to
bbad270
Compare
b718034 to
35fa2b7
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
35fa2b7 to
9b35f23
Compare
Summary
Validation:
Latest correction recheck:
Related Links
None