Logo Run Close Pack

Run Close Pack

Cộng đồng
Motaghi
run-close-pack

Close a run whose output reaches an end user, a store page, or a public post: freeze the tested tip, run the decisive suite and battery under one resource contract, hand replay and serve rehearsal on the tested tip, docs commit last, finalize once on the close sha, then assemble the public pack. Reads a per-project profile (see profiles/example.md); the skill body names no project, host, provider, or model. Use when a build's last feature lane has a verdict and anything public follows, or for a text-only public output.

Tổng quan

Nhà phát hànhMotaghi
Kho mãmimir-skills
Tên kỹ năngrun-close-pack
Sao
51
Bản fork
0
Tệp đi kèm
11
Giấy phépMIT
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • 11 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 Motaghi công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Run Close Pack 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Motaghi/mimir-skills/tree/main/skills/run-close-pack
  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/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/run-close-pack .claude/skills/run-close-pack
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 Run Close Pack 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ự nạp Run Close Pack 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 bạn có thể dùng Run Close Pack với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

run-close-pack

Authority order

The user's current instructions, the project's own rules, and the accepted kickoff outrank this skill. Hard stops and no-retry rules win over completion pressure.

This skill picks no model, provider or agent and dispatches nothing itself. It does not push, upload, submit to a store or publish on its own say-so: each of those is handed back to the orchestrating session as a request, and anything public waits for the owner's go.

Shared base

Read the section "Shared base: capacity and evidence" of the parallel-run-control-plane skill before step 1, even on a single-lane run. Its rules on ranked fallbacks, pause-and-post, saved artifacts over channel lines, and the owner-unreachable default apply here unchanged.

Profile

Your own profile is run-close-pack.profile.md in the project root; if it is not there, ask the user where it is. Read it. profiles/example.md lists every field with a worked example for an invented project; copy it into your project and fill in your own values. Which fields are required depends on the path. The text-only path (see Trigger) needs only: channel path, channel retention, texts folder, text pipeline steps, previous public version, durable evidence store path and close docs folder. The full path needs every field. A missing required field stops the close before step 1 and is posted on the channel. A blank value counts as missing and stops the close the same way. Fields the chosen path does not use are not required.

Trigger

Loads once the last feature lane has a verdict, for any run whose output reaches an end user, a store page, or a public post. Text-only public output (no build) takes the lightweight path: steps 1, 6 and 7, then a final channel line that names the close sha and the evidence store path, skipping steps 2 through 5, 8 and 9; every skipped step is posted as skipped.

Close sequence

Each step is gated on the one before. Steps 1 to 6 run on the tested tip and test code. Step 7 is the only commit. Step 8 rebuilds and rehashes; any failure at this step, including a determinism failure, is a stop that returns to step 1. Any product-code fix at any step restarts the close at step 1, and channel lines from then on cite the new sha.

  1. Freeze the tested tip. Post the sha on the channel with the channel-append helper. Every line below cites it until step 7.
  2. Decisive suite in its own isolated working copy on the tested tip. State the expected reds against the merge order first, one per line as <spec-basename> :<line>; once the classified list is written, the parallel-run-control-plane skill's <control-plane-dir>/scripts/red-set-reconcile.sh <expected-reds-file> <classified-list> compares the two (exit 0 clean, 1 drift, 2 cannot run) and any drift is posted on the channel. Load-class failures (timeouts, layout assertions) get one lone quiet rerun, one worker, started only when the 1-minute load average is below the profile's load threshold; a rerun started while the load average is at or above the threshold is void and is repeated once it drops below it. Write the classified list from references/classified-list-template.md into the durable evidence store; the channel line names that file. A stale pin (category D) is a lane defect, never recorded as a flake: the lane that moved the value fixes the pin, and the suite re-runs on a new tested tip. Verdict: no new regression, or a named regression that stops the close.
  3. Battery in a clean checkout beside the suite under the resource contract: non-browser chunks (type check, lint, unit tests, build) under the profile's worker cap; every step that opens a browser or binds the suite's ports waits for the suite to end.
  4. Hand replay of the tested-tip build at shipped defaults through a static file server, never the dev server: the first ten minutes of use plus every route this run touched. An app root that fails to render is always investigated, never retried past. This is a gate.
  5. Serve rehearsal on a scratch port with the real upload bundle shape; the scratch port is distinct from the port half of the profile's serve port and folder field, and that port serves only the closed version. Run <skill-dir>/scripts/artifact-shape-check.sh <upload bundle> <source snapshot> <entry file> <manifest file>, with the entry file and manifest file names taken from the profile's artifact shape field; exit 0 passes, exit 1 (wrong shape) and exit 2 (cannot run) are both stops that return to step 1.
  6. Public texts, written in the profile's texts folder, through the profile's text pipeline steps in order, cumulative since the previous public version, fix lines still open pasted in and re-linted before assembly. Each step's stamp goes in the sweep record.
  7. Close docs commit: docs only, on top of the tested tip. Run <skill-dir>/scripts/close-record-lint.sh <close docs folder> <skill-dir>/scripts/banned-words.txt on the working copy, where the close docs folder is the profile field naming the repository folder the docs commit touches; a hit (draft marker, {{...}} or <...> placeholder, Status: DRAFT, or a banned word) means the commit is a draft and does not merge. The shipped banned-words.txt is a starter list; replace it with your own house style. The docs commit says "close sha: this commit" and points to the evidence store for hashes. Any fix found after this point starts a new tested tip at step 1; the prior docs commit is superseded by a new one, never amended.
  8. Finalize once on the close sha: type check, build with the profile's build command, identity string per the profile, both archives named per the profile with sha256 sidecars, every pre-final pair (the last two texts in the pipeline order, run once more together after every other edit is in) deleted, determinism check, roll onto the profile's serve port and folder, confirm the served identity. Final channel line names the close sha, both files with hashes, the identity, and the evidence store path.
  9. Pack assembly into the profile's pack folder. The pack owners field says who assembles which part. Assembly starts from the close sha and the upload bundle hash and does not start while any unfilled marker (any placeholder or draft marker the lint in step 7 catches) remains in the docs.

