latent-sre/save-toolkit/python-craft
- community
Checking that the SKILL.md file is still in the repository.
Write, refactor, or modernize Python in services, CLIs, scripts, libraries, and tests, routine or difficult: simplify structure, reduce duplicated logic, fix established defects, and replace custom machinery with suitable maintained libraries. Load before editing any Python; also use for explanations and practical starting designs. Triggers: 'improve this Python', 'refactor this Python', 'modernize this module', 'explain this Python'. Not for operating a running service or changing another language.
Install
npx vskill@latest install latent-sre/save-toolkit/python-craftSKILL.md
Python craft
Make Python easier to understand, use, and change. Keep clear code when a change offers no benefit. The task and project constraints set scope; this skill adds no tools or authority. Explanation, design, and review requests stop at those outputs unless implementation is requested. For a defect, establish the cause and expected behavior, reproduce it, and verify the repair. Keep small changes scoped; report material adjacent findings separately.
Build or improve
- Choose the workflow: new code establishes the contract, consumer, and delivery shape;
refactoring maps existing consumers, behavior, and ownership before changing structure. Use both when a refactor introduces a new capability; distinguish its new behavior from the contracts the restructuring preserves.
- Choose the design or transformation that fits: representations, algorithms, control flow,
interfaces, extraction or inlining. Compare direct code, the standard library, existing dependencies, and maintained packages where relevant.
- Deliver a complete path through its entrypoint, then cover remaining cases and affected callers.
Stage work by risk; a justified rewrite may replace all in-scope implementation. Preserve supported contracts; separate intentional behavior changes from restructuring and resolve uncertain requirements rather than guessing.
- Check required behavior through intended entrypoints. For refactoring, show the benefit: one policy
owner, fewer facts callers must coordinate, removed machinery, or an easier real change. Remove obsolete code/dependencies; passing tests or reducing line count alone does not establish improvement.
Load relevant detail
| Task | Read | |
|---|---|---|
| Starting a new script, module, library, or service | New code | |
| Interpreter/dependencies uncertain or changing | Environment and checks | |
| Calls, functions, modules, data, or resource ownership | Writing Python | |
| Structural improvement, a multi-module migration, or Pythonic replacements | Refactoring | |
| Need a worked comparison for flattening nested control flow | Guard-clause example | |
| Library adoption or dependency/runtime migration | Libraries and modernization | |
| Automated transformations, lint fixes, or unused-code detection | Refactoring tools | |
| Bug hunting, review, or a suspected failure | Finding defects |
Load matching references only. Run project checks in the intended environment on supported Python versions; report intentional behavior differences, verification, and remaining uncertainty; measure performance claims separately.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/python-craft/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/latent-sre/save-toolkit/python-craft)