reversa-paradigm-advisor

Detects legacy system paradigms and guides migration decisions for target stacks.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/Helcio-Nogueira/Painel_Inteligente_Hackaton_2026 --skill reversa-paradigm-advisor-helcio-nogueira
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reversa-paradigm-advisor
Source: https://github.com/Helcio-Nogueira/Painel_Inteligente_Hackaton_2026/tree/main/.agents/skills/reversa-paradigm-advisor
Command: npx skills add https://github.com/Helcio-Nogueira/Painel_Inteligente_Hackaton_2026 --skill reversa-paradigm-advisor-helcio-nogueira

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Migrating a legacy system to a new stack often fails because teams treat it as a syntax change when it is actually a paradigm shift. This Skill detects the programming paradigm of a legacy system from its specification artifacts, infers the natural paradigm of the declared target stack, and forces a conscious, documented decision about how to handle the gap. ## Core Features & Use Cases - Paradigm Detection: Classifies the legacy system as procedural, OO classic, OO with DI, functional, event-driven, actor model, dataflow, or hybrid, with citable evidence and confidence levels (confirmed, inferred, gap, ambiguous). - Gap Analysis: Maps the legacy-to-target paradigm pair against a catalog of typical gaps and presents at least four concrete implications citing actual legacy rules and flows. - Decision Recording: Presents three options (adopt target paradigm, force legacy paradigm, hybrid) and writes the user's choice into paradigm_decision.md with a derived appetite (conservative, balanced, transformational) for downstream agents. - Use Case: When migrating a Rails monolith to Node.js, the Skill detects OO classic with Active Record, infers event-driven as Node's natural paradigm, and documents the user's decision on how to handle synchronous-to-async implications. ## Quick Start Run /reversa-paradigm-advisor after the migration brief exists to analyze the legacy paradigm and record a paradigm decision for the migration team.

Frequently Asked Questions about reversa-paradigm-advisor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect the programming paradigm of a legacy system before migration?▼

Analyze the system's specification artifacts for signals like aggregates, inheritance, event flows, or linear controller logic. This Skill classifies the paradigm as procedural, OO, functional, event-driven, actor model, dataflow, or hybrid, with evidence citations and confidence levels.

What is a paradigm gap in legacy code migration?▼

A paradigm gap is the mismatch between the legacy system's programming model and the natural paradigm of the target stack, such as moving from synchronous OO to event-driven Node.js. It affects error handling, consistency, and transaction design, not just syntax.

What inputs does the paradigm advisor need to run?▼

It requires a migration_brief.md file declaring the target stack, plus discovery artifacts like domain.md, architecture.md, and inventory.md in the specs directory. It operates only on specifications and never reads legacy source code.

What happens if the legacy paradigm cannot be detected?▼

The Skill records the paradigm as a gap with the lowest confidence level and asks the user to confirm based on their knowledge of the legacy system. It never invents evidence without a reference to a source artifact.

What output does the paradigm decision workflow produce?▼

It writes paradigm_decision.md containing the detected legacy paradigm, inferred target paradigm, gap severity, the user's chosen option, and a derived appetite (conservative, balanced, or transformational). Downstream agents like Curator and Strategist must read it before proceeding.