Coding assistants like Copilot and Claude Code benefit from structured instructions, but loading too much context wastes tokens. Agent skills solve this by providing modular instruction sets (SKILL.md files) that are only loaded when relevant, rather than polluting every session's context. Claude Code automatically discovers and invokes skills based on front matter metadata describing when each skill applies. A practical Kotlin skill example is shown, including how to reference cached coding conventions and provide good/bad code examples within the skill file.

5m read timeFrom blog.frankel.ch
Post cover image

Sort: