pattern-matching
Installation
SKILL.md
Pattern Matching
Overview
Every codebase has a fingerprint. Your job is to replicate that fingerprint so precisely that no reviewer can tell where the original ends and your contribution begins.
Core principle: Observe before you act. Every function, file, and folder you produce must have a living precedent somewhere in the repository. If you cannot point to the model you followed, you have already introduced drift.
No exceptions. No workarounds. No shortcuts.
The Prime Directive
EVERY ADDITION MUST MIRROR AN EXISTING PRECEDENT
When the repository favors snake_case, you write snake_case. When services live under src/domain/, your service lands there too. When errors propagate through a custom Result<T> type, you adopt it without question. There is no room for personal preference.