Habilidades python-pro
🐍

python-pro

Seguro

Build Modern Python Applications with Expert Guidance

Python developers struggle with outdated practices and fragmented tooling knowledge. This skill delivers production-ready expertise in Python 3.12+, modern tooling like uv and ruff, async patterns, and performance optimization in one comprehensive resource.

Suporta: Claude Codex Code(CC)
🥉 74 Bronze
1

Baixar o ZIP da skill

2

Upload no Claude

Vá em Configurações → Capacidades → Skills → Upload skill

3

Ative e comece a usar

Testar

A utilizar "python-pro". Set up a FastAPI project with user authentication

Resultado esperado:

  • Project structure with pyproject.toml configured for uv, ruff, mypy, pytest
  • FastAPI app with JWT authentication endpoints (login, register, refresh)
  • Pydantic models for request/response validation with proper type hints
  • Password hashing with bcrypt and secure token generation
  • Test suite with pytest fixtures for authentication testing

A utilizar "python-pro". Optimize slow data processing loop

Resultado esperado:

  • Profile analysis identifying the bottleneck in the iteration
  • Refactored code using generator expressions for memory efficiency
  • Vectorized alternative using NumPy for numerical operations
  • Benchmark comparison showing 10x performance improvement
  • Explanation of when to use each optimization approach

Auditoria de Segurança

Seguro
v1 • 2/24/2026

This is a prompt-only skill containing only instructional text in SKILL.md with no executable code. Static analysis scanned 0 files with 0 lines of code, detecting no security patterns. The skill provides Python development guidance and best practices without any file system access, network calls, or command execution. Safe for publication.

0
Arquivos analisados
0
Linhas analisadas
0
achados
1
Total de auditorias
Nenhum problema de segurança encontrado
Auditado por: claude

Pontuação de qualidade

38
Arquitetura
100
Manutenibilidade
87
Conteúdo
50
Comunidade
100
Segurança
91
Conformidade com especificações

O Que Você Pode Construir

Backend API Development

Build production-ready REST and GraphQL APIs with FastAPI, including authentication, validation, async database access, and automatic OpenAPI documentation.

Code Modernization

Migrate legacy Python codebases to modern standards including type hints, async patterns, updated dependency management with uv, and ruff-based linting.

Performance Optimization

Profile and optimize Python applications for latency and throughput using cProfile, py-spy, async patterns, and caching strategies.

Tente Estes Prompts

Beginner: Set Up Modern Python Project
Help me create a new Python project with modern tooling. I need uv for package management, ruff for linting and formatting, mypy for type checking, and pytest for testing. Generate the pyproject.toml configuration and explain each tool's purpose.
Intermediate: Convert to Async
Review this synchronous Python code and refactor it to use async/await patterns with asyncio. Identify which operations are I/O-bound and would benefit from async. Include proper error handling and explain the performance implications.
Advanced: Type-Safe API Design
Design a FastAPI application with full type safety using Pydantic v2 models, dependency injection, custom exception handlers, and async database access with SQLAlchemy 2.0. Include comprehensive test examples with pytest fixtures.
Expert: Performance Profiling
Profile this Python application to identify bottlenecks. Recommend specific optimizations for memory usage, CPU-bound operations, and database queries. Include before/after benchmarks and explain the trade-offs of each optimization strategy.

Melhores Práticas

  • Use type hints throughout your codebase with mypy strict mode for early error detection
  • Prefer composition over inheritance and follow SOLID principles for maintainable code
  • Write tests with pytest achieving greater than 90 percent coverage for critical paths

Evitar

  • Avoid bare except clauses that catch all exceptions including SystemExit and KeyboardInterrupt
  • Do not use mutable default arguments in function definitions
  • Never store secrets in source code or use environment variables without validation

Perguntas Frequentes

What Python version does this skill support?
This skill specializes in Python 3.12+ with full coverage of latest features. It can provide guidance for older versions but optimizes for current best practices.
Can this skill help migrate from pip to uv?
Yes. It provides step-by-step migration guidance from pip or poetry to uv, including commands for dependency installation, lock file generation, and CI integration.
Does this skill write executable code?
This skill provides code examples and guidance only. It cannot execute code, install packages, or modify your files directly. All code should be tested in your environment.
What testing frameworks does this skill cover?
Primary focus is pytest with its ecosystem including pytest-asyncio, pytest-cov, and pytest-benchmark. It also covers unittest, Hypothesis for property-based testing, and integration testing patterns.
Can this skill help with async debugging?
Yes. It covers async debugging techniques including proper exception handling, task cancellation, deadlock prevention, and tools like asyncio-debug and structured logging for async applications.
Does this skill cover data science libraries?
Yes. It includes NumPy, Pandas, and visualization libraries with focus on performance optimization, memory efficiency, and integration with web frameworks for data APIs.

Detalhes do Desenvolvedor

Estrutura de arquivos

📄 SKILL.md