Reduces cognitive complexity in JavaScript/TypeScript code by simplifying branching, splitting responsibilities, and extracting pure helpers while preserving readability and test coverage.
Ships in ngautopilot-quality-deadcode-sonar. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to reduce cognitive complexity without ornamental refactors.
The goal is to simplify control flow while preserving behavior and readability.
The core rule is simple:
Simplify the logic without hiding the intent.
Use this skill when:
Use:
Avoid extra abstraction that makes the code harder to follow.
Avoid refactors without tests.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/ngautopilot-quality-deadcode-sonar:quality--sonarqube--sonarqube-cognitive-complexity-reductionfrom ngautopilot-quality-deadcode-sonar
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-quality-deadcode-sonar2 plugins in one repository ship this exact skill · first indexed Oct 8, 2026
8 skills in this plugin
/quality--no-dead-code--dead-branches-cleanupDead Branches CleanupRemoves unreachable or obsolete logic branches caused by legacy flags, impossible conditions, or retired compatibility paths while preserving intentional behavior.
/quality--no-dead-code--orphan-files-cleanupOrphan Files CleanupDetects and removes orphan files that no longer participate in build, tests, runtime, or documented configuration paths without breaking dynamic loading or convention-based usage.
/quality--no-dead-code--orphan-files-cleanup-monorepoOrphan Files Cleanup MonorepoDetects and removes orphan files in monorepo workspaces by checking project graphs, build targets, tests, dynamic loaders, and runtime conventions before deleting anything.