AGENT SKILL

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