python-performance-optimization
Skill2 starsChanged 3 months agoNo licenceView on GitHub
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.
27 other projects use a version of this, 20 of them edited; 4 of 17 edited versions we compared changed its rules.
How people change it
4 of 17 edited versions changed its rules, and some changes recur.
Of the 17 edited versions we compared: 13 keep every rule, 4 made changes of their own.
Rules people drop
- Caching: Avoid redundant computationdropped by 4 of 4
- Cache expensive computations - Use lru_cachedropped by 4 of 4
- Profile production code - Use py-spy for live systemsdropped by 4 of 4
- Not using appropriate data structuresdropped by 4 of 4
- Not using connection pooling for databasesdropped by 4 of 4
- Not considering memory usagedropped by 4 of 4
Rules people add
- A rule we can't quote: its licence doesn't allow itadded by 4 of 4
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Most recently taken up by
- gromov0737/skillsedited, first seen Nov 29, 2026
- hybridlabor-api/aosedited, first seen Nov 29, 2026
- rotnov/pyccedited, first seen Nov 22, 2026
- AtilaMedeiros/skillsedited, first seen Nov 16, 2026
- FimawLLC/fimaw-skillsword for word, first seen Nov 15, 2026
- Rvey/agent-engineering-kitword for word, first seen Nov 11, 2026
Used with
Projects with it also use python-resource-management, python-anti-patterns and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Aver005Skillpython-resource-management
Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state.
Also in 4 projects that use this
CodeWithBehnamSkillpython-anti-patterns
Common Python anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.
Also in 5 projects that use this
Aver005Skillpython-design-patterns
Python design patterns including KISS, Separation of Concerns, Single Responsibility, and composition over inheritance. Use when making architecture decisions, refactoring code structure, or evaluating when abstractions are appropriate.
Also in 6 projects that use this
nilecuiSkillasync-python-patterns
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
Also in 5 projects that use this
justanestaSkillpython-error-handling
Python error handling and debugging. Use this skill when implementing error handling, designing exception hierarchies, debugging issues, or adding logging. Covers exception patterns, custom exceptions, logging with structlog, debugging tools, and error recovery.
Also in 3 projects that use this
CodeWithBehnamSkillpython-type-safety
Python type safety with type hints, generics, protocols, and strict type checking. Use when adding type annotations, implementing generic classes, defining structural interfaces, or configuring mypy/pyright.
Also in 3 projects that use this
- +2 more from Aver005
Other versions27 projects use a version of this.
Word for word · 7
- zebbern/pocmap★ 7100% same
- FimawLLC/fimaw-skills★ 3100% same
- Rvey/agent-engineering-kit★ 3100% same
- liushikuan63/Qoder-Optimization★ 2100% same
- roshankodi/agent-skills★ 2100% same
- squarerf/claude-skills★ 1100% same
- workatustadarshajay/CareLoop-AI★ 0100% same
Edited · 20
- jewbetcha/openflight★ 1.2k12% same
- hybridlabor-api/aos★ 932% same
- xfstudio/skills★ 955% same
- ControllableModel/SWE-Skills-Bench★ 812% same
- VoVuongThanhDat/agentflow★ 812% same
- AJBcoding/claude-skill-eval★ 412% same
- GPTtang/skill-atlas★ 412% same
- zebbern/termstack★ 428% same
- ai4brands-design/claude-skills★ 255% same
- Aver005/agent-skills★ 212% same
10 more not listed
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository123 other files it gives its agents.
- rust-skills/AGENTS.mdAGENTS.md
- vercel-composition-patterns/AGENTS.mdAGENTS.md
- vercel-react-best-practices/AGENTS.mdAGENTS.md
- vercel-react-native-skills/AGENTS.mdAGENTS.md
- vercel-react-view-transitions/AGENTS.mdAGENTS.md
- rust-skills/CLAUDE.mdCLAUDE.md
- academy-guideSkill
- accessibilitySkill
- agent-browserSkill
- algorithmic-artSkill
- android-native-devSkill
- animate-expoSkill
- animateSkill
- animation-vocabularySkill
- api-design-principlesSkill
- apple-designSkill
- ask-sonnerSkill
- autorunSkill
- azure-aiSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-observabilitySkill
- better-auth-best-practicesSkill
- brainstormingSkill
- brand-guidelinesSkill
- buddy-singsSkill
- canvas-designSkill
- claude-apiSkill
- deploy-to-vercelSkill
- discernment-nudgeSkill
- doc-coauthoringSkill
- documentation-writerSkill
- docxSkill
- emil-design-engSkill
- excalidraw-diagram-generatorSkill
- executing-plansSkill
- extract-design-systemSkill
- find-animation-opportunitiesSkill
- find-skillsSkill
- finishing-a-development-branchSkill
- firebase-security-rules-auditorSkill
- flutter-devSkill
- frontend-designSkill
- frontend-devSkill
- fullstack-devSkill
- gif-sticker-makerSkill
- git-commitSkill
- github-actions-docsSkill
- golang-code-styleSkill
- golang-testingSkill
- idexal-ideSkill
- image-to-codeSkill
- improve-animationsSkill
- improve-codebase-architectureSkill
- internal-commsSkill
- ios-application-devSkill
- mcp-builderSkill
- minimax-docxSkill
- mmx-cliSkill
- minimax-music-genSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 2 are common, 4 are distinctive, and 0 are very specific to this project.
2
Common
Most of the 19 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

