current-distortion

Identify code distortions in legacy repositories and generate a structured Part A/B/C Markdown report.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/t-hasuike/CLysis --skill current-distortion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: current-distortion
Source: https://github.com/t-hasuike/CLysis/tree/main/legacy-analysis/skills/current-distortion
Command: npx skills add https://github.com/t-hasuike/CLysis --skill current-distortion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Distortion Analysis identifies and organizes risks lurking in legacy code across multiple repositories, enabling structured decision-making and remediation planning.

Core Features & Use Cases

  • Detects distortions using a 2-phase workflow that yields a unified Part A/B/C distortion report.
  • Supports cross-repo risk patterns (P1-P11) and root-cause mapping (A-E) to guide remediation.
  • Applicable to multi-repo projects and cross-service boundaries to surface governance and design flaws.

Quick Start

To begin, run Phase 1 on your target repository to collect risks, then proceed to Phase 2 to generate the integrated distortion report.

Frequently Asked Questions about current-distortion

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

FAQPage Schema
How do I detect code distortions and analyze risks in legacy repositories?

To detect code distortions in legacy repositories, run a two-phase workflow that collects risks and generates a structured Part A/B/C Markdown report. This process identifies root causes and maps remediation ideas across multi-repo projects.

What are cross-repo risk patterns and how do they map to root causes?

Cross-repo risk patterns P1-P11 and root-cause mappings A-E are structured classifications used to identify governance and design flaws across service boundaries. They guide the consolidation of distortion findings into a unified remediation report.

How do I generate a structured distortion report for multi-repository projects?

Generating a structured distortion report involves running Phase 1 to collect risks across target repositories, then executing Phase 2 to consolidate findings into a unified Part A/B/C Markdown report. This surfaces root causes and remediation strategies.

Can I use distortion analysis across cross-service boundaries in legacy code?

Yes, distortion analysis is applicable across multi-repository projects and cross-service boundaries. It reveals governance and design flaws by relying on business-process mappings and risk patterns to surface underlying root causes.

What is the workflow for identifying legacy code distortions and root causes?

The workflow for identifying legacy code distortions enforces a two-phase process using business-process mappings and risk patterns. It consolidates findings into a Part A/B/C report to reveal root causes and guide remediation planning.

When do I need a structured risk analysis report for legacy code?

You need a structured risk analysis report when dealing with legacy code across multiple repositories to enable structured decision-making. It organizes lurking risks and maps root causes to guide remediation planning across services.