SkillPedia Skills Encyclopedia
中文 EN
Today's updates 2026-11-17 UTC

No new commits yet today

Open the update feed

cyclomatic-complexity-skillsaurabhkumar8112/cyclomatic-complexity-skill

Identifies and refactors code with excessive cyclomatic complexity, breaking hard-to-test and hard-to-maintain functions…

No ratings yet Rate this skill
Stars405
Forks10
Watchers405
Open Issues0

InstallOne-line install

Unconfirmed

Whether this repository follows the Agent Skills spec (that is, whether it contains a SKILL.md) has not been verified yet. Until that is settled, clone it and use what you need:

git clone https://github.com/saurabhkumar8112/cyclomatic-complexity-skill.git

OverviewOverview

Key Features

Identifies and refactors code with excessive cyclomatic complexity, breaking hard-to-test and hard-to-maintain functions into simpler structures. Key capabilities include: 1. Complexity diagnosis: calculates cyclomatic complexity per function and pinpoints over-limit locations, identifying which conditional branches and loops raise the complexity; 2. Refactoring rewrite: splits high-complexity functions into smaller ones by responsibility, converts nested conditions into early returns or separate branches, and reduces the number of decision paths per function; 3. Post-refactor verification: recalculates complexity on the rewritten code to confirm the value drops while original behavior is preserved, avoiding new defects from refactoring.

Use Cases

reducing function cyclomatic complexity, splitting long conditional branches, refactoring hard-to-maintain legacy code, quality cleanup before code review.

Target Roles

Backend Developer, Full-stack / Indie Developer, Test / QA Engineer, DevOps / Operations Engineer.

TopicsTopics

RatingUser ratings

Nobody has rated this skill yet. Yours would be the first on the site — your vote becomes the initial average.

Rate this skill

Fill it in to be included in the per-role averages below.

One vote per IP,and it cannot be changed after submitting, so choose carefully the first time. No account is collected and no sign-in is required.

RepositoryRepository

Skill ID2031
Data sourceGitHub
Repositorysaurabhkumar8112/cyclomatic-complexity-skill
CategoryDevelopment & Engineering / Code Quality & Refactoring
Primary languageOther
LicenseApache License 2.0
Default branchmaster
GitHub repository ID1347659559
Node IDR_kgDOUFOnJw
Rank#1527 (position within the source ranking)
Site-wide popularity rank#1728 (computed live from Stars, across all 5833 entries)

GrowthStar / Fork growth

One snapshot per day, tracking how Stars and Forks changed

02004006002026-09-252026-10-112026-09-25 · 3992026-10-11 · 405
  • Now405
  • Previous point · 09-25 399
  • vs previous point +6
  • 2 data points 16 days
02468102026-09-252026-10-112026-09-25 · 102026-10-11 · 10
  • Now10
  • Previous point · 09-25 10
  • vs previous point ±0
  • 2 data points 16 days

TimelineTimeline

Repository created2026-08-26 18:17:342 months ago
Data last updated2026-10-26 12:15:4721 days ago
Last commit2026-08-26 18:17:412 months ago

CommitLatest commit

Version [latest] committed by saurabhkumar8112. Update Category: Codebase Iteration & Routine Maintenance. Commit details: cyclomatic-complexity skill v1. This update updates core functional modules and advances project iteration.

567886f vlatest saurabhkumar8112 2026-08-26

Next stepsNext steps