Logo Zero Copy Requirements

Zero Copy Requirements

Tổ chức
l-gevity
zero-copy-requirements

Quyết định vị trí phù hợp cho từng thông tin để không tạo artifact nào có nội dung hoàn toàn có thể tái dựng từ một artifact khác đã có trong hệ thống. Dùng khi thêm, rà soát hoặc tinh gọn tài liệu; quyết định một thông tin nên nằm trong tài liệu, issue, commit hay yêu cầu; khi có đề xuất tạo ghi chú kiến trúc, nhật ký quyết định, trang trạng thái hoặc bản ghi phân loại vấn đề; hoặc khi kiểm tra cây tài liệu để tìm các nguồn thông tin có thẩm quyền bị trùng lặp. Không dùng để xác lập ý nghĩa của yêu cầu, chuẩn hóa đồ thị yêu cầu hoặc phân loại trạng thái bằng chứng; hãy chuyển các việc đó cho requirements-grounding, requirements-topology và requirements-traceability.

Add to TypingMind

Tổng quan

Nhà phát hànhl-gevity
Kho mãl-gevity-skills
Tên kỹ năngzero-copy-requirements
Sao
72
Bản fork
13
Tệp đi kèm
1
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ộ.

  • 1 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 l-gevity 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 Zero Copy Requirements 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/l-gevity/l-gevity-skills/tree/main/.agents/skills/zero-copy-requirements
  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/l-gevity/l-gevity-skills.git /tmp/l-gevity-skills
mkdir -p .claude/skills
cp -r /tmp/l-gevity-skills/.agents/skills/zero-copy-requirements .claude/skills/zero-copy-requirements
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 Zero Copy Requirements 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 Zero Copy Requirements 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 Zero Copy Requirements 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.

Zero-Copy Requirements

Keep every fact in exactly one artifact. A second copy is not redundancy; it is a second authority that will disagree with the first.

Purpose: No artifact may exist whose content is fully reconstructable from another artifact already in the system.

Core Directives

  1. One question, one authority. Each fact has exactly one owning artifact. Every other mention is a reference to it, never a restatement.
  2. Four authorities carry the system. Behavior, history, decisions, and specification. An artifact that is none of them is a generated report, a bounded exception, or waste.
  3. Decisions close where they were raised. Record a decision as a comment or closing note on the tracker item that asked the question. Never write a separate decision document for it.
  4. Sign-off is immutable. Compliance-grade approval lands in a merged commit or change request, not in a mutable comment or an editable page.
  5. Reports are compiled, never authored. Anything assembled from the authorities is regenerated from them and read-only.
  6. Reference by identifier. A dependent artifact names the ID of what it depends on; it does not copy that artifact's text.
  7. Frozen records are closed, not maintained. A historical or migration record is dated and never backfilled; the moment it is updated to stay current it has become an unowned second authority.

Boundary

zero-copy-requirements is a task-matched Alchemy companion, not a qualification stage, gate, or acronym letter. It runs in a single pass, at any point where an artifact's home is in question.

This skill decides where a fact lives. It does not decide what the fact means, whether the work is worth doing, or whether evidence proves it.

  • requirements-grounding owns requirement meaning, source authority, and evidence quality.
  • requirements-topology owns identifiers, lineage, and graph semantics.
  • requirements-traceability owns anchors and evidence state once a location exists; this skill decides the location it anchors into.
  • push-out owns the general directive that executable sources beat prose duplicates, and the ladder that moves operational work outward; this skill names which artifact owns which question in the first place.

Apply a project profile for concrete paths, tracker names, schemas, identifier formats, and validation commands. Keep none of those here.

Select the Mode

ModeUse forEmits
TargetedOne named or proposed artifactOne output contract
SweepNo artifact named: find every redundant document in a treeOne ranked row per artifact opened, plus the unreached remainder

With no artifact named, start in Sweep and read references/sweep.md. Both modes decide with the same litmus test (§4); Sweep adds discovery, an evidence bar, and ranking. Sweep classifies nothing DUPLICATE without naming the artifact that already carries each claim. A claim no artifact carries is unowned, not redundant: move it, never delete it. Establish neither and the row is Defer, naming what is missing.

1. The Four Authorities

#AuthoritySole owner ofMust not absorb
1Code and its testsWhat the system does now, and the conditions under which it is correctWhy a change was made, what is still undecided, what is merely planned
2Version-control historyWhat changed, when, by whom, and — via the commit message — the immediate why of that specific changeStanding policy, open questions, the specification of unbuilt work
3Issue trackerEvery open question; every decision, product or architectural; every planned-not-yet-built itemCurrent behavior, which the code already states; acceptance conditions, which the register already states
4Requirement / specification registerWhat can or should be built, and the conditions that make it completeThe decision's rationale, which lives on the issue it cites; evidence state, which traceability owns

Wiring between them:

  • A requirement cites the issue or issues that decided it, and — when blocked or unbuilt — the issue that will unblock it. It restates neither.
  • An issue's closing note is the decision record. A decision that outgrows a comment becomes a requirement plus the issue that decided it, not a document.
  • A commit message carries the immediate why of its own change and references the issue or requirement that authorized it. It does not restate the standing rule.
  • Code and tests carry requirement identifiers as anchors, not requirement prose.

2. The Generated-Report Layer

