A practical guide to writing better AI agent skills, with principles for routing, procedure design, scripts, verification, and feedback loops.