bump-deps by casper-studios/casper-marketplace
npx skills add https://github.com/casper-studios/casper-marketplace --skill bump-deps广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Task(
subagent_type="package-upgrade-analyzer",
run_in_background=true,
prompt="Analyze upgrade for {package_name} from {old_version} to {new_version}. GitHub: {repo_url}"
)
重要的升级包括:
* 主版本号升级(例如,v4 → v5)
* 已知有破坏性变更的包
* 核心依赖项(React、Next.js、FastAPI、SQLAlchemy 等)
在一个包含多个工具调用的单一消息中生成所有任务,以实现最大并行度。
等待所有后台任务完成:
TaskOutput 从每个后台任务检索结果Plan 工具及其子代理来策略性地处理破坏性变更提出澄清性问题:
生成 PR 摘要文档:
使用 PR 模板 编写一个 .claude/scratchpad/PR.md 文件。确保所有包标识符都正确用反引号包裹以提高可读性。
生成 .claude/scratchpad/PR.md 后,使用 AskUserQuestion 进行确认:
AskUserQuestion(
question="Ready to create the PR? You can edit .claude/scratchpad/PR.md first if needed.",
header="Create PR?",
options=[
{ label: "Create PR", description: "Create the PR with current PR.md content" },
{ label: "Let me edit first", description: "I'll edit PR.md and confirm when ready" }
]
)
一旦用户确认,推导出 PR_TITLE 并创建 PR:
推导 PR_TITLE:
1. **范围**:前端使用 `app`(pnpm),后端使用 `api`(uv)
2. **内容**(选择第一个适用的):
* **≤3 个重要包**:按名称列出它们及其目标主版本 → "deps(app): bump `react-query` to v5, `next` to v15"
* **> 3 个包且包含重要包**:突出显示 1-2 个重要包 + 数量 → "deps(api): bump `sqlalchemy` to v2 (+4 packages)"
* **仅有许多次要版本升级**:仅显示数量 → "deps(app): bump 12 dependencies"
3. **保持在 72 个字符以内**
PR_TITLE="deps(app): bump react-query to v5, next to v15"
gh pr create --base dev --head "$(git rev-parse --abbrev-ref HEAD)" --title "$PR_TITLE" --body-file .claude/scratchpad/PR.md
成功创建 PR 后:
# 清理暂存文件
rm .claude/scratchpad/PR.md
将 PR URL 返回给用户。
其余说明为用户的行为覆盖。
$ARGUMENTS
每周安装次数
128
仓库
GitHub 星标数
9
首次出现
2026年2月18日
安全审计
安装于
opencode128
codex128
cursor128
claude-code127
windsurf125
github-copilot123
Analyze outdated dependencies and safely upgrade them with breaking change detection.
Detect package manager based on current directory:
frontend/ directory or working with TypeScript/JavaScript: use pnpm referencebackend/ directory or working with Python: use uv referenceList outdated dependencies using the package manager-specific command from the reference
Spawn background analysis tasks for EACH notable upgrade:
CRITICAL : You MUST spawn the package-upgrade-analyzer sub-agent as a background Task for EACH and EVERY notable upgrade. Do NOT take shortcuts.
Task(
subagent_type="package-upgrade-analyzer",
run_in_background=true,
prompt="Analyze upgrade for {package_name} from {old_version} to {new_version}. GitHub: {repo_url}"
)
Notable upgrades include:
* Major version bumps (e.g., v4 → v5)
* Packages with known breaking changes
* Core dependencies (React, Next.js, FastAPI, SQLAlchemy, etc.)
Spawn ALL tasks in a single message with multiple tool calls for maximum parallelism.
Wait for all background tasks to complete:
TaskOutput to retrieve results from each background taskPlan tool and its sub-agents to strategically address the breaking changesAsk clarifying questions:
Generate PR summary document:
Write a .claude/scratchpad/PR.md file using the PR template. Ensure that all package identifiers are properly wrapped in backticks for readability.
After generating .claude/scratchpad/PR.md, use AskUserQuestion to confirm:
AskUserQuestion(
question="Ready to create the PR? You can edit .claude/scratchpad/PR.md first if needed.",
header="Create PR?",
options=[
{ label: "Create PR", description: "Create the PR with current PR.md content" },
{ label: "Let me edit first", description: "I'll edit PR.md and confirm when ready" }
]
)
Once the user confirms, derive PR_TITLE and create the PR:
DerivingPR_TITLE:
1. **Scope** : Use `app` for frontend (pnpm), `api` for backend (uv)
2. **Content** (pick first applicable):
* **≤3 notable packages** : List them by name with target major version → "deps(app): bump `react-query` to v5, `next` to v15"
* **> 3 packages with notable ones**: Highlight 1-2 notable + count → "deps(api): bump `sqlalchemy` to v2 (+4 packages)"
* **Many minor bumps only** : Just the count → "deps(app): bump 12 dependencies"
3. **Keep under 72 characters**
PR_TITLE="deps(app): bump react-query to v5, next to v15"
gh pr create --base dev --head "$(git rev-parse --abbrev-ref HEAD)" --title "$PR_TITLE" --body-file .claude/scratchpad/PR.md
After successful PR creation:
# Clean up the scratchpad file
rm .claude/scratchpad/PR.md
Return the PR URL to the user.
The remaining instructions are behavior overrides by the user.
$ARGUMENTS
Weekly Installs
128
Repository
GitHub Stars
9
First Seen
Feb 18, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode128
codex128
cursor128
claude-code127
windsurf125
github-copilot123
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
155,300 周安装