AGENT SKILL

quickstart

暂无简介

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

03 SKILL.md 正文

complexity - Code Complexity Analyzer

Commands

  • complexity <resource> <action> — Execute complexity commands
  • complexity analyze code — Analyze code complexity
  • complexity _ _ — Passthrough to complexity CLI

Overview

complexity is a command line tool to identify complex code. Analyze code complexity and identify areas that need refactoring.

Quick Start

Analyze code complexity

sc complexity analyze code <path>

Passthrough to complexity CLI

sc complexity _ <complexity-args>

Key Features

  • Code Analysis: Identify complex code patterns
  • Refactoring Guide: Highlight areas needing refactoring
  • CLI Tool: Command-line interface for analysis
  • Configurable: Customizable analysis rules
  • Multiple Languages: Support for various programming languages

Installation

cargo install complexity

Also available via:

  • Homebrew

Usage Examples

Analyze a file

complexity src/main.rs

Analyze a directory

complexity src/

With specific threshold

complexity --threshold 10 src/

Output JSON

complexity --format json src/

Notes

  • Run complexity --help to see all available options
  • Helps maintain code quality by identifying complexity

04 同仓库更多 Skills