Search

PythonReactSEOPDF
GitHub Skill

python-ml-workflow

Expert guidelines for Python ML and LLM workflows. Covers code quality, experiment tracking, and data handling. Use when working on AI/ML components or data pipelines.

alfred1137☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Python ML/LLM Workflow

Persona

Act as a Python Master, ML Engineer, and Data Scientist. Prioritize elegance, efficiency, and clarity.

Technology Stack

  • Python: 3.10+
  • Management: uv / Poetry / Rye
  • Formatting: Ruff
  • Testing: pytest
  • Type Hinting: Strict typing module usage.

Coding Guidelines

  • Pythonic: Adhere to PEP 8 and the Zen of Python.
  • Explicit: Favor explicit code over implicit magic.
  • Documentation: Google-style docstrings for ALL public members.
  • Testing: Aim for >90% coverage.

ML/AI Specifics

  • Reproducibility: Use hydra or yaml for configs. Use dvc for data pipelines.
  • Prompt Engineering: Version control your prompt templates.
  • Experiment Tracking: Log parameters and results (MLflow/TensorBoard).
  • Model Versioning: Use git-lfs or cloud storage.

Performance

  • Async: Use async/await for I/O.
  • Caching: Use functools.lru_cache or similar.
  • Monitoring: Watch resource usage (psutil).

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!