upstream-lib-bug-workaround-template
Installation
SKILL.md
Writing a workaround you can delete later
A workaround is a debt with no due date unless you write one. Five parts, all of them in the comment next to the code:
- The mechanism, as far as you traced it. Where you stopped is part of the finding. Correct advice justified by a wrong "why" is an error, not a rounding error — the next person acts on the "why".
- The tradeoffs you accepted, named individually. Anything you knowingly gave up.
- An escape hatch, so that if the workaround itself fails the behaviour degrades instead of going silent.
- The removal condition, phrased as something an outsider could check: remove once upstream does X.
- Why your usage exposes it. Almost always the reason upstream cannot reproduce it.