invalid-skill-duplicate-key
A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- invalid-skill-duplicate-key
- license
- Apache-2.0
- metadata
- { "usage": "Not invoked directly; used only as fixture input to the test suite.", "version": "1.0.0" }
- description
- A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
03 SKILL.md 正文
Purpose
Provide a fixture whose frontmatter declares the description key twice, to test the
duplicate-key failure path.
When to use
- Use when a test needs a skill that fails only the duplicate-key check.
When not to use
Never reference this fixture from a real skill or from any generated catalog or adapter shipped to users.
Inputs
None.
Outputs
A confirmation message.
Verification
The validator, run on this directory, exits 1.
Error Handling
- If validation exits non-zero, abort and report the failing rule id.
- If the fixture file is missing, escalate to the maintainer.
Example
framework/validate-skill.sh tests/fixtures/invalid-skill-duplicate-key
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.