Files
leo-claude-mktplace/plugins/code-sentinel
lmiranda b5d36865ee feat(plugins): add Visual Output headers to all other plugin commands
Add single-line visual headers to 66 command files across 10 plugins:
- clarity-assist (2 commands): 💬
- claude-config-maintainer (5 commands): ⚙️
- cmdb-assistant (11 commands): 🖥️
- code-sentinel (3 commands): 🔒
- contract-validator (5 commands): 
- data-platform (10 commands): 📊
- doc-guardian (5 commands): 📝
- git-flow (8 commands): 🔀
- pr-review (7 commands): 🔍
- viz-platform (10 commands): 🎨

Each command now displays a consistent header at execution start:
┌────────────────────────────────────────────────────────────────┐
│  [icon] PLUGIN-NAME · Command Description                       │
└────────────────────────────────────────────────────────────────┘

Addresses #275 (other plugin commands visual output)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 17:24:49 -05:00
..

code-sentinel

Security scanning and code refactoring tools for Claude Code projects.

Features

Security Scanning

  • PreToolUse Hook: Catches vulnerabilities BEFORE code is written
  • Full Audit: /security-scan for comprehensive project review
  • Pattern Detection: SQL injection, XSS, command injection, secrets, and more

Refactoring

  • Pattern Library: Extract method, simplify conditionals, modernize syntax
  • Safe Transforms: Preview changes before applying
  • Reference Updates: Automatically updates all call sites

Commands

Command Description
/security-scan Full project security audit
/refactor <target> Apply refactoring with pattern
/refactor-dry <target> Preview opportunities without changes

Hooks

  • PreToolUse (Write|Edit): Scans code for security patterns before writing

Security Patterns Detected

Category Examples
Injection SQL, Command, Code (eval), XSS
Secrets Hardcoded API keys, passwords
Deserialization Pickle, unsafe YAML
Path Traversal Unsanitized file paths

Installation

/plugin marketplace add https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace.git
/plugin install code-sentinel

Integration

See claude-md-integration.md for CLAUDE.md additions.