mirror of
https://github.com/K-Dense-AI/scientific-agent-skills.git
synced 2026-12-03 17:04:10 +08:00
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>