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.
Explore a Python codebase to find opportunities to deepen shallow modules, reduce coupling, and improve testability. Reads codebase_metrics.json from .python-refactor/ (auto-runs measure if missing) and cross-references BUG_REPORT_<RUN_ID>.md if present to show which architectural patterns are hiding confirmed bugs. Presents numbered candidates, spawns parallel design subagents for the chosen candidate, recommends the strongest interface design, and creates issue RFCs. Use when the user wants architecture review, module deepening, or coupling reduction.
Remove all python-refactor plugin output and project-root tool caches. Deletes the entire .python-refactor/ directory (all runs, all deliverables) and project-root tool caches (.hypothesis/, .pytest_cache/, .semgrep/, .skylos_cache/) unconditionally. This is a hard nuke — use when you are done with all analysis and want a clean project root. Safe to run multiple times. Does not touch global tool caches or filed issues.
Actively hunt real bugs in a Python codebase using two phases. Phase 1 is free agentic organic exploration guided by static metrics — the agent reads high-signal files completely, reasons step-by-step through logic errors, Python footguns, semantic drift, and integration failures, and builds a candidate list. Phase 2 uses Hypothesis property-based testing to confirm and reproduce each candidate. Outputs BUG_REPORT_<RUN_ID>.md and Hypothesis test files to .python-refactor/. Auto-runs python-refactor:measure if codebase_metrics.json is missing. When invoked by the orchestrator, returns a compact JSON handoff.
Instrument a Python project with static analysis tools and write codebase_metrics.json to .python-refactor/. Runs radon (cyclomatic complexity, maintainability index, Halstead metrics), vulture (dead code), bandit (security patterns), semgrep (OWASP), skylos (taint analysis), and grimp (module coupling graph) in parallel. Raw tool output goes to .python-refactor/tmp/ and is cleaned after aggregation. Invoked automatically by other skills in this suite when codebase_metrics.json is missing. When invoked by the orchestrator, returns a compact JSON handoff instead of a prose summary.
Full python-refactor pipeline orchestrator. Chains measure, hunt-bugs, architecture, and plan-refactor in strict sequence using isolated subagents. Each phase receives only a compact JSON handoff from the previous phase — never the full session history. This prevents context rot across a long pipeline. After all phases complete, files a single summary issue with collapsible detail sections, then cleans up all temporary and deliverable files for this run. All output goes to .python-refactor/ at the project root. Use when the user says "analyze this codebase", "full refactor analysis", "find all issues", or invokes /python-refactor:orchestrate directly.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This repository contains custom skills and resources, packaged as installable plugins for Claude Code and GitHub Copilot CLI.
| Plugin | Description |
|---|---|
stenswf | Opinionated SDLC bundle: PRD → slice issues → plan → ship → review → apply, plus always-on craft skills (tdd, clean-code, lint-escape, architecture, brevity, …). |
python-refactor | Agentic Python codebase analysis suite (complexity, PBT bug hunting, architecture RFCs, refactor plan). |
Copilot CLI only supports plugins via a registered marketplace — direct
install from a path or OWNER/REPO:PATH is no longer supported.
# Register this repo as a marketplace (once per machine)
copilot plugin marketplace add stevenengland/sten-agent-skills
# Browse and install
copilot plugin marketplace browse sten-agent-skills-marketplace
copilot plugin install stenswf@sten-agent-skills-marketplace
copilot plugin install python-refactor@sten-agent-skills-marketplace
Claude Code discovers plugins via the repo-level
.claude-plugin/marketplace.json:
/plugin marketplace add stevenengland/sten-agent-skills
/plugin install stenswf@sten-agent-skills
/plugin install python-refactor@sten-agent-skills
See each plugin's README for namespace prefix, command reference, and project-scoped install options.
sten-agent-skills/
plugins/ # Installable plugins (stenswf, python-refactor)
skills/ # Standalone skills (not bundled)
frameworks/ # Reference frameworks studied during design
research/ # Design notes and token-efficiency research
Feel free to add new skills and improve existing ones.
npx claudepluginhub stevenengland/sten-agent-skills --plugin python-refactorSten 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), and always-on craft skills (clean-code, tdd, lint-escape, architecture, brevity, plan-reviewer, test-file-compaction).
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.