跳到正文
cccskills
免费在 GitHub 公开

ship

Prepare pending changes on the tracked working branch for publishing: check the branch and repository state, rebase on the latest origin changes, commit selected files, and push. It is intended for an explicit ship or publish request.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Ship pending changes on main by pulling with rebase, committing intentionally, and pushing to origin. Use only when the user explicitly invokes /ship or asks to ship or publish the current main branch.

puncsky/system-design-and-architecture星标 3,606(GitHub 3,606 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Publish finished changes from the current branch
  • Commit and push selected pending files
  • Update the branch with origin before shipping

包含的文件(2)

  • SKILL.md2.7 KB
  • agents/openai.yaml132 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Task: Ship the current main branch

Usage: /ship [optional commit message context...]

Bring the local main up to date, commit any pending work, and push to origin/main. (This repo's default branch may be master upstream; ship whatever branch origin tracks as the working branch — verify with git rev-parse --abbrev-ref @{u}.)

Session-aware mode

If you made the pending changes earlier in this conversation, you already know what changed and why:

  • Skip the diff stat calls in Step 2. Run only git status as a sanity check.
  • In Step 4, stage exactly the files you edited this session by name and write the commit message from session knowledge.
  • If git status shows files you did not touch (e.g. .DS_Store), leave them unstaged; inspect anything else before staging.

Step 1 — Verify branch

git branch --show-current. If it is not the branch origin tracks for shipping (main), STOP and ask whether to switch or abort.

Step 2 — Inspect state

git status; for unfamiliar changes also git diff --stat and git diff --cached --stat. If the tree is clean, skip Step 4 but still pull and push.

Step 3 — Pull latest with rebase

git pull --rebase origin <branch>. Resolve conflicts proactively: inspect both sides (git show :2:<path>, git show :3:<path>), keep both sides' intent, remove markers, stage by path, git rebase --continue. For chapter pairs, resolve en/ and zh-CN/ consistently. Escalate only when competing resolutions would change meaning and the right one cannot be inferred.

Step 4 — Stage and commit

Stage only relevant files explicitly by path. Write a Conventional Commits message (docs(en): …, docs(zh-CN): …, chore(pm): …, chore(skills): …). Honor $ARGUMENTS as context. End the message with the attribution line the harness specifies, if any.

Before committing book content, run the book checks in AGENTS.md (front matter / bilingual parity / link checks) when they apply.

Step 5 — Push

git push origin <branch>. If rejected as non-fast-forward, redo Step 3 and retry. Never force-push.

Step 6 — Report

Print the shipped HEAD SHA and subject, e.g. Shipped: a1b2c3d docs(en): add chapter on ….

Optional User Context

$ARGUMENTS

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Answer questions about a book, its chapters, or system design by consulting relevant material without changing files. For repository questions, ground the response in the source and cite file paths and lines; use web search for general topics when freshness matters.

中文简介正在准备中。当前显示英语简介。

  • Asking about a book or chapter
  • Getting an explanation of system design
  • Checking repository material without edits
puncsky/system-design-and-architecture36062026年10月23日 更新

loopx

免费

Work through a `.pm` workstream backlog one actionable item at a time. Triage pending milestones, tasks, and inbox notes, then implement and ship them, close items already satisfied, block work with an unblock condition, or remove invalid items until no actionable work remains.

中文简介正在准备中。当前显示英语简介。

  • Draining a workstream backlog
  • Reviewing pending milestones and tasks
  • Resolving open inbox notes
puncsky/system-design-and-architecture36062026年10月23日 更新

mermaid

免费

Create concise Mermaid architecture diagrams from a chapter, system, component, dependency flow, or supplied description. The skill checks the diagram syntax before presenting the diagram and a brief explanation of its key flow.

中文简介正在准备中。当前显示英语简介。

  • Diagramming a system or its components
  • Showing dependency and call directions
  • Turning a chapter topic into a diagram
puncsky/system-design-and-architecture36062026年10月23日 更新

pm

免费

Manage and inspect a book project's public work board: organize workstreams, notes, milestones, and tasks, and update their status as work changes. Use it to materialize proposals, track blockers, or check current board state.

中文简介正在准备中。当前显示英语简介。

  • Check open milestones, tasks, and blockers
  • Add a roadmap note or milestone to the board
  • Mark completed or blocked work
puncsky/system-design-and-architecture36062026年10月23日 更新

Break down a book roadmap topic into prioritized milestone and task proposals, considering reader impact, scope, dependencies, and effort. The skill outputs text for a separate board workflow to apply; it does not write board files.

中文简介正在准备中。当前显示英语简介。

  • Turn a book improvement idea into milestone proposals
  • Prioritize roadmap work by reader impact
  • Break a goal into sized tasks with dependencies
puncsky/system-design-and-architecture36062026年10月23日 更新

查看 puncsky 的全部技能

报告此技能的问题