generate-testability-wrappers

Pass

Audited by Gen Agent Trust Hub on Sep 15, 2026

Risk Level: SAFE
Full Analysis
  • Safe Guidelines for Code Generation: The skill provides templates and workflow steps to wrap untestable static dependencies (such as system time, file system, or process management) in testable abstractions.
  • Encourages Best Practices: It correctly suggests standard, well-known libraries such as Microsoft.Extensions.TimeProvider.Testing and System.IO.Abstractions rather than rolling custom implementations where possible.
  • Safe Implementation Patterns: The signature-preserving ambient context pattern properly recommends AsyncLocal over ThreadStatic to maintain safety across asynchronous boundaries, ensuring test isolation.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 15, 2026, 09:17 AM
Security Audit — agent-trust-hub — generate-testability-wrappers