pythonic-refactor
Add type hints and refactor Python code to use Pydantic models without breaking interfaces
Install / Use
npx skills add brandonvio/startupp.chatInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of pythonic-refactor
pythonic-refactor scores 55/100 on our quality scale, 4157th of 4,563 Development & Engineering skills we index.
Its Claude Commands is 1.7 KB long, split into 6 sections with 4 code examples: moderately detailed.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
pythonic-refactor compared with similar skills
All 4 of these similar skills score higher than pythonic-refactor; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| pythonic-refactor (this skill)by brandonvio | 55 | 0 | — | Claude Commands |
| claude-memby thedotmack | 100 | 100.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 97.2k | 6d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 96.0k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 86.2k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install pythonic-refactor?
- Run
npx skills add brandonvio/startupp.chat. The install tabs above show the steps for each supported agent. - Which AI agents does pythonic-refactor work with?
- It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
- Is pythonic-refactor safe to use?
- It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is pythonic-refactor still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubname: pythonic-refactor description: Add type hints and refactor Python code to use Pydantic models without breaking interfaces argument-hint: "path/to/python_file.py" allowed-tools: Read, Task
Refactor Python code to add type hints and use Pydantic models by invoking the pydantic-refactor-specialist agent.
Usage
/pythonic-refactor path/to/file.py
Examples
/pythonic-refactor src/models/user.py
/pythonic-refactor src/services/notification_service.py
Steps
1. Validate Input
PYTHON_FILE = $1
If PYTHON_FILE is empty:
Display: "Error: Python file path required."
Display: "Usage: /pythonic-refactor path/to/file.py"
Exit
If PYTHON_FILE doesn't exist:
Display: "Error: Python file not found: $PYTHON_FILE"
Exit
If PYTHON_FILE doesn't end with ".py":
Display: "Warning: File doesn't appear to be a Python file"
Display: "Proceeding anyway..."
2. Invoke Agent
Invoke the pydantic-refactor-specialist agent with:
Refactor the Python file at: $PYTHON_FILE
Requirements:
1. Add comprehensive type hints to all functions, methods, and class attributes
2. Convert appropriate data structures to Pydantic models (BaseModel)
3. Maintain 100% backward compatibility with existing interfaces
4. Use Pydantic validation features (validators, Field constraints)
5. Follow Python best practices and PEP 8
6. Add docstrings if missing
CRITICAL: Preserve external interfaces. All public methods must maintain original signatures.
Use Pydantic model.model_dump() for dict compatibility where needed.
3. Report Success
After agent completes:
- Confirm file was refactored
- Summarize changes made
- Suggest running tests to verify compatibility
Related Skills
claude-mem
100.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
97.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
96.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
86.2kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
