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