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.
Scans legacy codebases to detect implicit code-style conventions across architecture dimensions, guides user through style conflicts, and persists rules to prevent AI style drift. Language- and framework-agnostic.
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.