From kotlin-refactoring
Apply when applying (or planning) changes and existing codebase patterns conflict or differ from any loaded claude skill code patterns. Always ask the user whether to follow the skill recommendations or maintain consistency with existing code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kotlin-refactoring:aligning-existing-code-with-guidelinesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Loaded skills provide best practice guidelines, but existing codebases often use different patterns. This skill ensures you always ask the user which approach to follow rather than imposing guidelines that break codebase consistency.
Loaded skills provide best practice guidelines, but existing codebases often use different patterns. This skill ensures you always ask the user which approach to follow rather than imposing guidelines that break codebase consistency.
When you detect conflicts between skill guidelines and existing code patterns
When you notice the existing code contradicts a loaded skill guideline, identify:
After the user chooses, apply that approach consistently throughout your implementation. Don't question or second-guess their choice.
npx claudepluginhub allousas/claude-code-plugins --plugin kotlin-refactoringScans legacy codebases to extract implicit conventions and prevent AI style drift. Language-agnostic; generates an enforceable .ai-style-rules.md.
Polishes code changes before PR by recovering branch context, checking against codebase guidelines for changed files, removing AI slop like extra comments and casts, and final review.
Use when contributing code to an existing project - guarantees that every new line mirrors the established conventions, naming schemes, architectural layering, directory layout, and stylistic choices already present in the codebase rather than drifting toward generic AI defaults