claude

deadcode-scanner

Dead code detection for JS/TS repos using Knip — finds unused files, exports, types, and dependencies. Produces HTML/Markdown/JSON reports with run history and delta tracking; optional --fix opens a draft PR that safely removes the dead code via an isolated git worktree, never touching your working tree.

1 on GitHubby Xianixv1.0.0MITupdated 10 days agocode-quality
/

Plugin deadcode-scanner from marketplace xianix-plugins-official in xianix-team/plugins-official. Commands read from the repo's manifest — 10 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (1)

  • /deadcode-scanner:deadcode

    Detect dead code (unused files, exports, types, and dependencies) in a JS/TS repository using Knip. Produces deadcode-report.html, deadcode-report.md, and deadcode-report.json locally with run history and delta tracking. Optional --fix opens a draft PR that safely removes the dead code via an isolat

Subagents (4)

  • fix-writer

    Dead code removal PR-proposer. Runs Knip's safe auto-fix inside an isolated git worktree based on origin/<default-branch>, commits the removals on a deadcode-fix/<timestamp> branch, pushes, and opens a draft PR. Never edits the user's working tree — the user's current branch and uncommitted work are

  • knip-detector

    Dead code detection specialist. Runs Knip against a JS/TS repository to find unused files, exports, types, enum members, duplicate exports, and unused/unlisted dependencies, then normalizes the results into the canonical findings schema. Respects an existing repo Knip config. Emits status "skipped"

  • orchestrator

    Dead code scan orchestrator. Validates inputs, sets up timestamped run history with a latest/ mirror, runs knip-detector, dispatches report-writer, and optionally runs fix-writer to open a draft PR removing dead code when --fix is passed. fix-writer never modifies the user's working tree — all remov

  • report-writer

    Dead code scan report compiler. Reads JSON findings from knip-detector, applies suppression rules from .deadcode-ignore, computes delta vs the prior run, and writes deadcode-report.html, deadcode-report.md, and deadcode-report.json into this run's output folder (RUN_DIR), then mirrors them to LATEST

Hooks (1)

  • PreToolUse

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/validate-prerequisites.sh

View source on GitHub xianix.com

More from xianix-team/plugins-official

All 20 plugins →

AI-native UX mob elaboration workflow for Greenfield and Brownfield projects. Runs structured, human-gated phase processes with artifact guardrails, approval gates, context isolation, and AI readiness checks before any brownfield work begins.

3 skills · 9 commands · 6 agents · hooks

1

Autonomous codebase archaeology agent. Triggered by a GitHub Issue or Azure DevOps Work Item tagged 'code-archaeology'. Segments the codebase, maps architecture in business language, extracts coding conventions, runs a due diligence audit for defects and structural problems, classifies all work into typed and prioritised items, and delivers a single structured archaeology report as comments on the originating issue or work item.

7 skills · 1 command · 7 agents · hooks

1

Automated dependency audit and optimization across all major ecosystems (npm, pip, Cargo, Go modules, Maven, .NET, Bundler). Runs four parallel specialized analyses — vulnerability scanning (CVE/CVSS), SemVer version drift, bundle bloat and unused package detection, and license compliance. Automatically creates a pull request with safe fixes applied; flags critical CVEs and major breaking upgrades for manual review. Works with GitHub, Azure DevOps, and any git repository.

6 skills · 1 command · 5 agents · hooks

1

Automated impact analysis and risk-based test strategy generation for bug fixes, PBIs, and feature implementations. Gathers work item requirements, code changes across linked pull requests, comments, child items, and referenced documentation — then posts a business-readable Markdown comment series on the PR / issue / work item discussion that serves as the testing guide for QA engineers doing risk-based testing. No HTML files written to the repo.

6 skills · 1 command · 5 agents · hooks

1

Comprehensive PR review plugin with specialized agents for code quality, security, test coverage, and performance analysis. Works with GitHub, Azure DevOps, Bitbucket, and any git repository.

6 skills · 1 command · 4 agents · hooks

1

Authorized web-application penetration testing with whitebox source-code analysis. Combines OWASP Top 10 dynamic probes (DAST), static code analysis (SAST via semgrep), web-ecosystem dependency CVE scanning, and secrets detection. Source-code recon runs first and drives targeted URL probing — including authenticated routes, real parameter names, and sink locations — instead of blind crawling. Includes a Playwright-driven probe path for SPA targets and DAST+SAST dual-confirmation. Requires explicit --authorized flag.

1 command · 9 agents · hooks

1

Similar plugins

Active coding discipline enforcer based on Karpathy's 4 principles: surface assumptions, simplify, make surgical changes, define verifiable goals. Ships 4 Python tools (complexity_checker, diff_surgeon, assumption_linter, goal_verifier), a review agent, /karpathy-check command, and pre-commit hook. All stdlib-only.

1 skill · 1 command · 1 agent

alirezarezvani/claude-skills 29,725

slopmop

claude

Quality gates for AI-assisted codebases. Provides refit onboarding, the swab/scour/buff/sail remediation loop, and barnacle friction reporting as a Claude skill and slash commands.

1 skill · 6 commands

davepoon/buildwithclaude 3,741

sentrux

claude

MCP server for structural health analysis — 14 dimensions graded A-F, dependency cycles, coupling, dead code, test coverage, and quality gates

1 skill · 1 MCP server

sentrux/sentrux 3,342

wps

claude

Write code that passes wemake-python-styleguide

1 skill

wemake-services/wemake-python-styleguide 2,948

Multi-agent orchestration system with 51 specialized agents for development workflows, code quality, deployment, research, games, and more. Includes orchestrators for checkpoint, deploy, quality, fullstack, research, games, corpus, web, and python workflows.

51 agents

jeremylongshore/tons-of-skills-marketplace 2,917

Code quality and software design skills including Clean Code (Robert C. Martin), Refactoring patterns (Martin Fowler), A Philosophy of Software Design (John Ousterhout), The Pragmatic Programmer (Hunt & Thomas), Domain-Driven Design (Eric Evans), Working Effectively with Legacy Code (Michael Feathers), and Google's Developer Documentation Style Guide (technical-documentation)

65 skills

wondelai/skills 2,680

Maintain deadcode-scanner?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins20 plugins