Check and configure pre-commit hooks for FVH standards
Validates and configures pre-commit hooks against FVH standards for project compliance.
/plugin marketplace add laurigates/claude-plugins/plugin install configure-plugin@lgates-claude-plugins[--check-only] [--fix] [--type <frontend|infrastructure|python>]configure/Check and configure pre-commit hooks against FVH (Forum Virium Helsinki) standards.
This command validates .pre-commit-config.yaml against FVH standards and optionally applies fixes.
Skills referenced: fvh-pre-commit
CRITICAL: Before flagging outdated hook versions, verify latest releases:
Use WebSearch or WebFetch to verify current versions before reporting outdated hooks.
Determine project type to select appropriate standards:
.fvh-standards.yaml with project_type fieldterraform/, helm/, argocd/, or *.tf filespackage.json with vue/react dependenciespyproject.toml or requirements.txt--type flag.pre-commit-config.yaml existsCompare existing configuration against FVH standards (from fvh-pre-commit skill):
Required Base Hooks (All Projects):
pre-commit-hooks v5.0.0+ with: trailing-whitespace, end-of-file-fixer, check-yaml, check-json, check-merge-conflict, check-added-large-filesconventional-pre-commit v4.3.0+ with commit-msg stageFrontend-specific:
biome (pre-commit) v0.4.0+helmlint (if helm/ directory exists)Infrastructure-specific:
tflint, helmlint (gruntwork v0.1.29+)actionlint v1.7.7+helm-docs v1.14.2+detect-secrets v1.5.0+Python-specific:
ruff-pre-commit v0.8.4+ (ruff, ruff-format)detect-secrets v1.5.0+Generate compliance report:
FVH Pre-commit Compliance Report
================================
Project Type: frontend (detected)
Config File: .pre-commit-config.yaml (found)
Hook Status:
pre-commit-hooks v5.0.0 ✅ PASS
conventional-pre-commit v3.6.0 ⚠️ WARN (standard: v4.3.0)
biome v0.4.0 ✅ PASS
helmlint v0.1.23 ⚠️ WARN (standard: v0.1.29)
Outdated Hooks:
- conventional-pre-commit: v3.6.0 → v4.3.0
- gruntwork/helmlint: v0.1.23 → v0.1.29
Overall: 2 issues found
If --fix flag or user confirms:
rev: values to standard versionsdefault_install_hook_types with pre-commit and commit-msgAfter modification:
pre-commit install --install-hooks to install hooks.fvh-standards.yaml with compliance statusUpdate or create .fvh-standards.yaml:
standards_version: "2025.1"
project_type: "frontend"
last_configured: "2025-11-28"
components:
pre-commit: "2025.1"
| Flag | Description |
|---|---|
--check-only | Report status without offering fixes |
--fix | Apply all fixes automatically without prompting |
--type <type> | Override project type detection (frontend, infrastructure, python) |
# Check compliance and offer fixes
/configure:pre-commit
# Check only, no modifications
/configure:pre-commit --check-only
# Auto-fix all issues
/configure:pre-commit --fix
# Force infrastructure type
/configure:pre-commit --type infrastructure
/configure:all - Run all FVH compliance checks/configure:status - Quick compliance overviewfvh-pre-commit skill - Standard definitions