Evidence fields

On both paths, every decision the close makes (a fork taken, a gate passed or failed, a revert, a blocker raised) is recorded in the channel line, classified list or sweep record that step already writes, with six one-line fields: ts, phase (the close step), decision, why (plain words), evidence, result. Evidence is a pointer that resolves, such as a sha, a path, file:line or a saved output, never a paragraph. Result is the observed outcome, such as tests green, reverted, open or inconclusive. An entry with no resolving pointer is marked unverified.

A wrong entry is superseded by a later entry that points back to it. No past entry is edited or deleted. This adds no log file, script or ledger, and the same six field names appear in the build-team report. The fields record the trail; the step gates still decide pass or stop.

Rules from past wrongs

Never approve an early docs merge to save minutes. The release archive is whichever file the store consumes, not the source snapshot. Ceilings derive from measured step durations, not habit. The full classified list is saved, never summarised into the record.

Checks

<skill-dir>/scripts/close-record-lint.sh, <skill-dir>/scripts/artifact-shape-check.sh, tests under <skill-dir>/scripts/tests/run.sh; red-set-reconcile.sh lives in the parallel-run-control-plane skill's scripts/ (<control-plane-dir>). <skill-dir> and <control-plane-dir> are the folders that hold each skill's SKILL.md, resolved to absolute paths from where the skills are installed; run the helpers by those absolute paths. POSIX (Portable Operating System Interface) shell, no provider or host calls.

Why these rules

Replaying the build by hand through a static file server finds defects that automated suites miss. Two-gate lifts with observed evidence catch drafts and mislabelled archives before they ship. Passing the close sha and the bundle hash into pack assembly makes the pack repeatable.

Provenance

The evidence-fields section adapts the decision-trail format of the show-me-your-work skill in pstack by Lauren Tan (MIT). Credit and licence text are in references/upstream-notice.md and in the repository's CREDITS.md.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Run Close Pack làm được gì?

Close a run whose output reaches an end user, a store page, or a public post: freeze the tested tip, run the decisive suite and battery under one resource contract, hand replay and serve rehearsal on the tested tip, docs commit last, finalize once on the close sha, then assemble the public pack. Reads a per-project profile (see profiles/example.md); the skill body names no project, host, provider, or model. Use when a build's last feature lane has a verdict and anything public follows, or for a text-only public output.

Vì sao nên dùng Run Close Pack 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. Run Close Pack 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 Run Close Pack trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Motaghi/mimir-skills/tree/main/skills/run-close-pack. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 Run Close Pack?

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.

Có thể dùng Run Close Pack 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 Run Close Pack 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 Run Close Pack có miễn phí không?

Có. Kỹ năng này được Motaghi phát hành trên GitHub theo giấy phép MIT. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