Torna al catalogo
Curato dal modelloSviluppo

Dossier della skill

python-pro

Dichiarazione di fonte

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 descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

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

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Curato dal modello

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.

Ambito della revisione

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à osservabili

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

Limiti e ambito

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

Utile per

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

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
6
File Markdown
6
script
0
riferimenti
5
Dimensione
49,7 KB
Complessità strutturale
Bassa

Inventario dei file

PercorsoTipoByte
skills/python-pro/references/async-patterns.mdRiferimento9,1 KB
skills/python-pro/references/packaging.mdRiferimento9,4 KB
skills/python-pro/references/standard-library.mdRiferimento8,9 KB
skills/python-pro/references/testing.mdRiferimento9,7 KB
skills/python-pro/references/type-system.mdRiferimento6,5 KB
skills/python-pro/SKILL.mdIstruzione6,1 KB

Frontmatter di 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 lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Input

    Analyze codebase

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

  2. 02
    Azione

    Implement with full typing

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

  3. 03
    Decisione

    Resolve validation failures

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

  4. 04
    Output

    Deliver module and tests

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

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Elementi da rivedere

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.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiNon osservato
Nota

File modification is described or implemented

188 occorrenze

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.

Medio

Network access is mentioned

19 occorrenze

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 di sicurezza editoriale

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

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

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

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
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.
Verifica dell'installazione

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

Prerequisiti

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

Prompt di esempio

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.

Un giudizio, con i suoi limiti

Punti di forza

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

Aspetti da valutare

  • Prescribes Poetry and specific style choices that may clash with your project.
  • Strict rules can slow quick prototypes.
Conclusione della ricerca

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

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

Jeffallanclaude-skillsskills/python-pro
Tipo di fonte
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
MIT
Stelle del repository
12.469
Base dei contenuti

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.