ln-33-code-modernizer

Featured

Modernizes a bounded capability by removing obsolete custom mechanisms or reducing bundle and maintenance cost. Use for proven modernization value; not routine upgrades or tuning.

AI & Automation 558 stars 83 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Code Modernizer **Goal:** Modernize a bounded capability only when the new design measurably reduces human workflow friction, maintenance, risk, dependency duplication, or delivered artifact cost. Preserve behavior, isolate migrations, and revert changes that do not create net value. **Execution contract:** Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. `N/A`, skipped, unavailable, or delegated items remain incomplete. Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend **Checklist: X/Y complete**<br>**Incomplete: None | section/item — reason; outcome impact; exact next action**; list every incomplete item. ## Tool Routing | Need | Preferred tool | Use it when | Fallback | |---|---|---|---| | Current mechanism and consumers | Native file search plus language server or host-native code intelligence | Mapping contracts, callers, configuration, data, lifecycle, and tests | Narrow import, symbol, route, and configuration search with direct reads | | Existing platform capabilities | Manifests, lockfiles, runtime APIs, and current official documentation | Avoiding new dependencies or custom code for an already available feature | Repository examples and source inspection; mark capability `UNVERIFIED` if current docs are unavailable | | External replacement candidates | Officia...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
10 months ago
Last Updated
6 days ago
Language
PowerShell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

code-modernizer

Modernize or refactor a legacy codebase incrementally while preserving business logic. Replaces hand-rolled logic with the standard library, a native feature, an already-installed dependency, or (only after live research) a well-vetted new package, then applies minimal design patterns to whatever custom code remains. Confirms scope first (full-codebase, one module/partial, or only the exact lines named) and flags file count, line count, and breaking-change risk before generating a large diff, asking instead of assuming when scope, a library choice, or a behavior change is unclear. Use for migrations (framework/language/version upgrades), killing tech debt, refactoring an old project, or "bring this up to date". Use whenever the user asks to refactor, modernize, de-bloat, clean up, simplify, upgrade, or audit code; asks "is there a library for this", "don't reinvent the wheel", "replace with a framework", "reduce boilerplate", or "apply proper design patterns"; wants a root-cause fix over a quick patch; says "

2 Updated 4 days ago
CodeWithJuber
AI & Automation Listed

legacy-modernizer

Use when modernizing legacy systems, implementing incremental migration strategies, or reducing technical debt. Invoke for strangler fig pattern, monolith decomposition, framework upgrades.

3 Updated yesterday
zacklecon
AI & Automation Listed

golang-modernize

Continuously modernize Golang code to use the latest language features, standard library improvements, and idiomatic patterns. Use this skill whenever writing, reviewing, or refactoring Go code to ensure it leverages modern Go idioms. Also use when the user asks about Go upgrades, migration, modernization, deprecation, or when modernize linter reports issues. Also covers tooling modernization: linters, SAST, AI-powered code review in CI, and modern development practices. Trigger this skill proactively when you notice old-style Go patterns that have modern replacements.

12 Updated yesterday
yzfly