# To find the right skill for new logic, ask how many cases could share it

Date: 2026-10-20 · Kind: mini-case · Context: personal

I [split my publishing skills](https://alexeye.fyi/log/2026-10-19-shared-functionality-goes-into-own-skill) into `log-to-site`, which publishes entries to my site, and `work-in-public`, which interviews me. Then I was adding a check for earlier entries that make the same point. The AI agent proposed that `log-to-site` only find such entries, while the skills calling it would offer me a shorter version with links; I moved the whole check, including the dialog, into `log-to-site`.

Apart from `work-in-public`, many other skills can use `log-to-site`, and adding the same logic to each of them would be overhead. I feel that **the logic of interacting with a user is always too complex to duplicate**.

HTML version: https://alexeye.fyi/log/2026-10-20-find-right-skill-for-new-logic
