Opinionated habits for safe, incremental refactoring: characterization tests, small green steps, strangler fig and clean pull requests.
Finds Python functions that are risky to change: cyclomatic complexity, nesting depth, length, parameters and returns from the AST, optionally ranked by git churn, with a prioritized refactoring plan and safe recipes such as guard clauses and lookup tables. Stdlib Python.
Pays down existing monorepo boundary violations in small, reviewable PRs that keep CI green. Works from turbo boundaries, Nx enforce-module-boundaries, dependency-cruiser, eslint-plugin-boundaries, Bazel visibility or a monorepo-doctor report: deep imports, undeclared workspace dependencies, app-to-app or package-to-app imports, shared test fixtures and circular dependencies.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Reviews PostgreSQL and MySQL schema migrations (raw SQL or ORM-generated) for table locks, rewrites, data loss, and breaking changes, then proposes safe zero-downtime rewrites with a clear verdict.
Finds code nobody uses anymore: unused files, exports, routes, styles and dependencies, with proof for each one, and suggests small safe pull requests to remove them.
Plans a major framework upgrade step by step, such as React, Next.js, Django or Rails: reads the breaking changes, maps what in your code they hit, and splits the work into small safe pull requests.
Flags oversized pull requests before review and suggests how to split them into small, reviewable stacks.
Compares OpenAPI or GraphQL schema changes in pull requests and warns about breaking changes for existing clients.