python-performance-optimization
하는 일
이 도구는 파이썬 코드에서 느린 부분을 찾아 고치는 데 도움을 줍니다. 프로그램이 시간과 메모리를 어떻게 쓰는지 분석해, 더 빠르고 효율적으로 만들어 줍니다.
사용하는 경우
- ✓파이썬 프로그램이 실행되는 데 너무 오래 걸릴 때.
- ✓프로그램이 메모리를 덜 쓰도록 하고 싶을 때.
- ✓코드의 특정 부분을 빠르게 만들어야 할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-performance-optimization/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“데이터를 처리할 때 아주 느린 파이썬 스크립트를 어떻게 최적화할 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 도구는 파이썬 코드가 시간과 메모리를 얼마나 쓰는지 측정하는 기법을 사용합니다. 측정 결과를 바탕으로 코드를 다시 쓰거나 조정해 더 빠르게 실행하는 방법을 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Python Performance Optimization
Comprehensive guide to profiling, analyzing, and optimizing Python code for better performance, including CPU profiling, memory optimization, and implementation best practices.
Use this skill when
- Identifying performance bottlenecks in Python applications
- Reducing application latency and response times
- Optimizing CPU-intensive operations
- Reducing memory consumption and memory leaks
- Improving database query performance
- Optimizing I/O operations
- Speeding up data processing pipelines
- Implementing high-performance algorithms
- Profiling production applications
Do not use this skill when
- The task is unrelated to python performance optimization
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문
'프로파일링'이란 무엇인가요?
프로그램이 실행되는 순간을 스냅샷으로 찍어, 어디에서 가장 많은 시간과 자원을 쓰는지 보는 것입니다.
'병목'이란 무엇인가요?
코드에서 속도를 떨어뜨리는 부분입니다. 좁은 파이프의 병목처럼 전체 흐름을 늦춥니다.
이 도구를 쓰려면 숙련된 프로그래머여야 하나요?
아니요, 경험이 많지 않아도 도움을 받을 수 있도록 설계되었습니다. 코드의 성능을 높이는 데 초점을 맞춥니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 48k
- 순위
- #5550
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.