diff options
| author | Joan Leon <joan.leon@gmail.com> | 2026-09-20 23:24:42 +0200 |
|---|---|---|
| committer | Joan Leon <joan.leon@gmail.com> | 2026-09-20 23:24:42 +0200 |
| commit | cb4366f0100f99caab9a20bd2d5ee6a382f6ef23 (patch) | |
| tree | 2350553ffccbb7aba0097dee72d94cdd08349788 /docs/commandcode-setup.md | |
| parent | dc27a9c2e13721158157632de61b4106c6c2a2a1 (diff) | |
fix(validator): check references/ links inside a skill's own references/ files (#585)
A file under skills/<name>/references/ sits one directory deeper than SKILL.md, so a link to a shared checklist needs ../../../references/ from there. The validator only read SKILL.md, which left that off-by-a-level mistake unguarded in the one place it can now happen (hardening-patterns.md on main, optimization-patterns.md in #580).
The rule is unchanged: only references/*.md links, fenced blocks exempt, paths that do not exist yet ignored. The file set grows to include the markdown files directly inside each skill's references/ directory, and every link resolves from the file that contains it. The failure hint names the three-level prefix when the violation is in a reference file.
Diffstat (limited to 'docs/commandcode-setup.md')
0 files changed, 0 insertions, 0 deletions
