fast-ship
通过 Fast Ship REST API 完成 Issue 的创建、更新与查询。支持 API Key 认证,适用于自动化场景和 Agent 集成。请求体、查询参数和错误码以 references/api.md 为准。
Skill by gitbobobo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gitbobobo-fast-ship
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/fast-ship
What's inside
- Skill name
fast-ship- Description
- 通过 Fast Ship REST API 完成 Issue 的创建、更新与查询。支持 API Key 认证,适用于自动化场景和 Agent 集成。请求体、查询参数和错误码以 references/api.md 为准。
- License
- MIT
- Instructions
- 196 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (3)
- SKILL.md
- api.md · references/
- fast-ship-api.mjs · scripts/
SKILL.md (first lines)
# Fast Ship API
| 想做什么 | 实际调用 |
|---|---|
| 在 issue 上留言/发评论/写完成总结 | `PUT /api/issues/:iid/collab/summary`(API Key 发评论必 40301) |
| 标记完成 | `PUT /api/issues/:iid/internal-meta` 置 `workflow_status=done`(不是 `state`) |
| 关闭 issue | 不可——仅 JWT,API Key 传 `state` 必 40301 |
| 开始做了 | `PUT /api/issues/:iid/internal-meta` 置 `in_progress` |
| 记录共识/决策 | `PUT /api/issues/:iid/collab/consensus` |
| 按 `INT-xxx` 找 issue | `GET /api/projects/:pid/issues?q=INT-56` 换 UUID(路径参数只认 UUID) |
| 查 Fast Ship 自身日志 | `GET /api/self-logs`(列表)、`/aggregate`、`/trace`(`request_id` 或 `run_id` 二选一);与项目日志 `/projects/:id/logs` 无关;fsr_ 令牌 40301 |
| 把 PR 挂到 issue | `POST /api/issues/:iid/pull-requests`,body `{"url":"<PR链接>"}` |
| 刷新 PR 状态 | `POST /api/issues/:iid/pull-requests/sync`(合并后调,逐行失败看 `failures[]`) |
| 摘掉某个 PR | `DELETE /api/issues/:iid/pull-requests/:lid`(`:lid` 是关联行 id,即 api.md 里的 `{id}`) |
**调用任何写接口前先读 `references/api.md` 对应小节,不要凭记忆构造请求体。**
## Fast Ship 附加块(提示词尾部的引用块)
Fast Ship「启动线程」生成的提示词 = 用户模板正文 + 结尾的 `>` 引用块。看到引用块里带
`项目ID` / `问题ID`,就按这两个 ID 用技能查询并处理该问题,不需要再追问是哪条 issue:
```
> 以下信息由 Fast Ship 附加。请使用 fast-ship 技能查询并处理该问题。
> 若当前环境未安装 fast-ship 技能,先征得用户同意,再执行:
> `npx skills add https://github.com/gitbobobo/fast_ship --skill fast-ship`
> 项目ID:<project_id>
> 问题ID:<issue_id>
> 推荐理由:<reason> ← 可能出现
```
当前环境未安装本技能时,先征得用户同意,再执行 `npx skills add https://github.com/gitbobobo/fast_ship --skill fast-ship`。
## T3 绑定(Agent 辅助配置)
Fast Ship 项目与 T3 项目是显式绑定,Agent 可辅助完成「发现 → 比对 → 绑定」:
1. `GET /api/environments/t3-projects`:列出各环境及其 T3 项目(含 `workspace_root`)。
2. 用自身仓库路径比对各项目的 `workspace_root`,确定自己对应哪个 T3 项目。
3. `PUT /api/projects/{id}/t3-bindings/{environmentId}`,body `{"t3_project_id":"..."}` 完成绑定;解绑用 `DELETE` 同路径。
这四个接口是对 API Key 开放的 T3 只读面(不含凭证、不含线程内容);线程相关端点仍仅 JWT。字段细节见 `references/api.md`。
上表的 `:pid` 在 api.md 里是 `{id}`,`:iid` 是 `{iid}`;`:lid` 是 PR 关联行 id(api.md 里 `pull-requests` 路径下的 `{id}`)。
## 认证配置
Fast Ship 使用 **API Key** 进行程序化认证。Key 格式为 `fsk_` 开头的随机字符串。
### 请求方式(硬性规则)
- **禁止**把 API Key 读出来写进命令、参数、环境变量赋值或任何输出——`curl -H "Authorization: Bearer fsk_..."` 这类写法会把 Key 留在会话记录和进程列表里。
- 所有请求一律走技能自带脚本。脚本自行读取 config 并附加认证头,Key 不出现在命令行:
```bash
node <技能目录>/scripts/fast-ship-api.mjs <METHOD> <path> [body.json] [--verify [读回路径]]
```
- 需要请求体时,把 JSON 写成 UTF-8 文件,以 `body.json` 位置参数传入。
- `--verify [读回路径]`:写请求成功(2xx)后再发一次 GET,输出 `{ "response": …, "verify": … }`,用于写后读回校验。缺省对同一路径 GET;没有对应 GET 路由的写端点(如 `internal-meta`、`recommendation`、`collab` 的 PUT;批量 `PUT /api/issues/internal-meta` 的缺省读回会命中 `GET /issues/:iid` 而 404)必须显式给出读回路径(如对 Issue 本身 `GET /api/issues/:iid`)。对 DELETE,读回 404 视为确认删除。
- 脚本不可用时的兜底:把 `Authorization: Bearer <api_key>` 整行写入临时头文件,用 `curl -H @<header文件>` 引用,用完**立即删除**该文件。
### 首次使用(配置持久化)
如果 `~/.config/fast-ship/config.yaml` 不存在,**必须**向用户询问以下信息:
1. **Base URL**:Fast Ship 服务地址,例如 `http://localhost:8080` 或 `https://fast-ship.example.com`
2. **API Key**:从 Fast Ship Web 界面「设置 → API Key」创建的密钥(`fsk_` 开头)
然后将配置写入文件:
```yaml
# ~/.config/fast-ship/config.yaml
base_url: "https://fast-ship.example.com"
api_key: "fsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```
> 注意:`~/.config` 目录在 macOS/Linux 上通常已存在;如果不存在,请先创建目录。
### 后续使用
脚本会自行读取 `~/.config/fast-ship/config.yaml` 中的 `base_url` 和 `api_key`,**不再询问用户**。Agent **不要**把 Key 读出来写进命令或输出。
### 请求头
脚本自动为所有请求携带以下请求头(无需手工添加):
```
Authorization: Bearer <api_key>
Content-Type: application/json; charset=utf-8
```
## 核心工作流
未说明来源时创建 `source: "internal"`。只有用户明确要求同步 GitHub 时才用 `source: "github"`。API Key 只能建 internal。
字段一律见 `references/api.md`,这里只留端点。
1. `GET /api/projects`,确定 `project_id`。
2. 打标前先 `GET /api/projects/{id}/issues/repo-labels`。项目没配 GitHub 仓库或标签为空时,改 `GET /api/projects/{id}/issues/filter-options`。
3. `POST /api/projects/{id}/issues` 创建。后续路径只用响应里的 `id`(UUID)。给用户的页面是 `{base_url}/projects/{project_id}/issues/{id}`。
4. 要打标就 `PUT /api/issues/{iid}`,标签名必须已经存在。不要靠创建请求里的 `workflow_status` 推进进度。
5. 推进用 `PUT /api/issues/{iid}/internal-meta`,值为 `todo`、`in_progress` 或 `done`。
6. 查一条用 `GET /api/issues/{iid}`。列表用 `GET /api/projects/{id}/issues`。
## 截图标注(AI 评审闭环)
截图页画布上的矩形框选标注挂在**具体截图**上,供人/AI 交换评审意见。API Key 可读全部标注、拉裁剪图、标为已解决;不能创建/删除标注或批量处理(40301),改文字/关联 Issue/重开也要 JWT。
- 列表:`GET /api/projects/{id}/screenshot-annotations` → `{items:[...]}`,query 可按 `status`(open/resolved)、`outdated`(true/false)、`issue_id`、`screen_id`、`platform`/`locale`/`theme`(逗号多值,`__none__` = 未标注桶)过滤。
- Issue 维度:`GET /api/issues/{iid}` 的 `screenshot_annotations[]` 内嵌关联到该 Issue 的标注(无则缺省)。
- 每条标注带:`image_url`(所在截图原图)、`crop_url`(框选区域裁剪图,PNG,四周带外边距)、比例坐标 `x/y/width/height`(0~1)、像素坐标 `pixel_rect`(尺寸未知时为 null)、`screen_key`/`screen_title`/`screen_platform`/`screen_locale`/`screen_theme`、`outdated`(截图被覆盖更新后待确认)、`status`。
- `crop_url`/`image_url` 是 `<img>` 直链路径:脚本调用带 Authorization 头即可,Web 端 `<img>` 才需要 `?token=<jwt>`。
- 标已解决:`PUT /api/screenshot-annotations/{aid}`,body 整包只传 `{"status":"resolved"}`——带其他字段或 `open` 会被 40301。
- 原图超过解码像素上限(约 64MP)时 crop 返回 40004(`尺寸超出可处理范围`),此时用 `image_url` 拉原图自行缩放。
AI 评审闭环(字段细节见 api.md screenshots 章):
1. `GET /api/issues/{iid}` 读 `screenshot_annotations`,或按维度过滤 + `status=open` 拉项目标注。From gitbobobo/skills, MIT.
More from gitbobobo/skills
- 0.570score
code-review-panel
gitbobobo
Before pushing a non-trivial change, spawn read-only subagents on two different model families to adversarially review the same diff in parallel, then merge…
SkillAFreshness: AClaude Code +9 - 0.564score
t3-orchestrator
gitbobobo
T3 Code 多 harness 编排:route.mjs 裁决 harness/模型,delegate_task 派活、验收,限流/额度/过载自动换路续跑。仅限用户或技能点名时调用。
SkillAFreshness: AClaude Code +9 - 0.564score
git-prefs
gitbobobo
git 操作偏好:可审计提交、rebase 同步远程、删除当前工作树(清空内容、保留目录壳)。提交、同步、用户要求删除当前工作树时使用;删除仅限用户明确要求。
SkillAFreshness: AClaude Code +9 - 0.564score
setup-env
gitbobobo
统一设置本机各 agent harness 的全局代理规则并做环境体检。新设备初始化、全局约定变更后重同步时使用。仅限用户主动调用。
SkillAFreshness: AClaude Code +9 - 0.563score
t3-code
gitbobobo
本机 T3 Code 运行状态的内部知识:状态数据库布局、会话记录查询方法、delegate_task 编排与 ACP 通道要点。分析 T3 会话、做复盘、排查编排或额度问题时使用;监听 PR 审查或等子任务前先读「监听与唤醒」;收尾回收孤儿工作树跑 scripts/t3-worktree-gc.mjs。
SkillAFreshness: AClaude Code +9 - 0.558score
uiv
gitbobobo
把截图、录屏等图片和视频上传到 UIV,拿到公开链接和可直接粘贴的 Markdown。用于在 PR 描述、评论、issue 中展示端到端验证成果。
SkillAFreshness: AClaude Code +9 - 0.558score
pr-review-loop
gitbobobo
PR 推送并请求复审后,持续跟进审查 bot 与 CI;同一子系统连续三轮仍有需修复意见时先做方向审计,方向有分歧时咨询用户。
SkillAFreshness: AClaude Code +9 - 0.558score
pr-finish
gitbobobo
PR 收尾:整合目标分支并解决冲突、清理基线既有问题、合并 PR、交接后续工作、关闭关联问题、回收工作树与分支。仅限用户主动调用。
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
gitbobobo
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.541score
create-verification-skill
gitbobobo
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
gitbobobo
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.539score
blast-radius
gitbobobo
Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/gitbobobo/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gitbobobo
- 0.570score
code-review-panel
gitbobobo
Before pushing a non-trivial change, spawn read-only subagents on two different model families to adversarially review the same diff in parallel, then merge…
SkillAFreshness: AClaude Code +9 - 0.564score
setup-env
gitbobobo
统一设置本机各 agent harness 的全局代理规则并做环境体检。新设备初始化、全局约定变更后重同步时使用。仅限用户主动调用。
SkillAFreshness: AClaude Code +9 - 0.564score
t3-orchestrator
gitbobobo
T3 Code 多 harness 编排:route.mjs 裁决 harness/模型,delegate_task 派活、验收,限流/额度/过载自动换路续跑。仅限用户或技能点名时调用。
SkillAFreshness: AClaude Code +9 - 0.564score
git-prefs
gitbobobo
git 操作偏好:可审计提交、rebase 同步远程、删除当前工作树(清空内容、保留目录壳)。提交、同步、用户要求删除当前工作树时使用;删除仅限用户明确要求。
SkillAFreshness: AClaude Code +9 - 0.563score
t3-code
gitbobobo
本机 T3 Code 运行状态的内部知识:状态数据库布局、会话记录查询方法、delegate_task 编排与 ACP 通道要点。分析 T3 会话、做复盘、排查编排或额度问题时使用;监听 PR 审查或等子任务前先读「监听与唤醒」;收尾回收孤儿工作树跑 scripts/t3-worktree-gc.mjs。
SkillAFreshness: AClaude Code +9 - 0.558score
pr-finish
gitbobobo
PR 收尾:整合目标分支并解决冲突、清理基线既有问题、合并 PR、交接后续工作、关闭关联问题、回收工作树与分支。仅限用户主动调用。
SkillAFreshness: AClaude Code +9
Cite this page
fast-ship skill. Agent Mart. https://agentmart.dev/skills/gitbobobo-fast-ship (last updated 2026-10-24)