This repository was archived by the owner on Jul 30, 2026. It is now read-only.
Matrix Plugin v2.2.2
What's New in v2.2.2
Added
- Nuke Skill (
/matrix:nuke) - Comprehensive codebase hygiene analysis across 11 categories:- Structural detection (via new MCP tools): dead exports, orphaned files, circular dependencies
- Generative detection (AI judgment): unnecessary comments, commented-out code, console.log leftovers, overengineered deps, copy-paste duplication, stale TODOs
- 4 modes:
scan(report only, default),this(single file),safe(high confidence only),aggressive(medium+) - Confidence-tiered output: HIGH (>90%), MEDIUM (70-90%), LOW (<70%) with safety rules to prevent false positives
- 4-agent architecture: Structural, Dependency, Generative, Triage
matrix_find_dead_codeMCP tool - Finds exported symbols with zero callers and orphaned files with no importers. Queries the code index DB directly.matrix_find_circular_depsMCP tool - Builds import graph from the index and runs DFS cycle detection. Returns all circular dependency chains.- TaskCompleted hook - Detects significant completed tasks and suggests storing the solution via
matrix_store. - Clone Repo skill (
/matrix:clone-repo) - Shallow clone external repos totemp/for exploration.
Changed
- Review Skill - Detection Agent now includes full hygiene (nuke) scan on changed files. Distinguishes between issues introduced by the change vs pre-existing in touched files. Introduced console.logs → Tier 1, introduced unused imports/dead exports → Tier 2, pre-existing TODOs/comments → Tier 3.
- Dynamic version - MCP server version now synced from
package.jsoninstead of hardcoded. - Memory safety - Regex pattern cache capped at 200 entries to prevent unbounded growth.
Removed
- Session Modes - Removed the entire session mode system (ultrathink/quick/docs/debug/classic). Simplicity wins.
- UserPromptSubmit hook - Removed per-prompt overhead. Claude Code already provides git context and CLAUDE.md natively.
- PreCompact hook - Was a dead hook (couldn't output anything). Removed.
- Stop hook - Replaced by the lighter TaskCompleted hook.
- PostToolUse:Matrix hook - Removed nanny suggestions after matrix tool calls.
- SubagentStop hook - Removed (no-op).
- Auto-install file suggestion - No longer silently modifies
~/.claude/settings.jsonon session start. minimalverbosity level - Two levels (full/compact) is enough.- Repomix tool - Replaced by
/matrix:clone-reposkill (just clones totemp/, no dependency needed). - Skill Factory tools - Removed
matrix_skill,matrix_skill_candidates,matrix_link_skilland all related code. - Export skill - Merged into
/matrix:list(say "export" or "backup" to save JSON).
Previous Release
[2.2.1] - 2025-01-29
Added
- Swift & SwiftUI Skill (
/swift-swiftui) - iOS/macOS dev patterns, @observable, MVVM/TCA, SwiftData - Effect-TS Skill (
/effect-ts) - Typed errors, layers, concurrency, Schema, fp-ts migration