analyze-code

Analyze code modules for refactoring opportunities, code smells, and architectural violations.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/selcukyucel/north-starr-genai --skill analyze-code-selcukyucel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-code
Source: https://github.com/selcukyucel/north-starr-genai/tree/main/skills/analyze-code
Command: npx skills add https://github.com/selcukyucel/north-starr-genai --skill analyze-code-selcukyucel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze code modules and files for refactoring opportunities, code smells, and architectural pattern violations in any language or framework. Use this skill when the user asks to analyze code smells, find refactoring opportunities, check for code quality issues, or review architecture for a specific module or file.

Core Features & Use Cases

  • Detect code smells, architectural violations, and anti-patterns across languages and frameworks.
  • Provide actionable refactoring recommendations aligned with project architecture and best practices.
  • Scope analysis to a specific module or file, delivering concrete remediation steps and optional code examples.

Quick Start

Analyze the specified module or file for refactoring opportunities, code smells, and architectural violations.

Frequently Asked Questions about analyze-code

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

FAQPage Schema
How do I find code smells and refactoring opportunities in a specific file?

Analyze the target module or file to identify code smells, anti-patterns, and architectural violations. The assessment scopes to your specified code, delivering a prioritized report with concrete remediation steps and suggested changes aligned to project architecture.

What are common code smells and architectural violations to check for during a review?

Common code smells and architectural violations include anti-patterns that breach project structure and best practices. Analyzing the module assesses scope, language context, and architecture to detect these issues, providing clear justification and actionable recommendations for concrete fixes.

Can I analyze code quality and detect anti-patterns across any programming language or framework?

Yes, you can detect code smells and anti-patterns across any programming language or framework. The analysis evaluates the given code module or file independently of specific dependencies, assessing architectural violations and providing actionable refactoring recommendations.

What is the best way to get actionable refactoring recommendations for a code module?

The best way to get actionable refactoring recommendations is to analyze the module's scope, language context, and architecture. This delivers a concise, prioritized report with clear justification, suggested code changes, and alignment to the project's architectural patterns.

Does the code analysis provide concrete fixes or just highlight code smells?

The code analysis provides concrete fixes rather than just highlighting code smells. It delivers a prioritized report featuring clear justification, suggested code changes, and optional code examples to remediate identified architectural violations and anti-patterns.