
okjpg/skill-audit
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
クロードコード/エージェントSDKスキルの静的解析 LLM(Claude、GPT、Gemini)全体のトリガビリティを検証するために10 QAチェックに対してSKILL.mdを監査します.
概要
クロードコード/エージェントSDKスキルの静的解析 10 QA チェックに対して SKILL.md を監査すると、スキルが LLM (Claude, GPT, Gemini) を渡って正しくトリガーされ、実行されます。 119生産技術の監査から構築(スコアは5.9→10.0/10) Claudeプレ-4.5のために書かれたスキルは、多くの場合、著者のコンテキストでのみ機能します。彼らは薄い説明、漠然としたワークフロー、負の境界なし、楕円形を持っています。 それらを実行しようとするとき: - Claude 4.6 + (tighter トリガー ヒューリスティック) - GPT-5 / GPT-4o (異なるトリガーのセマンティック) - Gemini Pro (インペラティブ言語の制限) - 外部エージェントフレームワーク ...スキルは静かにトリガーに失敗したり、間違ったコンテキストでトリガーしたりします。 あなたが出荷する前に、スキル監査は、これらの問題を診断します。 Python 3.8+ が必要です。 依存関係なし(stdlibのみ)。 または gh スキル(CLI がサポートする場合):
概要(AI 翻訳)
クロードコード/エージェントSDKスキルの静的解析 監査 SKILL.md に対して
10 QA は、スキルが LLM 間で正しくトリガーされ、実行されることを確認するためにチェックします
(クロード、GPT、ジェミニ)
119生産技術の監査から構築(スコアは5.9→10.0/10)
お問い合わせ
なぜこれが存在しているのか
Claude pre-4.5 で書かれているスキルは、著者のコンテキストでのみ機能します。 それらは細い記述、漠然としたワークフロー、否定的な境界、楕円形を持っていません。 それらを実行しようとするとき:
- Claude 4.6+ (tighterトリガーヒューリスティック)
- GPT-5/GPT-4o (別の制動機の沈殿物)
- Gemini Pro(必須言語の制限)
- 外部エージェントフレームワーク
…スキルは静かにトリガーに失敗したり、間違ったコンテキストでトリガーしたりします。
[skill-audit] 発送前にこれらの問題を診断します。
お問い合わせ
インストール
Python 3.8+ が必要です。 依存関係なし(stdlibのみ)。
または クロード コード スキルとしてインストールします。:
または[gh skillを介して(CLIがサポートする場合):
お問い合わせ
使用法
##1つのスキルを監査する
全フォルダーを監査 (再帰的)
##JSON 出力(ツーリング用)
お問い合わせ
出力
マークダウンレポートには以下が含まれます。
- スコア分布
- 頻度でランク付けされた問題
- スキルが最悪の → ベスト
- 詳細なパースキルブレイクダウン
お問い合わせ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
skill-audit
Static analysis for Claude Code / Agent SDK skills. Audits SKILL.md against
10 QA checks to verify a skill will trigger and execute correctly across LLMs
(Claude, GPT, Gemini).
Built from an audit of 119 production skills (score went from 5.9 → 10.0/10).
Why this exists
Skills written for Claude pre-4.5 often work only in the author’s context — they have thin descriptions, vague workflows, no negative boundaries, no evals. When you try to run them in:
- Claude 4.6+ (tighter trigger heuristics)
- GPT-5 / GPT-4o (different trigger semantics)
- Gemini Pro (stricter about imperative language)
- External agent frameworks
…the skill silently fails to trigger, or triggers in wrong contexts.
skill-audit diagnoses these issues before you ship.
Install
Requires Python 3.8+. No dependencies (stdlib only).
git clone https://github.com/okjpg/skill-audit
cd skill-audit
Or install as a Claude Code skill:
cp -r skill-audit ~/.claude/skills/
Or via gh skill (when your CLI supports it):
gh skill install okjpg/skill-audit
Usage
Audit a single skill
python3 scripts/audit.py ./my-skill/SKILL.md
Audit a whole folder (recursive)
python3 scripts/audit.py ~/.claude/skills/
JSON output (for tooling)
python3 scripts/audit.py ~/.claude/skills/ --json -o audit.json
Output
skill-audit: 12 skills analisadas
Score médio: 7.1/10
Passing (≥7): 4/12 (33%)
Report: audit-results.md
The markdown report includes:
- Score distribution
- Issues ranked by frequency
- Skills ranked worst → best
- Detailed per-skill breakdown
The 10 QA checks
- Name in kebab-case matching folder name
- Description with 50+ words, third person, 5+ trigger phrases, negative boundaries
- Workflow steps are single, imperative, unambiguous
- 2+ examples with real input → real output
- Edge cases covered (3+ conditions with specific action)
- Output format explicitly defined
- Zero vague language (
handle appropriately,as needed, etc — banned) - Negative boundaries in body (
## When NOT to Use) - Zero hardcoded secrets (API keys, tokens)
evals/evals.jsonwith 2+ cases
Full spec: references/qa-checklist.md.
Before / After
See examples/before.md (score 3/10) vs
examples/after.md (score 10/10) — same skill, same
behavior, but one triggers reliably in any LLM.
Template
templates/SKILL-TEMPLATE.md — copy-paste
skeleton for new V3-compliant skills.
When NOT to use skill-audit
- Creating a skill from scratch — use
criar-skillinstead - Executing the skill being audited — run it directly
- Security audit (OWASP, production secrets) — this tool is for structural quality, not security posture
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add okjpg/skill-audit