Chuyển đến nội dung
Skillpedia
Agent76k · #2629

skill-contract-reviewer

Skill này làm gì

Skill này kiểm tra một package Agent Skill đề xuất và gợi ý các khối xây dựng phù hợp cho nó. Nó dành cho những người đang tạo skill có thể tái sử dụng cho AI agent.

Khi nào nên dùng

  • ✓Khi một quy trình lặp lại sắp trở thành một skill agent có thể tái sử dụng.
  • ✓Khi bạn muốn kiểm tra một package skill có các trường nhận dạng chuẩn và cấu trúc hợp lệ.
  • ✓Khi bạn muốn quyết định một tác vụ nên là skill, tool hay một bước được lên lịch.

Liên kết skill

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/22-skills-and-agent-sdks/outputs/skill-contract-reviewer/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/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/22-skills-and-agent-sdks/outputs/skill-contract-reviewer/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

“Kiểm tra thư mục skill mới của tôi xem có lỗi gì không và cho tôi biết nó nên là skill hay tool.”

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

Cách hoạt động

Agent đọc hợp đồng skill, chạy một script kiểm tra trên thư mục đề xuất, rồi đọc báo cáo. Sau đó nó so sánh skill với các loại tác vụ phổ biến và gợi ý tập hợp các phần nhỏ nhất phù hợp.

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.

Skill contract reviewer

Use this skill when a workflow is about to become a reusable agent artifact.

  1. Set SKILL_ROOT to the absolute directory containing this installed SKILL.md. Do not assume the process working directory is the bundle.
  2. Set TARGET_ROOT to the absolute original workspace working directory and resolve the proposed skill directory under that root.
  3. Read $SKILL_ROOT/references/contract.md and validate the portable SKILL.md identity fields.
  4. Read $SKILL_ROOT/references/decision-model.md and separate repository context, reusable method, external capability, lifecycle timing, deterministic logic, and isolated delegation.
  5. Before execution, show the exact resolved argument vector. Run python3 "$SKILL_ROOT/scripts/check_skill.py" "$TARGET_SKILL", where TARGET_SKILL is the absolute proposed skill directory under TARGET_ROOT.
  6. Inspect the JSON report. Fix every error before discussing host-specific extensions.
  7. Compare the proposed artifact with $SKILL_ROOT/assets/task-shapes.json and return the smallest composable set of primitives.

Do not claim that a runtime extension is part of the portable contract. Do not treat a valid skill as permission to run scripts or access tools.

Return the validation report, the selected primitives, and one sentence explaining each selection. Include execution evidence with the resolved script path, resolved target path, cwd, exact argv, and exit code. If the host cannot expose one of those observations, mark it unverified instead of inventing it.

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

Một skill hợp lệ có được quyền chạy script không?

Không. Skill nêu rõ rằng việc hợp lệ không cho phép chạy script hay dùng tool.

Nó kiểm tra những gì?

Nó kiểm tra các trường nhận dạng chuẩn và cấu trúc package, rồi báo cáo mọi lỗi tìm thấy.

Nó có thay đổi skill của tôi không?

Nó chỉ báo cáo vấn đề. Việc sửa do bạn hoặc một bước khác thực hiện.

Chi tiết

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

Validate an Agent Skill package and choose the right instruction, capability, or lifecycle primitive before implementation.

repo: rohitg00/ai-engineering-from-scratch

Độ phổ biến

Sao GitHub
76k
Vị trí xếp hạng
#2629
Giấy phép
MIT
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ự