The pr-description skill's pre-fetched context shell pattern ends with a truncation guard shaped like:
[ ${#d} -gt 20000 ] && printf ...
When the branch diff is under 20k chars the test returns exit 1, so the whole pre-fetch is treated as failed even though the diff was produced fine — the skill errors on exactly the small PRs it should handle most easily.
Fix: append || true (or restructure as an if) after the truncation check so a short diff exits 0.
Scope: observed in clownware-astro-tools:pr-description (2026-08-12, in eat-local-starve-global). The same pattern likely exists in clownware-code-tools:pr-description and clownware-go-tools:pr-description — check all three.
🤖 Generated with Claude Code
The
pr-descriptionskill's pre-fetched context shell pattern ends with a truncation guard shaped like:When the branch diff is under 20k chars the test returns exit 1, so the whole pre-fetch is treated as failed even though the diff was produced fine — the skill errors on exactly the small PRs it should handle most easily.
Fix: append
|| true(or restructure as anif) after the truncation check so a short diff exits 0.Scope: observed in
clownware-astro-tools:pr-description(2026-08-12, in eat-local-starve-global). The same pattern likely exists inclownware-code-tools:pr-descriptionandclownware-go-tools:pr-description— check all three.🤖 Generated with Claude Code