pattern-library-manager

Manage detection-pattern configurations across Vigil Guard JSON files.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill pattern-library-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-library-manager
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/pattern-library-manager
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill pattern-library-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Expert management of Vigil Guard v2.0.0 detection patterns, including heuristics-service JSON files, unified_config.json categories, and pattern optimization.

Core Features & Use Cases

  • Pattern File Management: Handle heuristics patterns across multiple JSON files.
  • Config & Weights: Configure category weights in unified_config.json and manage PII patterns.
  • Pattern Optimization: Validate regex patterns and optimize detection coverage.

Quick Start

Edit pattern files under services/heuristics-service/patterns/ and update unified_config.json in services/workflow/config/unified_config.json; run tests to validate changes.

Frequently Asked Questions about pattern-library-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage detection patterns across multiple heuristic files in Vigil Guard?

Pattern management in Vigil Guard handles detection patterns across 18 heuristic JSON files in heuristics-service, unified_config.json categories, and PII rules. Edit pattern files under services/heuristics-service/patterns/, update weights in unified_config.json, and run tests to validate changes across the 3-branch scoring system.

What's the best way to validate regex patterns for ReDoS vulnerabilities?

Regex validation checks prevent ReDoS (Regular Expression Denial of Service) attacks in detection patterns. The Skill applies ReDoS validation across heuristics-service, semantic-service, and LLM guard components to ensure safe pattern configuration without performance degradation.

How do I test pattern changes before deploying to production?

Test-driven pattern addition is built into the workflow: edit patterns under services/heuristics-service/patterns/, update unified_config.json, then run tests to validate coverage and scoring across all three service components before deployment.

Can I configure category weights and PII detection rules independently?

Category weights and PII patterns are managed separately in unified_config.json. The Skill supports versioned config management for both, allowing independent tuning of detection heuristics and PII rule accuracy without affecting other pattern configurations.

What happens if detection patterns are misconfigured across services?

Misconfigurations across heuristics-service, semantic-service, and LLM guard components degrade accuracy and scoring consistency. The Skill prevents this through centralized pattern management, regex safety checks, and validation tooling that ensures all 18 pattern files and unified_config.json remain synchronized.

Do I need specialized tools to edit and deploy pattern configurations?

The Skill provides tooling for editing, validation, and deployment workflows built into versioned config management. No external tools are required; pattern edits, regex validation, and deployment follow a test-driven process within the Vigil Guard services stack.