Files
Yuhuan HeandClaude Opus 5.5 2aa313a4e0 fix(tests): ignore cache files when finding script-bearing skills
script_bearing_skills() counted a skill as shipping scripts when
anything at all existed under scripts/, including gitignored
__pycache__/ left by running a script by hand. A local checkout where
parallel-web (which ships no scripts) had a stale scripts/__pycache__/
then failed test_every_skill_with_scripts_has_a_test_suite, even though
a clean checkout passes.

Count only real files, skipping bytecode, __pycache__ and dotfiles such
as .DS_Store. Paths are checked relative to scripts/, so a checkout
under a dot-directory is unaffected. On a clean tree the result matches
the set of skills with git-tracked scripts (121).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 14:52:24 -07:00
..