home/categories/code-quality/matthew-bram-enterprise-confluent-test-probe-claude-skills-visibility-pattern-guardian-skill-md
code-qualitytesting-security

visibility-pattern-guardian

Enforces visibility pattern for testability by detecting private methods that prevent unit testing (causes 20-40% coverage loss). References authoritative style guides rather than duplicating. Auto-refactors code to private[module] object pattern with user approval. Detects inline lambdas and suggests extraction to named functions ("laws"). Blocks during scala-ninja review (Phase 2) as peer review rejection point.

matthew-bram
maintainer
matthew-bram
更新日 12/12/2025
スター
0
フォーク
0
quick start

Installation and usage

Enforces visibility pattern for testability by detecting private methods that prevent unit testing (causes 20-40% coverage loss). References authoritative style guides rather than duplicating. Auto-refactors code to private[module] object pattern with user approval. Detects inline lambdas and suggests extraction to named functions ("laws"). Blocks during scala-ninja review (Phase 2) as peer review rejection point.

インストール
$ install --globalskills.sh
使い方

インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:

skills use visibility-pattern-guardian