skill-official-evaluation
>
>
ALWAYS use this skill when the user asks to:
--help, secrets, structured output)Trigger phrases include:
When NOT to use (near-miss boundaries):
skill-trace-evaluation instead (TRACE model covers T/R/A/C/E, while official evaluation focuses on spec compliance)skill-awesome insteadskill-awesome insteadIMPORTANT: Official Evaluation vs TRACE Evaluation — Two Different Evaluation Models:
This skill and skill-trace-evaluation evaluate skills using different frameworks:
Official Evaluation (this skill): Based on the official Agent Skills specification from agentskills.io. Checks structural compliance, naming rules, frontmatter correctness, and script safety. Answers "Does this skill follow the rules?"
TRACE Evaluation (different skill): Based on the SkillHub TRACE quality model. Scores across Trust, Reliability, Adaptability, Convention, and Effectiveness. Produces radar charts and per-dimension scores. Answers "How good is this skill?"
When both skills could apply:
skill-trace-evaluationCRITICAL: This skill evaluates a target skill against the official Agent Skills specification. The evaluation conclusion is explicitly based on the official specification and best practices published at agentskills.io. Do not invent requirements not present in the official sources.
To evaluate a skill:
SKILL.md file. If not found, report "SKILL.md not found" and stop.scripts/, references/, assets/..skill or .zip archive, only unpack when explicitly asked; otherwise evaluate from provided excerpts.Use references/official-rubric.md as the evaluation checklist. The rubric has five inspection dimensions:
| Check | What to verify |
|-------|---------------|
| SKILL.md exists | The skill root must contain a SKILL.md file |
| Frontmatter present | YAML frontmatter delimited by --- at the top of SKILL.md |
| name field | Must match the parent directory name. Lowercase letters, digits, and hyphens only. 1-64 characters. No leading/trailing hyphens, no consecutive --. |
| description field | Non-empty, max 1024 characters. Must describe both what the skill does AND when to use it. Should not be overly broad. |
| Optional fields format | If license, compatibility, metadata, or allowed-tools are present, verify their formatting is valid. |
| Directory structure | Optional directories must follow conventions: scripts/ for executable code, references/ for on-demand docs, assets/ for templates and resources. |
| Check | What to verify |
|-------|---------------|
| SKILL.md conciseness | Body stays concise and actionable. Ideally under 500 lines / 5000 tokens. |
| Details in references/ | Long explanations, reference tables, and supplementary content moved to references/. |
| Clear reference triggers | When a reference file is mentioned, the skill tells the agent WHEN to load it ("Read references/api-errors.md if the API returns a non-200 status code"). |
| No deep reference chains | References should be one level deep from SKILL.md. Avoid references that point to other references. |
| Check | What to verify | |-------|---------------| | User-intent language | Description uses words users would naturally say, not implementation jargon. | | Not implementation-only | Description goes beyond "Processes X files" — it tells the agent when the user needs X processed. | | Trigger boundaries | Description contains both "should trigger" and "should not trigger" signals where applicable. |
scripts/ exists)Use references/script-safety-checklist.md to verify:
| Check | Requirement |
|-------|-------------|
| Non-interactive | No TTY prompts. All inputs via flags, env vars, or stdin. |
| --help available | Prints usage, options, and examples. |
| Clear error messages | Errors say what failed, what was expected, and what to try next. |
| No secrets | No hardcoded tokens, keys, or passwords. |
| Safe defaults | Destructive operations require --force or --confirm. |
| Structured output (recommended) | --format json option. Data to stdout, diagnostics to stderr. |
| Idempotency (recommended) | Repeated runs do not corrupt state. |
| Check | What to verify | |-------|---------------| | No secrets in files | Scan SKILL.md, scripts, and other text files for hardcoded tokens, API keys, passwords. | | No suspicious instructions | The skill must not instruct the agent to download from untrusted sources, exfiltrate data, or execute obfuscated code. | | Risky operations guidance | If the skill involves destructive operations, it must instruct the agent to get explicit user confirmation. |
The bundled script automates data collection and formatting:
python3 scripts/official_evaluate.py --help
# Generate a Markdown evaluation report
python3 scripts/official_evaluate.py --skill-dir <path> --format md
# Generate machine-readable JSON
python3 scripts/official_evaluate.py --skill-dir <path> --format json
# Write to a file
python3 scripts/official_evaluate.py --skill-dir <path> --format md --output report.md
The script performs automated checks for:
After running the script, you MUST supplement the automated results with qualitative assessment for:
The report MUST include these sections, in order:
# Official Skill Evaluation Report
Target: `<path-to-skill-directory>`
## Conclusion
- Overall conclusion: **Pass** / **Needs improvement** / **Fail**
- Top issues:
1. ...
2. ...
3. ...
## Compliance Checklist
| Item | Result | Evidence | Suggestion |
|------|--------|----------|------------|
| SKILL.md frontmatter present | Pass/Fail | ... | ... |
| name matches directory | Pass/Fail | ... | ... |
| name format valid | Pass/Fail | ... | ... |
| description present & valid | Pass/Fail | ... | ... |
| license field | Pass/Needs improvement | ... | ... |
| Optional directories organized | Pass | ... | ... |
| Progressive disclosure | Pass/Needs improvement | ... | ... |
| Description trigger quality | Pass/Needs improvement | ... | ... |
| Script safety (if applicable) | Pass/Fail/N/A | ... | ... |
| Security & secrets scan | Pass/Fail | ... | ... |
## Risks & Limitations
- ...
## Improvement Suggestions (prioritized)
1. ...
2. ...
3. ...
| Level | Criteria | |-------|----------| | Pass | All MUST items pass. SHOULD items are reasonably met. No security findings. | | Needs improvement | All MUST items pass, but SHOULD items have significant gaps. No security findings. | | Fail | One or more MUST items fail, OR security findings detected. |
scripts/ directory), state "N/A — no scripts/ directory" as evidence.After producing the evaluation report:
English keywords: official-evaluation, spec-compliance, skill-review, skill-audit, frontmatter-check, naming-validation, description-quality, script-safety, security-scan, progressive-disclosure, official-rubric, agentskills-spec, skill-assessment, compliance-report, skill-inspection, format-check, structure-review
Chinese keywords (中文关键词): 审查技能合规, 官方规范评估, Skill 规范检查, 技能安全审计, 检查 SKILL.md 格式, 检查技能结构, 生成官方评估报告, 根据官方规范评估技能, 技能合规检查, 技能评估报告, frontmatter 检查, 技能命名检查, 技能描述检查, 脚本安全检查, 渐进式披露检查, 官方规范审查