skill-auditor
審核與驗證技能定義
技能經常存在格式問題或結構缺陷,這會降低其效能。此技能提供自動化驗證與評分標準,確保所有技能在發布前符合品質標準。使用它來及早發現問題,並維持技能庫的一致性。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "skill-auditor". Audit all skills in .claude/skills/
النتيجة المتوقعة:
- Skill: code-review-expert - Score: 9.2/10 - Excellent
- ✓ Frontmatter present with name and description
- ✓ When to Use section found
- ✓ Workflow section found
- ✓ Word count: 850 (within limits)
- ✓ No TODO placeholders
- Skill: pdf-processor - Score: 6.1/10 - Needs Work
- ✗ Missing Workflow section
- ✗ 3 TODO placeholders found
- → Recommendation: Consider splitting into sub-skills
استخدام "skill-auditor". Audit my-skill with JSON output
النتيجة المتوقعة:
- 顯示包含驗證結果的結構化 JSON
- 包含分數、字數、TODO 計數
- 列出所有發現的錯誤和警告
- 提供分解建議
التدقيق الأمني
آمنThis skill audits other skills by reading SKILL.md files in user-specified directories. It parses YAML frontmatter, validates structure, counts words and TODOs, and produces quality scores. No network access, no code execution, no sensitive data access. All 103 static findings are false positives from misinterpreted documentation patterns.
عوامل الخطر
⚙️ الأوامر الخارجية (35)
🌐 الوصول إلى الشبكة (1)
📁 الوصول إلى نظام الملفات (1)
درجة الجودة
ماذا يمكنك بناءه
發布前驗證
在分享前對技能執行審核,以發現格式問題並提升品質。
批次技能驗證
檢查儲存庫中所有技能是否符合既定慣例和品質標準。
強制執行標準
使用評分標準確保提交的技能在接受前達到最低品質門檻。
جرّب هذه الموجهات
Use skill-auditor to audit the skill at .claude/skills/my-skill/ and show the quality score.
Run skill-auditor on the entire .claude/skills/ directory and output results as JSON.
Use skill-auditor with the --fix flag to auto-correct formatting issues in all skills.
Audit all skills and identify which ones should be split into sub-skills based on decomposition criteria.
أفضل الممارسات
- 在發布技能前執行審核,及早發現問題
- 處理關於缺少區塊或字數過高的警告
- 使用分解分析來識別何時應拆分技能
تجنب
- 在未驗證結構的情況下發布技能
- 忽略描述中關於 TODO 佔位符的警告
- 保留字數超過 5000 字的技能