Skip to main content

python-cookbook

Python code patterns and recipes for everyday tasks. Use when you need file I/O snippets, list comprehensions, decorators, async functions, regex patterns, datetime handling, or need to lint and format Python files.

소스 정보

저장소
bytesagain/ai-skills
최근 소스 활동
2026년 4월 19일 08:43
감지된 SKILL.md 언어
영어
스타
16
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
python-cookbook
description
Python code patterns and recipes for everyday tasks. Use when you need file I/O snippets, list comprehensions, decorators, async functions, regex patterns, datetime handling, or need to lint and format Python files.
# python-cookbook ## Triggers on python snippet, python code pattern, file io python, list comprehension, decorator, async python, python regex, debug python, lint python, format python ## What This Skill Does Search and display common Python code recipes, run code snippets, check syntax, auto-format files, and look up solutions for common Python errors. ## Commands ### snippet Search or browse built-in code snippets (file-read, file-write, json, list, dict, decorator, async, regex, date, and more). ```bash bash scripts/script.sh snippet [keyword] bash scripts/script.sh snippet decorator ``` ### run Execute a Python code snippet inline or from a file. ```bash bash scripts/script.sh run 'print("hello world")' bash scripts/script.sh run @script.py ``` ### lint Check Python file syntax using py_compile. ```bash bash scripts/script.sh lint <file.py> ``` ### format Auto-format a Python file using black (falls back to autopep8). ```bash bash scripts/script.sh format <file.py> ``` ### debug Show solutions for common Python errors (NameError, TypeError, IndexError, etc.). ```bash bash scripts/script.sh debug [ErrorName] bash scripts/script.sh debug TypeError ``` ### help Show all available commands. ```bash bash scripts/script.sh help ``` ## Requirements - bash 4+ - python3 (standard library) - black or autopep8 (optional, for format command) Powered by BytesAgain | bytesagain.com
GitHub에서 보기