본문으로 건너뛰기
cccskills
무료GitHub에 공개

mastering-python-skill

Modern Python coaching covering language foundations through advanced production patterns. Use when asked to "write Python code", "explain Python concepts", "set up a Python project", "configure Poetry or PDM", "write pytest tests", "create a FastAPI endpoint", "run uvicorn server", "configure alembic migrations", "set up logging", "process data with pandas", or "debug Python errors". Triggers on "Python best practices", "type hints", "async Python", "packaging", "virtual environments", "Pydantic validation", "dependency injection", "SQLAlchemy models".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain스타 119(GitHub 119 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(29)

  • SKILL.md5.6 KB
  • .skilz-manifest.yaml387 B
  • references/foundations/code-quality.md14.0 KB
  • references/foundations/project-structure.md15.5 KB
  • references/foundations/syntax-essentials.md19.2 KB
  • references/foundations/type-systems.md14.4 KB
  • references/packaging/docker-deployment.md16.5 KB
  • references/packaging/poetry-workflow.md14.3 KB
  • references/packaging/pyproject-config.md12.4 KB
  • references/patterns/async-programming.md15.2 KB
  • references/patterns/context-managers.md21.4 KB
  • references/patterns/decorators.md20.3 KB
  • references/patterns/error-handling.md19.6 KB
  • references/patterns/generators.md20.7 KB
  • references/production/ci-cd-pipelines.md15.9 KB
  • references/production/monitoring.md24.7 KB
  • references/production/security.md32.1 KB
  • references/testing/mocking-strategies.md32.4 KB
  • references/testing/property-testing.md30.2 KB
  • references/testing/pytest-essentials.md20.7 KB
  • references/web-apis/database-access.md27.2 KB
  • references/web-apis/fastapi-patterns.md18.7 KB
  • references/web-apis/pydantic-validation.md22.0 KB
  • sample-cli/async_fetcher.py7.7 KB
  • sample-cli/code_validator.py8.3 KB
  • sample-cli/config_loader.py9.7 KB
  • sample-cli/db_cli.py13.1 KB
  • sample-cli/README.md4.1 KB
  • TOC.md6.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Mastering Python Skill

Production-ready Python patterns with runnable code examples.

Contents


Workflow

Phase 1: Setup

  1. Verify Python version

    python --version  # Require 3.10+, prefer 3.12+
    
  2. Create and activate virtual environment

    python -m venv .venv && source .venv/bin/activate
    
  3. Install dependencies

    poetry install  # or: pip install -r requirements.txt
    

Phase 2: Develop

  1. Reference appropriate patterns:

  2. Follow project structure from project-structure.md

Phase 3: Validate

  1. Run quality checks

    ruff check . && ruff format --check .
    mypy src/
    
  2. Run tests with coverage

    pytest -v --cov=src --cov-report=term-missing
    

Phase 4: Deploy

  1. Build and verify package

    python -m build && twine check dist/*
    
  2. Deploy per docker-deployment.md or ci-cd-pipelines.md

Pre-Completion Checklist:

- [ ] All tests pass
- [ ] mypy reports no errors
- [ ] ruff check clean
- [ ] Coverage ≥80%
- [ ] No security warnings in dependencies

Reference Files

CategoryFilesKey Topics
Foundationssyntax-essentials, type-systems, project-structure, code-qualityVariables, type hints, generics, src layout, ruff, mypy
Patternsasync-programming, error-handling, decorators, context-managers, generatorsasync/await, exceptions, Result type, with statements, yield
Testingpytest-essentials, mocking-strategies, property-testingFixtures, parametrize, unittest.mock, Hypothesis
Web APIsfastapi-patterns, pydantic-validation, database-accessDependencies, middleware, validators, SQLAlchemy async
Packagingpoetry-workflow, pyproject-config, docker-deploymentLock files, PEP 621, multi-stage builds
Productionci-cd-pipelines, monitoring, securityGitHub Actions, OpenTelemetry, OWASP, JWT

See TOC.md for detailed topic lookup.


Sample CLI Tools

Runnable examples demonstrating production patterns:

ToolDemonstratesReference
async_fetcher.pyAsync HTTP, rate limiting, error handlingasync-programming.md
config_loader.pyPydantic settings, .env files, validationpydantic-validation.md
db_cli.pySQLAlchemy async CRUD, repository patterndatabase-access.md
code_validator.pyRun→check→fix with ruff and mypycode-quality.md
# Test examples
python sample-cli/async_fetcher.py https://httpbin.org/get
python sample-cli/config_loader.py --show-env
python sample-cli/db_cli.py init --sample-data && python sample-cli/db_cli.py list
python sample-cli/code_validator.py src/

When NOT to Use

  • Non-Python languages: Use language-specific skills
  • ML/AI model internals: Use PyTorch/TensorFlow skills
  • Cloud infrastructure: Use AWS/GCP skills for infra (this covers code)
  • Legacy Python 2: Focus is Python 3.10+

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Installation and configuration skill for Agent Brain document search system. Use when asked to "install agent brain", "setup agent brain", "configure agent brain", "setting up document search", "installing agent-brain packages", "configuring API keys", "initializing project for search", "troubleshooting agent brain", "pip install agent-brain", "agent brain not working", "agent brain setup error", "configure embeddings provider", "setup ollama for agent brain", "agent brain environment variables", "install agent brain mcp", "configure mcp server", or "connect agent brain to claude desktop". Covers package installation (server, CLI, MCP), provider configuration, project initialization, and server management.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

Add an idea to the backlog parking lot (999.x numbering)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

Add phase to end of current milestone in roadmap

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

Generate tests for a completed phase based on UAT criteria and implementation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

Capture idea or task as todo from current conversation context

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

Audit milestone completion against original intent before archiving

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SpillwaveSolutions/agent-brain1192026년 9월 20일 업데이트

SpillwaveSolutions의 스킬 모두 보기

이 스킬의 문제 신고