claude

python-refactor

Agentic Python codebase analysis suite. Measures complexity, hunts real bugs via Hypothesis PBT, proposes deep-module architecture RFCs, and generates a dependency-safe refactor plan.

1 on GitHubv2.0.0updated 29 days ago
/

Plugin python-refactor from marketplace sten-agent-skills in stevenengland/sten-agent-skills. Commands read from the repo's manifest — 28 days ago.

What it installs

Skills (6)

  • architecture

    Find Python architectural improvements (deeper modules, lower coupling, better testability) via metric- and bug-report-informed RFCs.

  • cleanup

    Hard-nuke all python-refactor output (.python-refactor/) and project-root tool caches (.hypothesis, .pytest_cache, .semgrep, .skylos_cache).

  • hunt-bugs

    Hunt real Python bugs via metric-guided organic exploration then Hypothesis property-based confirmation, writing BUG_REPORT to .python-refactor/.

  • measure

    Instrument a Python project with radon, vulture, bandit, semgrep, skylos, and grimp, writing aggregated codebase_metrics.json to .python-refactor/.

  • orchestrate

    Orchestrate the full python-refactor pipeline (measure → hunt-bugs → architecture → plan-refactor) via isolated subagents with compact JSON handoffs.

  • plan-refactor

    Generate a P0–P3, dependency-safe Python refactor plan from codebase_metrics.json (and any BUG_REPORT) with test-gap analysis.

View source on GitHub

More from stevenengland/sten-agent-skills

All 3 plugins →

stenswf

claude

Sten Software Workflow bundle. Issue lifecycle (plan → ship → review → apply, with PRD-mode capstone, plus ship-light single-session lite path), PRD inception (grill-me → prd-from-grill-me → prd-to-issues). Refactor-focused skills (plan-reviewer, test-file-compaction, etc.) now live in the sibling stenswr plugin.

27 skills

1

stenswr

claude

StEn Software Refactor bundle. Orthogonal, language-agnostic refactor skills across four phases: understand (comprehension-to-taste), discover (functional-bug-hunting, security-bug-hunting), critique (plan-reviewer), test hygiene (test-file-compaction lossless, test-file-refactor lossy).

6 skills

1

Maintain python-refactor?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins3 plugins