Skip to main content

ia-python-services

Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.

소스 정보

저장소
iliaal/whetstone
최근 소스 활동
2026년 9월 23일 11:11
감지된 SKILL.md 언어
영어
스타
35
포크
4

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
7 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ia-python-services
class
language
description
Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.
paths
**/*.py,**/pyproject.toml,**/ruff.toml,**/uv.lock
# Python Services & CLI ## Working rules - Validate external inputs and responses at boundaries; preserve exception causes. - Keep simple sequential work synchronous. Bound concurrent work, preserve cancellation, and keep task references. - Give network calls timeouts; retry only failures and operations whose semantics permit it. - Enforce job idempotency with atomic writes and database constraints. - Preserve published API behavior and shared migration history. - Match telemetry to an operational question and verify its output. ## Discipline - Simplicity first: every change as simple as possible, impact minimal code - Only touch what's necessary; avoid introducing unrelated changes - No hacky workarounds: if a fix feels wrong, step back and implement the clean solution - Before adding a new abstraction, verify it appears in 3+ places. If not, inline it. - Verify: see Verify section below; pass all checks with zero warnings before declaring done ## Verify - `uv run pytest` passes with zero failures - `uv run ruff check .` passes with zero warnings - `uv run ty check .` passes with zero errors - Coverage target: 80%+ (`uv run pytest --cov`; add `--cov-report=html` for a browsable report) ## Task-specific references Read the relevant reference before implementing or reviewing the matching behavior: - For packaging, environment configuration, CLI setup, or pytest behavior: [tooling-and-tests.md](./references/tooling-and-tests.md). - For asyncio, background jobs, retries, pooling, timeouts, or health checks: [concurrency-and-resilience.md](./references/concurrency-and-resilience.md). - For APIs, validation, errors, migrations, logging, metrics, or traces: [service-boundaries.md](./references/service-boundaries.md). Existing specialized references, when the corresponding topic applies: - [cli-tools.md](./references/cli-tools.md). - [fastapi.md](./references/fastapi.md).
GitHub에서 보기