بنقرة واحدة
python
Python conventions for this repo: virtual environments, type hints, pyproject.toml, and pytest patterns.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Python conventions for this repo: virtual environments, type hints, pyproject.toml, and pytest patterns.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Operate Harkonnen through the repo-local MCP server and CLI. TRIGGER: user asks about run history, PackChat threads or messages, checkpoints, board snapshots, reasoning trails, benchmark suites or reports, wants to diagnose a failure, wants a run report, or wants to start, queue, or watch a run. Preferred over raw shell commands for Harkonnen interactions.
Databricks on Azure: cluster lifecycle, Delta Lake operations, MLflow tracking, and Unity Catalog patterns for this repo.
Azure cloud resources: ARM/Bicep templates, Azure CLI patterns, RBAC, service principals, and subscription safety for this repo.
Docker and Compose: image builds, container lifecycle, networking, volume management, and safety conventions for this repo.
SQL database patterns: schema migrations, query safety, index design, and transaction hygiene for this repo.
WinCC OA SCADA: CTRL scripts, panels, datapoint operations, manager lifecycle, and live-system safety for this repo.
| name | python |
| description | Python conventions for this repo: virtual environments, type hints, pyproject.toml, and pytest patterns. |
| user-invocable | false |
| allowed-tools | ["Bash(python *)","Bash(python3 *)","Bash(pip *)","Bash(uv *)","Bash(pytest *)"] |
This repo uses Python. Apply these conventions.
uv for speed (uv venv, uv pip install); fall back to python -m venv + pip.source .venv/bin/activate (Linux/macOS) or .venv\Scripts\activate (Windows).pyproject.toml is the single source of truth for dependencies and tool config.from __future__ import annotations for forward references.mypy or pyright in CI — treat type errors as build failures.TypedDict for structured dict shapes; dataclass for mutable value objects.ruff for linting and formatting: ruff check . and ruff format ..pyproject.toml).f-strings for interpolation — not % or .format().except: — always name the exception: except ValueError as e:.tests/ directory; test files prefixed with test_.pytest -q for compact output; pytest -x to stop on first failure.pytest.fixture for setup/teardown — not setUp/tearDown (unittest style).unittest.mock.patch or pytest-mock's mocker fixture.@pytest.mark.parametrize rather than writing loop-based test cases.[project.dependencies] in pyproject.toml.[project.optional-dependencies] dev = [...].setup.py for new projects — pyproject.toml only.