AGENT SKILL

invalid-skill-missing-version

Fixture that omits metadata.version to test the version failure path. Use when the tests exercise the validator.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
invalid-skill-missing-version
license
Apache-2.0
metadata
{ "usage": "Not invoked directly; used only as fixture input to the test suite." }
description
Fixture that omits metadata.version to test the version failure path. Use when the tests exercise the validator.

03 SKILL.md 正文

Purpose

Provide a deliberately invalid fixture that exercises one validation failure path.

When to use

  • Use when a test needs a skill that fails exactly one rule.
  • Use when confirming the failure path names the offending field.

When not to use

Never reference this fixture from a real skill.

Inputs

None.

Outputs

An error message naming the offending field.

Verification

The validator exits non-zero for this directory.

Error Handling

  • If validation exits zero, abort and report the missed detection.

Example

framework/validate-skill.sh <this-dir>

04 同仓库更多 Skills