From sc-python
Analyzes the Python codebase for Pythonic idiom gaps, design pattern opportunities, and maintainability issues, then produces a prioritized improvement plan. Covers EAFP/LBYL patterns, proper type hints, async best practices, dependency injection, dataclasses vs NamedTuple, mutable default arguments, context managers, and framework idioms (Django, FastAPI). Use when the user says "how can I improve this", "is this Pythonic", "find anti-patterns", "code quality", "refactoring suggestions", "how to better structure this". Do NOT use for performance (web-optimize), data layer (data-optimize), version migrations (legacy), or line-by-line code review (aidd-dev:05-review).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sc-python:improveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reads the Python codebase, identifies Pythonic idiom gaps and design pattern opportunities, then produces a prioritized improvement plan with concrete before/after examples.
Reads the Python codebase, identifies Pythonic idiom gaps and design pattern opportunities, then produces a prioritized improvement plan with concrete before/after examples.
| # | Action | Role | Input |
|---|---|---|---|
| 01 | analyze | Read codebase, identify anti-patterns and improvement opportunities | path or file list |
| 02 | plan | Produce a prioritized improvement plan with before/after examples | analyze findings |
Always sequential: analyze → plan.
analyze reads the codebase structure, identifies patterns and anti-patterns per category, emits findingsplan prioritizes findings, groups by effort/impact, writes a concrete improvement planNever skip plan after analyze.
aidd-dev:02-implement's role).npx claudepluginhub rebellioussmile/my-claude-marketplace --plugin sc-pythonGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.