npx skills add https://github.com/vercel-labs/autoship --skill autoship每次发布都遵循以下模式:
autoship add <name>(一次性设置)autoship <name>(交互式)或 autoship <name> -t patch -y(自动化)该工具处理完整的发布周期:
在使用 autoship 之前,请确保:
# GitHub CLI 必须已认证
gh auth login
# AI 功能的 API 密钥
export AI_GATEWAY_API_KEY="your-key"
# 一次性设置:添加一个仓库
autoship add myproject
# 提示输入:所有者、仓库名称、基础分支
# 列出已配置的仓库
autoship list
# 交互式发布(提示输入类型和消息)
autoship myproject
# 自动化发布(无提示)
autoship myproject -t patch -y
autoship myproject -t minor -y
autoship myproject -t major -y
# 使用自定义消息发布(跳过 AI 生成)
autoship myproject -t patch -m "修复登录错误" -y
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
autoship [repo] # 如果省略,则交互式选择仓库
-t, --type <type> # 发布类型:patch, minor, major
-m, --message <message> # 自定义变更集描述
-y, --yes # 跳过所有确认
-h, --help # 显示帮助
autoship myproject -t patch -y
autoship myproject
# 1. AI 分析自上次发布以来的提交
# 2. AI 建议发布类型(补丁/次要/主要)
# 3. 您确认或更改类型
# 4. AI 生成变更集描述
# 5. 您审核并批准
# 6. 工具处理 PR 的创建和合并
autoship myproject -t minor -m "新增认证提供商" -y
# 在 GitHub Actions 或 CI 流水线中
export AI_GATEWAY_API_KEY="${{ secrets.AI_GATEWAY_API_KEY }}"
npx autoship myproject -t patch -y
autoship 提供清晰的逐步输出:
[1/10] 正在从 main 分支克隆仓库...
> 仓库已克隆
> 包:my-package @ 1.2.3
[2/10] 正在创建发布分支...
> 分支已创建:release/patch-1706123456789
[3/10] 正在生成变更集...
> 变更集已创建:fluffy-pants-dance.md
...
发布完成!
补丁版本已发布。
配置存储在 ~/.autoship/config.json:
{
"repos": {
"myproject": {
"owner": "vercel-labs",
"repo": "myproject",
"baseBranch": "main",
"cloneUrl": "https://github.com/vercel-labs/myproject.git"
}
}
}
| 参考文档 | 何时使用 |
|---|---|
| references/commands.md | 包含所有选项的完整命令参考 |
| references/configuration.md | 配置文件格式和仓库设置 |
| references/ci-integration.md | GitHub Actions 和 CI/CD 设置 |
| 模板 | 描述 |
|---|---|
| templates/automated-release.sh | 全自动发布脚本 |
| templates/setup-repo.sh | 非交互式仓库设置 |
./templates/automated-release.sh myproject patch
./templates/setup-repo.sh myproject vercel-labs myproject main
首先运行 autoship add <name> 来配置一个仓库。
检查 autoship list 以查看可用仓库。名称区分大小写。
工具将显示哪些检查失败。在目标仓库中修复问题,然后重试。
如果 AI 失败,autoship 将回退到手动输入。请确保已设置 AI_GATEWAY_API_KEY。
每周安装量
135
仓库
GitHub 星标数
151
首次出现
2026年2月3日
安全审计
安装于
codex125
opencode120
gemini-cli118
github-copilot117
amp114
kimi-cli113
Every release follows this pattern:
autoship add <name> (one-time setup)autoship <name> (interactive) or autoship <name> -t patch -y (automated)The tool handles the complete release cycle:
Before using autoship, ensure:
# GitHub CLI must be authenticated
gh auth login
# API key for AI features
export AI_GATEWAY_API_KEY="your-key"
# One-time setup: add a repository
autoship add myproject
# Prompts for: owner, repo name, base branch
# List configured repositories
autoship list
# Interactive release (prompts for type and message)
autoship myproject
# Automated release (no prompts)
autoship myproject -t patch -y
autoship myproject -t minor -y
autoship myproject -t major -y
# Release with custom message (skips AI generation)
autoship myproject -t patch -m "Fixed login bug" -y
autoship [repo] # Interactive repo selection if omitted
-t, --type <type> # Release type: patch, minor, major
-m, --message <message> # Custom changeset description
-y, --yes # Skip all confirmations
-h, --help # Show help
autoship myproject -t patch -y
autoship myproject
# 1. AI analyzes commits since last release
# 2. AI suggests release type (patch/minor/major)
# 3. You confirm or change the type
# 4. AI generates changeset description
# 5. You review and approve
# 6. Tool handles PR creation and merging
autoship myproject -t minor -m "Added new authentication providers" -y
# In GitHub Actions or CI pipeline
export AI_GATEWAY_API_KEY="${{ secrets.AI_GATEWAY_API_KEY }}"
npx autoship myproject -t patch -y
autoship provides clear step-by-step output:
[1/10] Cloning repository from main...
> Repository cloned
> Package: my-package @ 1.2.3
[2/10] Creating release branch...
> Branch created: release/patch-1706123456789
[3/10] Generating changeset...
> Changeset created: fluffy-pants-dance.md
...
Release Complete!
The patch release has been published.
Config is stored at ~/.autoship/config.json:
{
"repos": {
"myproject": {
"owner": "vercel-labs",
"repo": "myproject",
"baseBranch": "main",
"cloneUrl": "https://github.com/vercel-labs/myproject.git"
}
}
}
| Reference | When to Use |
|---|---|
| references/commands.md | Full command reference with all options |
| references/configuration.md | Config file format and repository setup |
| references/ci-integration.md | GitHub Actions and CI/CD setup |
| Template | Description |
|---|---|
| templates/automated-release.sh | Fully automated release script |
| templates/setup-repo.sh | Non-interactive repository setup |
./templates/automated-release.sh myproject patch
./templates/setup-repo.sh myproject vercel-labs myproject main
Run autoship add <name> to configure a repository first.
Check autoship list for available repos. The name is case-sensitive.
The tool will show which checks failed. Fix the issues in the target repository, then retry.
If AI fails, autoship falls back to manual input. Ensure AI_GATEWAY_API_KEY is set.
Weekly Installs
135
Repository
GitHub Stars
151
First Seen
Feb 3, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex125
opencode120
gemini-cli118
github-copilot117
amp114
kimi-cli113
ln-724-artifact-cleaner:自动清理在线平台项目产物,移除平台依赖,准备生产部署
134 周安装
ASP.NET Core 开发指南:Web API、身份验证、中间件与性能优化实战
134 周安装
agent-browser 浏览器自动化工具 - 快速网页交互与测试命令行工具
134 周安装
find-skills技能:AI智能体技能搜索与安装工具,扩展Claude能力
134 周安装
Azure Functions 最佳实践指南:独立工作进程、Node.js/Python 编程模型与反模式详解
134 周安装
gentle-teaching 温和教学框架:AI辅助学习指南,培养独立解决问题能力
134 周安装