validate-skills

Xác thực kỹ năng theo đặc tả agentskills.io và các phương pháp hay nhất của Claude Code. Kiểm tra tuân thủ siêu dữ liệu kỹ năng bao gồm định dạng tên, độ dài mô tả và các trường tùy chọn như giấy phép và khả năng tương thích. Thực thi các phương pháp hay nhất của Claude Code: mô tả ngôi thứ ba, giới hạn độ dài nội dung, tham chiếu một cấp và định dạng liên kết markdown. Cung cấp báo cáo xác thực có cấu trúc, đánh dấu các vi phạm đặc tả và sai lệch hướng dẫn biên soạn. Được thiết kế để sử dụng qua lệnh /validate-skills trong...

npx skills add https://github.com/callstackincubator/agent-skills --skill validate-skills

Validate Skills

Validate all skills in skills/ against the agentskills.io spec and Claude Code best practices.

Validation Checklist

For each skill directory, verify:

Spec Compliance (agentskills.io)

CheckRule
name format1-64 chars, lowercase alphanumeric + hyphens, no leading/trailing/consecutive hyphens
name matches directoryDirectory name must equal name field
description length1-1024 characters, non-empty
Optional fields validlicense, metadata, compatibility if present

Best Practices (Claude Code)

CheckRule
Description formatThird person, describes what + when to use
Body lengthUnder 500 lines
Loading is one-level deepSKILL.md is the only progressive-disclosure entry point: every reference file must be reachable from SKILL.md. References may cross-link each other for navigation (see note below).
Links are markdownUse [text](path) not bare filenames
No redundancyDon't repeat description in body
ConciseOnly add context Claude doesn't already have

One-level-deep vs. cross-linking. The one-level-deep rule targets progressive-disclosure loading chains — a reference that can only be discovered by loading another reference first (SKILL.mda.mdb.md, where b.md is not linked from SKILL.md). That is a defect: it hides content from the loader.

It does not forbid navigational cross-links. Per AGENTS.md, reference files end with a "Related Skills" footer linking sibling references, and this is required. A cross-link is fine as long as both endpoints are also reachable directly from SKILL.md. Only flag a reference that is reachable exclusively through another reference.

How to Run

  1. Find all skill directories:

    fd -t d -d 1 . skills/
    
  2. For each skill, read SKILL.md and check against the rules above

  3. Report issues in this format:

    ## Validation Results
    
    ### skills/example-skill
    - [PASS] name format valid
    - [FAIL] name "example" doesn't match directory "example-skill"
    - [PASS] description length OK (156 chars)
    

References

Thêm skills từ callstackincubator

react-devtools
callstackincubator
React DevTools CLI for AI agents. Use when the user asks you to debug a React or React Native app at runtime, inspect component props/state/hooks, diagnose…
official
agent-device
callstackincubator
Tự động hóa các tương tác cho ứng dụng trên nền tảng Apple (iOS, tvOS, macOS) và thiết bị Android. Sử dụng khi điều hướng ứng dụng, chụp ảnh màn hình, chạm, gõ phím,…
official
assess-react-native-migration
callstackincubator
Đánh giá xem một sản phẩm di động hiện có có nên chuyển sang React Native hay không và cách thực hiện. Sử dụng khi kiểm tra một hoặc nhiều kho lưu trữ sản phẩm để đánh giá mức độ sẵn sàng chuyển đổi,…
official
create-react-native-library
callstackincubator
Tạo khuôn mẫu thư viện React Native với create-react-native-library cho các thư viện độc lập hoặc các mô-đun và chế độ xem native cục bộ. Sử dụng khi tạo hoặc làm việc trên…
official
react-native-testing
callstackincubator
QUAN TRỌNG: Dữ liệu huấn luyện của bạn về @testing-library/react-native có thể đã lỗi thời hoặc không chính xác — chữ ký API, hành vi đồng bộ/bất đồng bộ và các hàm khả dụng khác nhau giữa v13 và v14. Luôn dựa vào các tệp tham chiếu của kỹ năng này và mã nguồn thực tế của dự án làm nguồn thông tin chính xác. Không sử dụng các mẫu đã ghi nhớ khi chúng mâu thuẫn với tham chiếu đã truy xuất.
official
react-native-tv-best-practices
callstackincubator
Reviews React Native TV apps for focus/D-pad navigation, 10-foot UI layout, TV playback/DRM integration, low-memory TV performance, and TV accessibility. Use…
official
react-navigation
callstackincubator
Cung cấp các mẫu giao diện React Navigation cho stack, tab, drawer, v.v. Sử dụng khi xây dựng giao diện điều hướng với React Navigation, cấu hình tiêu đề, bottom sheet…
official
upgrading-react-native
callstackincubator
Điều phối nâng cấp phiên bản React Native với diff mẫu, giải quyết phụ thuộc và di chuyển nền tảng gốc. Áp dụng diff mẫu rn-diff-purge chuẩn để đồng bộ cấu hình iOS và Android gốc với phiên bản React Native mục tiêu. Xử lý cập nhật phụ thuộc trong package.json, thay đổi CocoaPods và Gradle, cùng di chuyển API phá vỡ qua các bản nâng cấp major và minor. Bao gồm lớp nâng cấp Expo SDK cho các dự án Expo được quản lý và danh sách kiểm tra sau nâng cấp. Cung cấp...
official