/cc-skills-meta:evolve <target_directory_or_file>from cc-skills-meta
Unified modernization workflow to transform working code into high-standard systems.
Ships in cc-skills-meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Unified modernization workflow to transform working code into high-standard systems. Unifies diagnostic and transformation tools into a 4-phase process to eliminate technical debt and apply project standards.
When /evolve or /modernize is invoked:
context: fork to preserve main context tokens.| Phase | Goal | Key Tools |
|---|---|---|
| 1. AUDIT | Measure Debt | /complexity, /analyze --focus quality, /profile --baseline |
| 2. STRATEGY | Design Abstraction | /design, /plan, ADR Auto-draft |
| 3. EXECUTE | Transform Code | /refactor, /aid refactor, /checkpoint, /analyze --focus dead-code |
| 4. HARDEN | Certify Excellence | //p-2025, /verify, /audit, /profile --compare, /learn |
⚠️ MISSING TOOL: /profile command is referenced throughout this workflow but does not exist. Current workaround: Use /perf (detects anti-patterns) or manual timing. The /profile command should provide:
/profile <target> --baseline - Establish performance baseline (resource usage, timing)/profile <target> --compare - Compare before/after modernization metricsThis is a gap in tooling that prevents complete workflow execution.
radon cc reports CC > 10, it gets refactored./p-2025 production standards.| Failure | Symptom | Recovery |
|---|---|---|
| Bloat | Refactor suggests too many changes at once | Use /plan to chunk the evolution. |
| Regressions | /verify fails or performance drops | Roll back via /checkpoint-restore. |
| Logic Mismatch | AI misunderstands legacy intent | Use /aid refactor for deep semantic analysis. |
/debug — Use for triage if modernization reveals hidden bugs./rca — Use if a hotspot reveals a systemic flaw./analysis-profile — Used for baseline and verification gains./learn — The final "Seal" to update the CKS.| Don't | Do Instead |
|---|---|
| Refactor without a baseline | Run /complexity and /profile --baseline FIRST (Phase 1). |
| Only refactor "new code" | CC threshold applies to ALL code — legacy functions with CC > 10 must also be refactored. |
| Guess the new pattern | Use /design to validate Strategy (Phase 2). |
| Edit without safety | Run /checkpoint BEFORE any multi-file change. |
CRITICAL: All modernization recommendations MUST be filtered against solo-dev constitutional constraints.
Before suggesting any modernization, check against these prohibited patterns (CLAUDE.md:240-262):
| Pattern | Filter Because | Alternative |
|---|---|---|
lock ordering, acquisition order | Enterprise bloat | Use single RLock per object |
continuous monitoring | Background service prohibited | Use on-demand /health |
real-time metrics | Background service prohibited | Use query-based metrics |
self-healing | Autonomous execution prohibited | Manual fix with approval |
scalability requirement | Enterprise pattern prohibited | Optimize when needed |
enterprise-grade | Enterprise pattern prohibited | Use simple solution |
Before generating recommendations, ALWAYS run:
# Import the constitutional filter
from src.core.solo_dev_constitutional_filter import SoloDevConstitutionalFilter
filter_obj = SoloDevConstitutionalFilter()
# Check each proposed modernization
for action in proposed_modernizations:
result = filter_obj.check_action_item(action)
if result.violates_constitution:
# Skip this action - don't suggest it
continue
Modernization suggestions are high-risk for enterprise bloat:
/complexity — Find hotspots/profile --baseline — Establish baseline/design — Validate patterns (if CC > 10)/refactor — Apply synergies (if CC > 10)/analyze --focus dead-code — Purge orphans/verify — Validation/learn — Knowledge syncAfter audit, show updated block with completion markers:
AUDIT COMPLETE Highest CC: [value] | Average: [value]
/complexity — Find hotspots ✓/profile --baseline — Establish baseline/design — Validate patterns (if CC > 10)/refactor — Apply synergies (if CC > 10)/analyze --focus dead-code — Purge orphans/verify — Validation (recommend)/learn — Knowledge sync (recommend)If completed:
✅ Modernization complete. Code is production-grade, future-proof, and debt-free.
Version: 1.0.3 Updated: 2026-01-13
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (enduser123/cc-skills-meta) — no native marketplace selected
npx claudepluginhub p/enduser123-cc-skills-meta51 skills in this plugin
/behaveStructured behavioral analysis for LLM performance debugging — hypothesis testing for session patterns (loops, context degradation, decision inefficiency, cognitive overload, attention drift)/cksConstitutional Knowledge System - unified command for search, add, and session extraction/concept-mapperUnified concept mapping for learning, system architecture, and text analysis. Creates Mermaid diagrams for mind maps, concept maps, system diagrams, and knowledge structures. Use for studying, documentation, architecture visualization, or converting articles/text into visual maps./config-auditAudit Claude Code configuration artifacts (hooks, skills, CLAUDE.md, agents) for over-engineering, redundancy, and token waste. Uses model routing (haiku for research, sonnet for analysis) with decision memory./constitutional-patternsStandards for constitutional compliance and pattern enforcement./constraintsShow active project constraints from CLAUDE.md