Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

python-pro

Declaración de origen

Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

A Python 3.11+ specialist that writes type-annotated code, pytest suites and validates with mypy strict, black and ruff.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Reviews codebase structure, dependencies, type coverage and tests before changing code.
  • Designs interfaces with protocols, dataclasses and type aliases.
  • Writes a pytest suite with fixtures, mocking and a stated coverage target above 90%.
  • Runs mypy --strict, black and ruff and fixes reported issues before finishing.

Limitaciones y alcance

  • Scoped to Python 3.11+; older runtimes are not addressed.
  • The >90% coverage and mypy-strict requirements may be heavy for small scripts.
  • This review did not run the tools or the example code.

Relevante para

  • Python developers wanting strict typing
  • Teams adopting async I/O patterns
  • Maintainers adding pytest coverage

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
49,7 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/python-pro/references/async-patterns.mdReferencia9,1 KB
skills/python-pro/references/packaging.mdReferencia9,4 KB
skills/python-pro/references/standard-library.mdReferencia8,9 KB
skills/python-pro/references/testing.mdReferencia9,7 KB
skills/python-pro/references/type-system.mdReferencia6,5 KB
skills/python-pro/SKILL.mdInstrucción6,1 KB

Frontmatter de SKILL.md

{
  "name": "python-pro",
  "description": "Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "language",
    "triggers": "Python development, type hints, async Python, pytest, mypy, dataclasses, Python best practices, Pythonic code",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fastapi-expert, devops-engineer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze codebase

    Review structure, dependencies, type coverage and the existing test suite.

  2. 02
    Acción

    Implement with full typing

    Write Pythonic code with full type hints and error handling after designing interfaces.

  3. 03
    Decisión

    Resolve validation failures

    If mypy fails, fix the type errors and re-run before proceeding.

  4. 04
    Salida

    Deliver module and tests

    Provide the module, a pytest file, mypy --strict confirmation and a short explanation.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Elementos que requieren revisión

207 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesNo observado
Nota

File modification is described or implemented

188 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 188 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

19 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 19 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Review any shell commands it runs for linting and dependency installation, and confirm it does not hardcode configuration or secrets.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/python-pro # .claude/skills/python-pro
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/python-pro/SKILL.md.
  2. Review the license, prerequisites and all bundled resources.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Check that SKILL.md for python-pro is discoverable at the destination, then ask Claude Code to use it on a small test task.

Requisitos previos

  • Scoped to Python 3.11+; older runtimes are not addressed.
  • The >90% coverage and mypy-strict requirements may be heavy for small scripts.
  • This review did not run the tools or the example code.

Prompts de ejemplo

Representative task

Use the python-pro skill to add full type hints to src/ingest/client.py, convert its fetch loop to asyncio with httpx, and add pytest tests with fixtures. Run mypy --strict and report the result.

Inspect before use

Read the python-pro skill files at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/python-pro/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Concrete validation loop with mypy, black and ruff.
  • Explicit MUST/MUST NOT lists such as no bare except or mutable defaults.

Aspectos a considerar

  • Prescribes Poetry and specific style choices that may clash with your project.
  • Strict rules can slow quick prototypes.
Conclusión de la investigación

A solid default for typed, tested modern Python when your project accepts its tooling choices.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/python-pro
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.