graph-refactor

Analyze cyclomatic complexity, dead code, and duplication to refactor codebases.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/luissimon96/orchestration-devops-agents --skill graph-refactor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-refactor
Source: https://github.com/luissimon96/orchestration-devops-agents/tree/main/.agents/skills/graph-refactor
Command: npx skills add https://github.com/luissimon96/orchestration-devops-agents --skill graph-refactor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a robust solution for managing tech debt, performing comprehensive refactoring audits, and maintaining high code quality.

Core Features & Use Cases

  • Tech Debt Management: Identifies complex, duplicated, unused, and over-engineered code for refactoring.
  • Complexity Analysis: Measures cyclomatic complexity and flags excessive nesting and long function lengths.
  • Dead Code Detection: Identifies and removes unused code to clean up the codebase.
  • Use Case: Before a major feature launch, this Skill helps reduce code complexity to ensure new code is easier to add and maintain.

Quick Start

Initiate a tech debt audit using the graph-refactor skill by running 'graph-refactor initiate'.

Frequently Asked Questions about graph-refactor

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

FAQPage Schema
How do I measure cyclomatic complexity to manage tech debt?

To identify dead code for refactoring, this Skill scans your codebase to detect and remove unused code. It performs comprehensive audits to clean up your project by flagging code that is no longer referenced or executed.

What is the best way to audit code duplication before a major feature launch?

The best way to audit code duplication before a feature launch is to run a comprehensive refactoring audit. This Skill analyzes your codebase to identify complex, duplicated, and over-engineered code, ensuring new code is easier to maintain.

How do I initiate a tech debt audit using the SQALE method?

To initiate a tech debt audit using the SQALE method, you can trigger this Skill to calculate technical debt metrics across your codebase. It applies SQALE method calculations and test verification to evaluate maintainable and clean code.

Can I use automated checks to detect over-engineered code in my codebase?

Yes, you can use automated checks to detect over-engineered code in your codebase. This Skill applies automated checks to identify potential issues like over-engineering, requiring test verification to ensure software environments prioritize maintainability.