AgentSkillsCN

skill-quality-auditor

为Gemini Skills单体仓库打造自检工具,全面保障所有技能的SKILL.md质量、脚本功能与测试覆盖率。

SKILL.md
--- frontmatter
name: skill-quality-auditor
description: Self-audit tool for the Gemini Skills monorepo. Ensures SKILL.md quality, script functionality, and test coverage for all skills.
status: implemented

Skill Quality Auditor

Self-audit tool that scores every implemented skill against a 12-point quality checklist.

Usage

node skill-quality-auditor/scripts/audit.cjs [options]

Options

FlagAliasTypeRequiredDescription
--dir-dstringNoProject root directory (default: cwd)
--skill-sstringNoAudit a single skill by name
--min-scorenumberNoMinimum passing score 0-12 (default: 0)

Quality Checks (12 total)

  1. SKILL.md has valid frontmatter (name, description, status)
  2. SKILL.md has Troubleshooting section
  3. SKILL.md has Usage section
  4. Has package.json
  5. Has executable script in scripts/
  6. Uses skill-wrapper (runSkill/runSkillAsync)
  7. Uses yargs for CLI arguments
  8. Uses validators.cjs for input validation
  9. Has TypeScript type definitions
  10. Has unit test coverage
  11. Has integration test coverage
  12. Has proper error handling

Troubleshooting

ErrorCauseFix
SKILL.md not foundRunning from wrong directoryEnsure --dir points to monorepo root
No implemented skills foundNo skills with status: implementedCheck SKILL.md frontmatter in skill directories

Knowledge Protocol

  • This skill adheres to the knowledge/orchestration/knowledge-protocol.md. It automatically integrates Public, Confidential (Company/Client), and Personal knowledge tiers, prioritizing the most specific secrets while ensuring no leaks to public outputs.