python-autotuner
Installation
SKILL.md
Python Autotuner
Analyze, rewrite, validate, and benchmark Python code locally. Each rewrite attempt must pass all existing tests before it is accepted. Speed improvements must be statistically meaningful. Quality improvements must reduce ruff violations, ty errors, or complexity score.
Examples
# Optimize a file with default goals (speed + quality)
/python-autotuner mymodule/processor.py
# Target a specific function, 5 benchmark runs
/python-autotuner --function parse_records --n-runs 5 mymodule/parser.py
# Quality only (no benchmarking — fast path)
/python-autotuner --goals quality mymodule/utils.py
Related skills
More from bmsuisse/skills
autoresearch
>
15codeunit-analyzer
>
14deslop
>
14coding-guidelines-python
>
13init-app-stack
Use this skill whenever the user wants to bootstrap, scaffold, or initialize a new full-stack app with a Vite + React + TanStack + shadcn/ui frontend and a FastAPI + Postgres backend. Triggers on requests like "create a new app", "set up a project", "scaffold a full-stack app", "init a new project", or anything involving starting a fresh React/FastAPI application from scratch.
12databricks-sql-autotuner
>
12