원클릭으로
python-patterns
Python patterns for this repo — pure-stdlib trading core, typed dataclasses, no hidden dependencies, deterministic I/O.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Python patterns for this repo — pure-stdlib trading core, typed dataclasses, no hidden dependencies, deterministic I/O.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use the pinned external CocoIndex Code MCP workflow for broad repository routing, then prove exact candidates with rg and direct file reads.
Bound repository context reads and semantic-search output without weakening source, test, or evidence verification.
Choose staged contract tests that catch partial AI-generated fixes across models, data, risk, execution ownership, and CLI/Windows parity.
Keep concise user docs and machine-readable model evidence synchronized with real behavior without losing provenance or caveats.
Apply four anti-error coding principles plus this repository's stricter financial-evidence, safety, and single-session rules.
Research the existing implementation, tests, primary technical sources, and financial rationale before adding trading code or dependencies.
| name | python-patterns |
| description | Python patterns for this repo — pure-stdlib trading core, typed dataclasses, no hidden dependencies, deterministic I/O. |
| origin | adapted from ZMB-UZH/omero-docker-extended python-patterns (ECC v1.10.0) |
Use this skill whenever you add or refactor Python in src/simple_ai_trading/, tests/, or tools/.
Candle, ModelRow, BacktestResult, ClassificationReport, …) and regular dataclasses for config. Keep that split.api, features, model, backtest, shell, chart, style, …).RuntimeConfig.public_dict, _redact_request_url, _redact_sensitive_text). New printable surfaces that skip this are blocking bugs.data/ must use sort_keys=True and keep a stable top-level schema (command, timestamp, runtime, …). Never embed raw API keys.testnet=True, dry_run=True, conservative risk, and the BTC/ETH/SOL major-asset scope. A change that weakens any of these requires an explicit user opt-in path with a test.pyproject.toml). Run ruff format and ruff check --fix on touched files before committing.X | Y unions, list[T], dict[K, V], and from __future__ import annotations consistently.coverage --fail-under=100; an uncovered branch will break CI, not just coverage drift.config_paths() / load_runtime() each time.