PluginBench
Plugin
Active
ISC

loc-guardian

loc-guardian

Enforce per-file line-of-code limits with automated optimization strategies

What is loc-guardian?

Loc-Guardian monitors and enforces maximum LOC (lines of code) thresholds on individual files. It counts violations, flags files exceeding limits, and generates Claude-powered refactoring plans to help reduce file complexity.

  • Counts lines of code per file using tokei-based metrics
  • Flags files exceeding configurable LOC limits
  • Generates automated optimization and extraction strategies
  • Provides Claude-powered refactoring recommendations
  • Integrates with Claude Code for continuous enforcement

How to install loc-guardian

Claude Code install command.

/plugin install loc-guardian@xiaolai

Works with

Agents this plugin has been detected to support.

Claude

Related plugins

Personal IT support agent for Mac users—remembers your machine and automates maintenance tasks

Claude
Codex
5
View repository →

Auto-preview Mermaid diagrams in your browser as you edit

Claude
5
View repository →
NLnlpm logo

nlpm

Active

Score, lint, and fix natural-language artifacts across Claude Code, Codex, and Antigravity with tier-aware quality rules.

Claude
Codex
143
View repository →
NOnorth-star logo

System prompt that overrides RLHF defaults: removes confirmation-seeking, scarcity thinking, and best-practice ceilings.

Claude
33
View repository →
REreason-grill logo

Deep argument interrogation with adversarial analysis and calibrated verdicts.

Claude
Codex
6
View repository →
TDtdd-guardian logo

Enforce strict test-driven development with per-lane gates, property testing, and mutation verification across 25+ languages.

Claude
10
View repository →