Code Hygiene Recipes
Use the narrowest ecosystem recipe that matches the repository. Cross-language recipes are intended for polyglot or language-independent work. Each recipe starts read-only and requires explicit authorization before edits.
Code hygiene is not a substitute for vulnerability triage. Named CVEs, scanner findings, authorization, injection, secrets, and compliance-evidence work should use their focused recipes.
Ecosystem families
Cross-language Code Hygiene
Repository-wide hygiene practices for polyglot or language-independent work. Choose bounded workflows with detection, tests, and stop conditions.
JavaScript & TypeScript Code Hygiene
Type, module, asynchronous, React, and Node.js lifecycle hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Python Code Hygiene
Typing, object-model, exception, asyncio, import, and packaging hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Java & Kotlin Code Hygiene
Compiler, type-contract, resource, concurrency, and coroutine hygiene for JVM repositories. Choose bounded workflows with detection, tests, and stop conditions.
.NET Code Hygiene
Nullable, analyzer, asynchronous, disposal, LINQ, and Entity Framework hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Go Code Hygiene
Diagnostic, error, context, goroutine, channel, and shared-state hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Rust Code Hygiene
Clippy, error boundary, unsafe invariant, and asynchronous lifecycle hygiene. Choose bounded workflows with detection, tests, and stop conditions.
C & C++ Code Hygiene
Compiler diagnostic, ownership, bounds, concurrency, and lifetime hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Ruby & Rails Code Hygiene
RuboCop debt and Active Record query, transaction, and callback hygiene. Choose bounded workflows with detection, tests, and stop conditions.
PHP Code Hygiene
Type, static-analysis, exception, stream, and resource hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Swift Code Hygiene
Diagnostic, force-unwrap, actor, Sendable, and task-lifecycle hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Dart & Flutter Code Hygiene
Analyzer, null-safety, asynchronous, controller, and widget lifecycle hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Shell & PowerShell Code Hygiene
Quoting, exit propagation, cleanup, analyzer, error, and pipeline hygiene. Choose bounded workflows with detection, tests, and stop conditions.
SQL & Data Code Hygiene
Migration, transaction, locking, query-plan, and data-access hygiene. Choose bounded workflows with detection, tests, and stop conditions.
Infrastructure & Delivery Code Hygiene
Terraform, container, Kubernetes, and CI workflow hygiene. Choose bounded workflows with detection, tests, and stop conditions.