用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-sync-1-synchronize-package-dependencies命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-sync-1-synchronize-package-dependencies |
| description | Sub-skill of github-sync: 1. Synchronize Package Dependencies (+4). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
# Read current package states
REPO1_PKG=$(gh api repos/org/repo1/contents/package.json --jq '.content' | base64 -d)
REPO2_PKG=$(gh api repos/org/repo2/contents/package.json --jq '.content' | base64 -d)
# Create synchronization branch
gh api repos/org/repo1/git/refs \
-f ref='refs/heads/sync/deps-alignment' \
-f sha=$(gh api repos/org/repo1/git/refs/heads/main --jq '.object.sha')
*See sub-skills for full details.*
## 2. Documentation Synchronization
```bash
# Get source documentation
SOURCE_DOC=$(gh api repos/org/primary-repo/contents/AGENTS.md --jq '.content' | base64 -d)
# Create sync branch on target repo
gh api repos/org/secondary-repo/git/refs \
-f ref='refs/heads/sync/documentation' \
-f sha=$(gh api repos/org/secondary-repo/git/refs/heads/main --jq '.object.sha')
# Update target documentation
*See sub-skills for full details.*
## 3. Cross-Package Feature Integration
```bash
# Push multiple files to feature branch
gh api repos/org/monorepo/contents/package-a/src/feature.js \
--method PUT \
-f message="feat: Add cross-package feature" \
-f branch="feature/cross-package" \
-f content="$(cat feature-a.js | base64)"
gh api repos/org/monorepo/contents/package-b/src/integration.js \
--method PUT \
*See sub-skills for full details.*
## Changes
- package-a: Core feature implementation
- package-b: Integration hooks
## Testing
- [x] Package dependency verification
- [x] Integration test suite
- [x] Cross-package compatibility"