Anything compiled from the authorities is a report, not an authority.

  • Regenerate it from a command; never hand-author or hand-patch it.
  • Mark it read-only, and fail the build when a committed report differs from a fresh regeneration.
  • A report may be an external-audience deliverable — a coverage matrix, a status board, a compliance pack assembled from requirements and issues — but its content still originates entirely in the authorities.
  • If a report carries a fact that exists nowhere else, that fact is the defect: move it into the authority that owns the question, then regenerate.

3. Bounded Exceptions

Exactly three kinds of artifact may exist outside the authorities and the report layer.

ExceptionAdmission testGuard
Onboarding / tooling meta-documentationExplains how to work on the system — setup, conventions, which command to run, which skill to route through — rather than what the system does or what was decidedDelete it when the tooling carries the instruction itself; see the documentation-pruning pattern in push-out
Compliance-mandated external-audience deliverableAn external obligation names the artifact and its audience, and the authorities are not a deliverable form for that audienceRestructure as a generated report as soon as its content is reconstructable; hand-authoring it each cycle is the anti-pattern
Frozen historical or migration recordClosed and dated; describes a completed transition, a superseded model, or a one-time import whose provenance is still citedNever backfilled, never updated to stay current, never the authority for anything live

An artifact that fits no exception and duplicates an authority is waste. Fold its content into the owning authority and delete it.

4. Litmus Test

Run in order for any existing or proposed document. Stop at the first match.

text
1. Is its content fully reconstructable from artifacts that already exist?
   → Yes: delete it, or replace it with a generated report.
2. Does it answer "what does the system do?"
   → Code and its tests.
3. Does it answer "what changed, when, and why that change?"
   → Version-control history.
4. Does it answer "what is undecided, what was decided, or what is planned
   but unbuilt?"
   → An issue; a decision closes as that issue's comment or closing note,
     unless it must later be proved unaltered — then it closes in a merged
     commit or change request (Directive 4).
5. Does it answer "what should be built, and when is it done?"
   → The requirement register, citing the deciding issue.
6. Is it compiled from 2-5?
   → A generated report, regenerated by command and read-only.
7. Does it pass exactly one exception admission test in section 3?
   → Keep it, and record the guard that ends or freezes it.
8. Otherwise
   → Waste. Fold and delete.

A document that needs two answers is two artifacts. Split it before keeping it.

5. Anti-Patterns

Anti-patternCorrection
A decision document or ADR file recording a decision already argued on an issueClose the decision on that issue; cite the issue ID where the decision is needed
A decision log appended to a requirementThe requirement cites the deciding issue; it is not the decision record
Hand-maintained changelog, status page, or progress boardGenerate it from history, the tracker, and the register
Architecture or design note narrating what the code already doesPoint at the module, contract, or enforcement rule
Triage, investigation, or incident write-up committed as a repository fileIt is an issue and its comments
Requirement text restating a dependency's acceptance conditionsReference the criterion identifier
Compliance deliverable hand-authored every cycleCompile it from the authorities; the deliverable is a report
Compliance sign-off recorded in an editable comment or pageLand it in a merged commit or change request
A frozen record edited to stay currentEither freeze it or promote its content into an authority; it cannot be both
"Documentation debt" resolved by writing more proseLocate the owning authority first; prose that duplicates it increases the debt

6. Output Contract

text
Subject:              <document, tree, or proposed artifact>
Classification:       AUTHORITY | GENERATED-REPORT | EXCEPTION | DUPLICATE
Owning authority:     <code+tests | history | issues | requirements | none>
Reconstructable from: <artifacts that already carry the content, or none>
Decision:             Keep | Fold into <authority> | Generate | Freeze | Delete | Defer
Exception:            <onboarding/tooling | compliance deliverable | frozen record | none>
Guard:                <condition that ends or freezes the exception, or none>
Next action:          <one concrete action>

In Sweep, emit one ranked row per artifact opened, then the unreached count:

text
| Artifact | Classification | Owning authority | Carried by | Decision | Guard |
| -------- | -------------- | ---------------- | ---------- | -------- | ----- |

Carried by names what already holds the content: file and symbol, commit, issue ID, or requirement ID. Empty means unowned, not redundant.

7. See Also

  • push-out - executable sources beat prose duplicates; documentation-pruning pattern.
  • requirements-traceability - anchors and evidence state once the location is decided.
  • requirements-grounding - requirement meaning, source authority, and evidence.
  • requirements-topology - stable identifiers, lineage, and generated views.
  • continuous-improvement - promoting a recurring duplication finding into a check.

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 Zero Copy Requirements làm được gì?

Quyết định vị trí phù hợp cho từng thông tin để không tạo artifact nào có nội dung hoàn toàn có thể tái dựng từ một artifact khác đã có trong hệ thống. Dùng khi thêm, rà soát hoặc tinh gọn tài liệu; quyết định một thông tin nên nằm trong tài liệu, issue, commit hay yêu cầu; khi có đề xuất tạo ghi chú kiến trúc, nhật ký quyết định, trang trạng thái hoặc bản ghi phân loại vấn đề; hoặc khi kiểm tra cây tài liệu để tìm các nguồn thông tin có thẩm quyền bị trùng lặp. Không dùng để xác lập ý nghĩa của yêu cầu, chuẩn hóa đồ thị yêu cầu hoặc phân loại trạng thái bằng chứng; hãy chuyển các việc đó c...

Vì sao nên dùng Zero Copy Requirements 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. Zero Copy Requirements 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 Zero Copy Requirements trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/zero-copy-requirements. 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 Zero Copy Requirements?

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 Zero Copy Requirements 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 Zero Copy Requirements 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 Zero Copy Requirements có miễn phí không?

Có. Kỹ năng này được l-gevity 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 👇