Chuyển đến nội dung
Skillpedia
Agent8.6k · #12413

specification-system

Skill này làm gì

Skill này giải thích cách viết và tái sử dụng đặc tả (spec), tức các file mô tả một thiết lập lặp lại được cho một nhóm agent AI. Skill dành cho người chạy OpenRig muốn dựng lại cùng một thiết lập mà không phải gõ lại.

Khi nào nên dùng

  • ✓Khi bạn muốn lưu một đội agent AI đang chạy tốt thành file để khởi động lại sau này.
  • ✓Khi bạn muốn chia sẻ một thiết lập agent để người khác khởi động trên máy của họ.
  • ✓Khi bạn kiểm tra xem file thiết lập có còn chạy được trên máy khác không.

Liên kết skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/specification-system/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/specification-system/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi viết một file thiết lập có thể tái sử dụng cho đội agent của mình để sau này có thể khởi động lại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent làm theo một bộ quy tắc viết file thiết lập không phụ thuộc vào thư mục của một máy tính, nhờ đó file mô tả thiết lập dự định và có thể dùng lại ở nơi khác.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Specification System

The declarative primitive family for OpenRig intent: rig specs, agent specs, workflow specs, startup/context fragments, operating-mode declarations, and the user spec library that stores and reuses them.

Specs are how humans and agents describe repeatable topology and behavior without re-explaining it in chat. They are also shareable artifacts: a user should be able to publish a spec or spec family so another user can instantiate the same rig shape, role structure, or workflow pattern.

Without a dependable spec primitive, OpenRig depends on manual startup prompts and tribal memory. That blocks repeatability, product demos, rig bundles, and autonomous rig construction.

Use this when

  • Authoring a RigSpec / AgentSpec / workflow spec
  • Designing a startup/context fragment
  • Reasoning about spec-library lifecycle (validation, sharing, upgrade semantics)
  • Auditing a spec for portability (does it run on another host?)
  • Distinguishing spec vs bundle vs extension cleanly

Don't use this when

  • The work is one-off and won't be reused. Manual rig assembly is fine for one-shot work.
  • The intent is to package a topology + workflow as a shareable artifact. That's rig-bundles-and-shareable-artifacts.
  • The intent is to add runtime behavior. That's extension-and-user-workspace.

Failure modes (4)

  1. A spec can instantiate a topology but not the workflow or operating mode needed to use it. Topology is necessary but not sufficient — workflow and operating mode must be declared too.
  2. A shared spec depends on local paths or hidden startup fragments and fails on another host. Specs must be self-describing for portability.
  3. Agents modify specs as one-off files instead of preserving reusable user/library intent. Specs are reusable; treating each instance as one-off destroys the primitive's value.
  4. Validation proves YAML shape but not whether the declared topology can actually run. Structural validation is not enough; runtime realization is the real proof.

Proof standard

Proof should:

  1. Author a spec
  2. Validate it (structural)
  3. Install it (into spec library)
  4. Instantiate it on a clean OpenRig environment
  5. Show both structural validation AND runtime realization

Validation alone is insufficient.

Spec / bundle / extension boundary

Concept Declares Example
Spec Topology / role / workflow shape (declarative intent) rig.yaml, agent.yaml, workflow.yaml
Bundle Spec(s) + supporting fragments packaged for shareable instantiation A Velocity Team bundle
Extension Runtime behavior added to user workspace RigX command, custom view

Don't conflate them. The contract should distinguish spec, bundle, and extension cleanly.

Currently shipped surfaces

OpenRig already has:

  • RigSpec / AgentSpec authoring (agent.yaml, rig.yaml formats; see openrig-architect skill)
  • Workflow specs (markdown/YAML files, daemon read-through cache via workflow_specs table; see workflow-runtime skill)
  • Bundle/spec command surface (rig bundle / spec / agent / specs ls/show/preview/add/sync/remove/rename)
  • Spec library (filesystem-backed at packages/daemon/specs/ + ~/.openrig/specs/ per cli-reference.md)

Not yet shipped:

  • Spec library lifecycle (validation, sharing, upgrade) treated as a first-class primitive
  • Cross-host spec sharing
  • Marketplace / public registry

See also

  • openrig-architect skill — RigSpec / AgentSpec authoring discipline
  • workflow-runtime skill — workflow spec authoring + transactional-scribe contract
  • rig-bundles-and-shareable-artifacts skill — bundle is the packaged form of specs
  • extension-and-user-workspace skill — extensions add runtime behavior; specs declare intent
  • openrig/docs/reference/rig-spec.md (product reference doc) — RigSpec format specification
  • openrig/docs/reference/agent-spec.md (product reference doc) — AgentSpec format specification
Câu hỏi thường gặp

Skill này có hoạt động ngoài OpenRig không?

Không. Skill được viết cho các file thiết lập của OpenRig, như đặc tả rig và đặc tả agent.

Tôi có thể chia sẻ file thiết lập cho người khác không?

Có. Skill được xây dựng quanh các file thiết lập mà người khác cũng dùng được, thay vì ghi chú chỉ chạy trên máy của bạn.

Tôi có cần biết YAML để dùng không?

Không cần lắm. Agent của bạn sẽ lo định dạng file, nhưng bạn vẫn nên xem lại nội dung trước khi chia sẻ.

Chi tiết

Mô tả gốc của tác giả

Use when authoring rig specs, agent specs, workflow specs, startup/context fragments, operating-mode declarations, or designing the user spec library. Covers the 4 failure modes (spec instantiates topology but not workflow/mode; spec depends on local paths and fails on another host; agents modify specs as one-off files instead of preserving reusable intent; validation proves YAML shape but not whether topology can run) and the validation-vs-runtime-realization distinction.

repo: mvschwarz/openrig

Độ phổ biến

Sao GitHub
8.6k
Vị trí xếp hạng
#12413
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự