Skill
API and Interface Design
Designs contracts that are hard to misuse and safe to change later.
Install
npx skills add addyosmani/agent-skills --skill api-and-interface-design
Triggers on
Yeni bir uç nokta, modül sınırı veya dışarıya açılan herhangi bir sözleşme tasarlanırken ya da mevcut biri değiştirilirken
Needs tools
ReadEdit
- Author
- Addy Osmani
- License
- MIT
The starting point is Hyrum's Law: once an interface has enough users, every observable behaviour becomes a contract, error message text and ordering included. So the skill pushes for a deliberately small exposed surface, no leaked implementation details, and a removal path decided at design time rather than discovered later. The same approach applies to REST endpoints, GraphQL schemas, module boundaries and component props.

Comments(0)
Sign in to comment