Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

python-pro

Déclaration de la source

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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

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.

Portée de l'examen

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.

Capacités 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.

Limites et portée

  • 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.

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
6
Fichiers Markdown
6
scripts
0
références
5
Taille
49,7 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/python-pro/references/async-patterns.mdRéférence9,1 KB
skills/python-pro/references/packaging.mdRéférence9,4 KB
skills/python-pro/references/standard-library.mdRéférence8,9 KB
skills/python-pro/references/testing.mdRéférence9,7 KB
skills/python-pro/references/type-system.mdRéférence6,5 KB
skills/python-pro/SKILL.mdInstruction6,1 KB

Frontmatter du 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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze codebase

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

  2. 02
    Action

    Implement with full typing

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

  3. 03
    Décision

    Resolve validation failures

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

  4. 04
    Sortie

    Deliver module and tests

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Éléments à examiner

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsNon observé
Note

File modification is described or implemented

188 occurrences

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.

Moyen

Network access is mentioned

19 occurrences

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.

Note de sécurité éditoriale

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

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.
Vérifier l'installation

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

Prérequis

  • 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.

Exemples de prompts

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.

Une conclusion, avec ses limites

Points forts

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

Points d'attention

  • Prescribes Poetry and specific style choices that may clash with your project.
  • Strict rules can slow quick prototypes.
Conclusion de recherche

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/python-pro
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

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.