Claude Code Dan Geabunea Claude Code Dan Geabunea

Polymorphic Claude Code Skills: Separate the Stable Process from Concrete Implementations in Your SKILL.md

Most Claude Code skills collapse into a tangle of if/else conditionals as you add output formats — bloating SKILL.md and burning context-window tokens. Borrowing two classic design patterns, Strategy and Template Method, you can keep one stable process and swap implementations from a resources/ folder. Here's how to build a polymorphic PR-summary skill that outputs a bullet list, prose, or a diagram on demand — without the bloat.

Read More
AI, Claude Code Dan Geabunea AI, Claude Code Dan Geabunea

Why Claude Code Gets Worse the Longer You Use It — And How to Fix It

A 1M token context window sounds like a license to load everything into Claude Code and let it figure things out. The research — and a few painful debugging sessions — say otherwise. Past roughly 100k tokens, reasoning quietly degrades while the model keeps sounding confident. Here's how to work with the attention budget instead of against it.

Read More