demo
Mixed-span fixture — one fenced span holds both a path-mention (dropped) and a real invocation missing --feature (kept)
- License 许可
- MIT
- 最近更新
- 2026-10-28
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- demo
- description
- Mixed-span fixture — one fenced span holds both a path-mention (dropped) and a real invocation missing --feature (kept)
03 SKILL.md 正文
A single fenced block below contains BOTH a .sh path-mention and a separate
real invocation. The per-match command-position predicate must drop the
path-mention and keep the real run, producing exactly one E101.
cat claude/hooks/cortex-worktree-create.sh
cortex-worktree-create --base-branch main
The first line references the hook filename (path-prefixed, .sh suffix) and
must not be flagged. The second line is a genuine invocation missing the
required --feature flag and must produce E101.
04 同仓库更多 Skills
over-cap-no-marker
Synthetic fixture with 501 lines and no size-budget marker.
invalid-marker
Synthetic fixture exercising the invalid-marker failure path.
boundary-29-char-reason
Synthetic fixture with marker rationale at the regex boundary (29 chars, just under min).
valid-with-inputs
A skill that declares one input variable and uses it in the body.
valid-minimal
A minimal skill with only the required fields present.
invalid-undeclared-variable
A skill whose body uses a variable not declared in inputs.