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.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- invalid-skill-relative-link
- license
- Apache-2.0
- metadata
- { "usage": "Not invoked directly; used only as fixture input to the test suite.", "version": "1.0.0" }
- description
- Fixture whose body carries a relative Markdown link target, to test the P8.7 failure path. Use when the tests exercise the validator.
03 SKILL.md 正文
Purpose
Provide a fixture that fails exactly one rule: a Markdown link target is a relative path.
When to use
- Use when a test needs to confirm P8.7 rejects a relative link target.
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. See the authoring standard for detail — this link is the seeded violation.
Verification
The validator, run on this directory, exits 1, naming P8.7 and the offending target.
Error Handling
- If validation exits zero, abort and report the missed detection.
- If the fixture file is missing, escalate to the maintainer.
Example
framework/validate-skill.sh tests/fixtures/invalid-skill-relative-link
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-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.
Not This Directory
Otherwise-conformant fixture whose frontmatter name deliberately does not match its directory id, to test the name-equals-id failure path. Use when the tests exercise the validator.