I provide AI samples of my work, with context, which it does pretty well.
I have these patterns part of the command so it's no buried deep inside a context window. Claude is great at looking at the entire codebase and following the styles and approaches it comes across.