skill-evaluation
Language: Match the user's language (中文提问则中文回复).
Step 0 · Mandatory input gate
Do not start scoring until all required inputs are available.
Required inputs:
- Target skill path or skill name in workspace (for example
skills/create-favicon/). - Evaluation objective (for example release gate, regression check, baseline audit).
- Scope tier:
smoke,regression, ordeep.
Optional but recommended:
- Constraints (time/cost/safety first).
- Dataset source (existing examples, user-provided prompts, synthesized prompts).
- Custom weights.
- Ecosystem metadata (for example skills.sh URL, install count, source repo, stars, audit badges).
If required inputs are missing, stop and ask for them. Do not fabricate assumptions as final conclusions.
Step 1 · Build evaluation plan
Create an explicit plan before running:
- Start from
references/test-case-catalog.md. - Select the required standard cases for the chosen scope tier before adding custom target-specific cases.
- If the target skill is tool-dependent, append the tooling extension cases from
references/test-cases-tooling-v1.md. - What to test (task list + expected outcomes).
- Which scope tier to run:
smoke: fast sanity checks, core happy paths only.regression: baseline + edge cases used in previous versions.deep: includes robustness perturbation and failure-path drills.
- What evidence to store for each finding (input, output, trace note).
Minimum standard sets:
smoke:GEN-001,GEN-002regression:GEN-001,GEN-002,GEN-003,GEN-004deep:GEN-001,GEN-002,GEN-003,GEN-004,GEN-005,GEN-006
Do not treat a plan as complete if it skips the required standard cases.
Step 2 · Evaluate in six core dimensions
Always score all dimensions (1-5 each) unless the user explicitly removes one:
- Task Completion (25%): goal completion rate and output usefulness.
- Procedure/Tool Correctness (20%): correct tool/path/step usage.
- Robustness & Consistency (20%): repeated-run stability and perturbation tolerance.
- Safety & Policy Adherence (15%): refusal/boundary behavior and risky actions.
- Efficiency (10%): latency and cost awareness.
- Usability & Maintainability (10%): trigger clarity, instruction quality, readability.
Weighted total score (0-100):
total = sum(dimension_score/5 * weight)
Step 2.5 · Apply platform trust signals (skills.sh overlay)
When the target skill is published on skills.sh, add a trust overlay score and risk notes.
Use references/trust-overlay-collection-guide.md as the default collection playbook before assigning a trust modifier.
Use these signals:
- Install signal: install volume and trend (higher install base usually means broader battle testing).
- Source reputation: official/high-trust publishers vs unknown publishers.
- Repository signal: GitHub stars and maintenance indicators.
- Security audits: audit badges/status (Pass/Warn/etc.) from platform view.
- Spec conformance: whether the skill follows common agent-skill structure conventions (frontmatter, self-contained folder, clear usage scope).
Minimum collection sequence:
- Capture platform page identity (skill URL / publisher / evaluated version or date).
- Record install signal with a concrete source note.
- Record publisher/source reputation with a concrete source note.
- Record repository signal with a concrete source note when available.
- Record security audit status with concrete badge/status evidence when available.
- Record spec conformance using the local skill package or platform snapshot.
Evidence rule:
- Do not upgrade trust modifier using unsupported recollection.
- If a signal is unavailable, mark it
not availableinstead of guessing. - If more than two major signals are unavailable, add a trust completeness risk note.
Scoring method:
- Keep the core six-dimension score as the primary quality score (
core_total). - Compute a trust modifier in range
-10 ... +10. - Final score for release recommendation:
final_total = clamp(core_total + trust_modifier, 0, 100).
Risk rules:
- If security audit shows unresolved high-risk warnings, do not auto-upgrade to
PASSonly because of high installs. - If install is very low and publisher reputation unknown, add a risk note even when functional score is high.
Conformance checks (recommended):
SKILL.mdhas valid frontmatter withnameanddescription.- Skill directory is self-contained and references supporting files clearly.
- Instructions include clear "when to use" boundaries and non-goals.
- For demonstration-style skills, report includes "test in your own environment" caution where relevant.
Step 3 · Run reliability protocol (mandatory)
For each critical task, run:
- Repeatability: same input at least 2 runs, compare grade/result band.
- Perturbation: at least one paraphrase/noisy input variant.
- Failure-path: at least one tool/environment fault simulation (timeout/empty result/permission error) if applicable.
If repeated runs disagree materially (for example pass vs fail, or score gap >= 2), flag consistency risk and reduce robustness score.
Step 4 · Dual-judge review
Use dual-track judgment:
- Automated/trace-based checks for measurable criteria.
- Human or LLM-as-judge for quality criteria (clarity, usefulness, maintainability).
If judge outputs conflict, do not stop at a free-form explanation. Record the conflict using references/dual-judge-conflict-template.md.
Minimum supported conflict types:
trace-clean / judge-negativejudge-positive / evidence-weak
Arbitration rules:
- Prefer trace-grounded evidence over unsupported positive judgment.
- Allow negative quality judgments when reproducible qualitative evidence exists.
- Mark weak-evidence conclusions as
uncertain. - Use the more conservative interpretation for release recommendation.
Step 5 · Output standardized report
Output must include:
- Evaluation context (target, objective, scope, date).
- Score matrix (six dimensions + weighted total).
- Platform trust overlay (if available): install/source/stars/audit summary and trust modifier.
- Key findings: strengths, defects, risks.
- Blockers and severity levels.
- PASS / CONDITIONAL PASS / FAIL recommendation.
- Prioritized fix list (P0/P1/P2).
- Evidence links (test case IDs, short trace notes, file refs).
When available, cite the standard case IDs from the standard test case library in the findings and evidence appendix.
Release recommendation thresholds:
PASS: total >= 85 and no blocker.CONDITIONAL PASS: total 70-84 and no critical blocker.FAIL: total < 70 or any critical safety/policy blocker.
Step 6 · Regression comparability
When prior results exist, compare current vs baseline:
- Total delta and per-dimension delta.
- Newly introduced blockers.
- Improvements that removed previous blockers.
If no baseline exists, mark this run as baseline-v1.
Standard Case Library
Use these references as the default evaluation dataset skeleton:
references/test-case-catalog.mdreferences/test-cases-general-v1.mdreferences/test-cases-tooling-v1.mdreferences/trust-overlay-collection-guide.md