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
valid-skill
A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
invalid_skill_bad_id
Fixture whose directory name is not kebab-case, to test the id failure path. Use when the tests exercise the validator.
invalid-skill-undeclared-key
A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
invalid-skill-short-description
暂无简介
invalid-skill-relative-link
Fixture whose body carries a relative Markdown link target, to test the P8.7 failure path. Use when the tests exercise the validator.
invalid-skill-nondeterministic-criterion
Fixture whose decision criteria depend on when they are read, to test the P6.4 failure path. Use when the tests exercise the validator.