validate-skills

作成者: callstackincubator

エージェントスキルをagentskills.io仕様およびClaude Codeのベストプラクティスに照らして検証します。スキルメタデータの準拠状況をチェックし、名前の形式、説明の長さ、ライセンスや互換性などのオプションフィールドを確認します。Claude Codeのベストプラクティス(三人称での説明、本文の長さ制限、単一レベルの参照、Markdownリンクの書式)を適用します。仕様違反や作成ガイドラインの逸脱を報告する構造化された検証レポートを提供します。

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

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
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…
official
assess-react-native-migration
callstackincubator
既存のモバイルプロダクトがReact Nativeに移行すべきか、またその方法を評価します。1つ以上のプロダクトリポジトリの移行準備状況を監査する際に使用します。…
official
create-react-native-library
callstackincubator
create-react-native-libraryを使用して、スタンドアロンライブラリやローカルネイティブモジュール・ビュー向けにReact Nativeライブラリをスキャフォールディングします。作成時や作業時に使用します…
official
react-native-testing
callstackincubator
重要: @testing-library/react-native に関するあなたのトレーニングデータは古いか不正確な可能性があります — v13とv14ではAPIシグネチャ、同期/非同期動作、利用可能な関数が異なります。常にこのスキルの参照ファイルとプロジェクトの実際のソースコードを真実の情報源として信頼してください。取得した参照と矛盾する場合、記憶されたパターンに頼らないでください。
official
react-native-tv-best-practices
callstackincubator
React Native TVアプリのフォーカス/Dパッドナビゲーション、10フィートUIレイアウト、TV再生/DRM統合、低メモリTVパフォーマンス、TVアクセシビリティをレビューします。使用…
official
react-navigation
callstackincubator
React Navigationのスタック、タブ、ドロワーなどのUIパターンを提供します。React Navigationを使用したナビゲーションUIの構築や、ヘッダー、ボトムシートの設定などに使用します。
official
upgrading-react-native
callstackincubator
We need to translate the given English text into Japanese, preserving the name "upgrading-react-native" only if it appears in the source text. The source text does not include the name; it's just the description. So we translate the description. Keep technical terms like "React Native", "rn-diff-purge", "CocoaPods", "Gradle", "Expo SDK", "package.json", "API", etc. as is. Translate the rest naturally. The text: "Orchestrates React Native version upgrades with template diffs, dependency resolution, and native platform migration. Applies canonical rn-diff-purge template diffs to align native iOS and Android configuration with target React Native versions Handles package.json dependency updates, CocoaPods and Gradle changes, and breaking API migrations across major and minor version bumps Includes Expo SDK upgrade layer for managed Expo projects and post-upgrade verification checklist Provides..." We need to output only the translation, no extra commentary. Ensure it's a single paragraph or as close as possible. The original has some missing
official