Logo Ship Loop

Ship Loop

Cộng đồng
mstfash
ship-loop

Claude Code shipping loop: enumerate the problem space and grill the plan, design the system (for UI work), implement, then run a definition-of-done gate (verify → simplify → independent review → structure review → runtime smoke → commit) before calling work complete. On first use it detects and offers to install the Claude Code tools each stage needs — the Codex review plugin, grill-with-docs, structural-code-review, frontend-visual-qa. Use when starting or finishing a meaningful unit of implementation work: a phase, feature slice, or milestone.

Tổng quan

Nhà phát hànhmstfash
Kho mãskills
Tên kỹ năngship-loop
Sao
25
Bản fork
4
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mstfash công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ship Loop trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/mstfash/skills/tree/main/ship-loop
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mstfash/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/ship-loop .claude/skills/ship-loop
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ship Loop trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Ship Loop ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Ship Loop không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Ship Loop

Purpose

A repeatable loop for shipping a unit of work correctly, not just plausibly. It front-loads thinking (enumerate the problem space, grill the plan), separates design from implementation, and ends with a definition-of-done gate where each layer catches a class of failure the cheaper layers miss.

The gate is not optional polish. Passing tests and a self-review is not proof the work is correct — the author shares their own blind spots. Do not self-certify; run the gate.

First use in a Claude Code environment: set up tools

The stages below are designed for Claude Code as the main agent. /simplify and /verify are native Claude Code skills; the other stages use installable Claude Code skills or the Codex plugin. On the first run in a new machine or project, follow reference/setup.md to detect what's present and install what's missing.

What it bootstraps (it detects each, then installs only with your confirmation):

ToolPowers stageInstall
grill-with-docsPre-flight (grill the plan)fetch + copy a SKILL.md
structural-code-reviewStructure reviewcopy a SKILL.md
frontend-visual-qaRuntime smoke (UI work)copy a SKILL.md
Codex plugin (/codex:review)Independent reviewyou run /plugin commands
/simplify, /verifySimplify, VerifyClaude Code native — nothing to install

Before installing any fetched or copied skill, read its SKILL.md and confirm it does what it claims without asking Claude Code to do anything unsafe. Claude Code can install copyable skills itself after approval; it cannot install the Codex plugin (that needs interactive /plugin commands only you can run) — setup will hand you the exact commands. Run the read-only probe first:

bash
bash <skill-dir>/scripts/check-deps.sh

Missing pieces downgrade automation; they never remove a gate layer. If a tool isn't installed, that stage runs by hand against phase-checklist.md and Claude Code says so — no stage is silently skipped. Independent review is the one exception that can't be self-substituted: if no independent reviewer (Codex or another model/agent) is available, it's done as an explicit adversarial pass and flagged as a residual risk. See reference/setup.md §7 for the exact behavior.

Make It Run Every Time

This skill is model-invoked — Claude Code reads its description and decides whether to load it. That makes the workflow available, not guaranteed. To make Claude Code reliably frame-first and gate every phase, add an always-loaded rule to a memory file. CLAUDE.md is auto-loaded; AGENTS.md is not, but Codex reads it — import it from CLAUDE.md with @AGENTS.md to share one source.

Paste the rule from reference/memory-snippet.md into the project's CLAUDE.md/AGENTS.md or ~/.claude/CLAUDE.md for every Claude Code project. The memory rule guarantees the workflow is invoked; the skill supplies the detail. For hard enforcement, the snippet also covers an optional Claude Code Stop hook.

How It Runs

Two parts: a one-time framing pass up front, then a per-phase loop. The completion gate fires at the end of every phase — not once at the very end. The shape is:

FRAME ONCE:   plan + slice into phases  →  grill the plan  →  (UI) design the system
THEN, PER PHASE (repeat):   pre-flight  →  implement  →  GATE → green  →  commit  →  next phase

Up front — frame the work (once per effort)

Do this before any phase starts, and only redo it if the plan materially changes:

  1. Plan and slice. Break the effort into phases / feature slices small enough that each one can pass the gate on its own.
  2. Grill the plan. Pressure-test the approach against the project's own docs and domain language with grill-with-docs — terminology, invariants, documented decisions — before committing to an approach.
  3. Design the system (UI work only). Separate design-system creation from page implementation so screens come from a shared visual language, not improvised one at a time: collect references → generate tokens/components → refine until approved → share into the project → build pages from the system. Do this once; individual pages are then built phase by phase. Skip entirely for non-UI work.

Per phase — repeat until the effort is done

For each phase from the plan:

  1. Pre-flight that phase. Map the problem space for this phase so review rounds don't discover missing cases one at a time. Pick the artifacts that fit (decision table, state-machine table, field/input inventory, invariant list) and write adversarial test stubs for the empty, malformed, duplicate, boundary, authorization, tenancy, idempotency, concurrency, and partial-failure cases. If a surface is multi-axis, split enumeration across agents and merge their findings. Re-grill with grill-with-docs if the phase introduces new domain decisions.

  2. Implement. Build against the pre-flight checklist (and the approved design system for UI). Run mechanical checks (VERIFY) after every meaningful change — never let the implementation drift while lint/typecheck/tests are red.

  3. Run the completion gate to green. Before calling the phase done, run the full gate in reference/phase-checklist.md:

    VERIFY → SIMPLIFY → INDEPENDENT REVIEW → STRUCTURE REVIEW → RUNTIME SMOKE → COMMIT HYGIENE

    Read that file at the moment of use — don't work from memory — and follow every step in order, including the loops back to Implement on failure.

  4. Commit, then start the next phase. A clean gate + commit closes the phase; the next phase begins again at Pre-flight.

When To Use

  • Starting a non-trivial implementation: run Pre-flight (and Design for UI) first.
  • Finishing a phase, feature slice, milestone, or implementation batch: run the completion gate before reporting done.
  • Setting up a new machine or project: run setup once so the stages are tooled.

For a one-line copy edit or a throwaway spike, this is overkill — scale the rigor to the risk. When in doubt, run more of the gate, and state what you scoped and why.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ship Loop làm được gì?

Claude Code shipping loop: enumerate the problem space and grill the plan, design the system (for UI work), implement, then run a definition-of-done gate (verify → simplify → independent review → structure review → runtime smoke → commit) before calling work complete. On first use it detects and offers to install the Claude Code tools each stage needs — the Codex review plugin, grill-with-docs, structural-code-review, frontend-visual-qa. Use when starting or finishing a meaningful unit of implementation work: a phase, feature slice, or milestone.

Vì sao nên dùng Ship Loop trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ship Loop là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ship Loop trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mstfash/skills/tree/main/ship-loop. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ship Loop?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Ship Loop với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ship Loop với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ship Loop có miễn phí không?

Kỹ năng này được mstfash phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