agentleFS
fmindfmind/dotfiles/skills/python/SKILL.md

python

Skill14 starsChanged yesterdayMITView on GitHub

Build Python packages, CLIs, APIs, web apps, PEP 723 scripts: uv, Ruff, ty, pytest, Pydantic, FastAPI, Django, Litestar, OTel.

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use android-kotlin, java and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • alinaqiSkill

    android-kotlin

    Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing

    Also in 4 projects that use this

  • testdino-hqSkill

    java

    Google's official Java style guide. Covers 2-space indentation, 100-char line limit, naming conventions, braces, imports, Javadoc, exception handling, lambdas, and streams. Enforces @Override annotations and specific imports.

    Also in 6 projects that use this

  • testdino-hqSkill

    cpp

    Google's official C++ style guide. Covers headers, naming conventions, formatting, classes, memory management, RAII, smart pointers, and modern C++ features.

    Also in 5 projects that use this

  • ffsshhttiikkSkill

    flutter

    Flutter cross-platform framework

    Also in 4 projects that use this

  • mcollinaSkill

    node

    Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.

    Also in 4 projects that use this

  • VercelSkill

    react

    React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.

    Also in 7 projects that use this

  • +1 more from testdino-hq

The file

Files
SKILL.md

Python Engineering

Maintain lean, strictly typed Python packages, CLIs, web services, and PEP 723 scripts using stdlib first, mainstream well-maintained libraries when earned, and existing repo conventions.

Workflow

Load the matching domain guide(s) below plus craft, language, and testing. Defaults: mlops for dataframes/ML, argparse for CLIs, and fastapi + Granian for web APIs (django for ORM/admin monoliths, litestar for opt-in msgspec/HTMX apps, ui for Gradio/NiceGUI).

Task guides

<!-- guides:start -->
  • api-client: Build typed Python HTTPX2 clients with bounded pagination and stdlib retries.
  • api-design: Design HTTP/RPC/SDK wire contracts: RFC 9457 errors, cursor pagination, idempotency, OpenAPI, and SemVer.
  • argparse: Design CLI contracts (streams, exits, JSON) and build stdlib argparse CLIs.
  • async: Build asyncio/AnyIO concurrency with TaskGroup cancellation, loop_factory, bounded pools, and SIGTERM drain.
  • craft: Apply Google-style Python craft, stdlib-first library choices, two-boundary error logging, and library maintenance.
  • database-and-jobs: Configure Postgres/SQLite persistence, Alembic migrations, obstore, queues, and Cloud Tasks.
  • django: Build Django applications with ORM, admin, authentication, Granian serving, and native testing.
  • fastapi: Build FastAPI ASGI services with Granian, RFC 9457 errors, native SSE, opt-in OTel, and httpx2 testing.
  • foundation: Configure Python package layout, PyPI metadata, uv/Ruff/ty tooling, workspaces, and project scaffolding.
  • language: Apply Python 3.14+ idioms, strict ty typing, exception chaining, subprocess bounds, and atomic file I/O.
  • litestar: Build opt-in Litestar ASGI apps when msgspec throughput or built-in HTMX/CSRF plugins earn their keep.
  • observability: Instrument Python services with structlog JSON, locals-free stack frames, and opt-in OpenTelemetry OTLP.
  • performance: Profile Python CPU/memory and benchmark CLIs/HTTP with hyperfine, oha, Locust, and 3.15 sampling.
  • pydantic: Typed validation, serialization, and settings boundaries with Pydantic and msgspec.
  • script: Build standalone PEP 723 single-file Python scripts run via uv run.
  • security-and-auth: Implement OIDC/OAuth2, JWT, Argon2id, webhook HMAC, CSRF, and HTTP security headers.
  • testing: Write Python tests with pytest, fixtures, property, mutation, and opt-in BDD tests.
  • ui: Build Gradio model demos and NiceGUI dashboards or browser utilities.
<!-- guides:end -->

Documentation

  • Companions: mlops, agent-frameworks, web-frontend, mise, bootstrap, sql.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.