Add typed-remotes skill

A bare Remote is Remote<any>: name what a reference is, declare
buildRootObject with @satisfies so its root type can be exported, and
put the one cast where the kernel loses the type. Fixed twice in vattr97
code and back again, because toybox's CONTRIBUTING called bare Remote
the one place any was fine; so the skill also says to fix the guidance
and add a lint rule.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-11-18 01:45:20 -06:00
1 parent 5118c5c9b0
commit 8eaff2bf7a
2 files changed
+68

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ Code](https://code.claude.com/docs/en/skills) and
instrument.
- [silent-failures-are-evil](silent-failures-are-evil/SKILL.md) — every
failure path leaves a trace in the logs.
- [typed-remotes](typed-remotes/SKILL.md) — `Remote<X>`, never a bare
`Remote`; `@satisfies`, not `@type`; and a lint rule so it stays fixed.
- [lazy-tdd](lazy-tdd/SKILL.md) — works the first time? fine. Goofed?
You owe a test.
- [py-doctest](py-doctest/SKILL.md) — Python tests are doctests on the