python-architect SKILL.md skillA

python-architect from ralvarez-ai/ralvaskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ralvarez-ai/ralvaskills/python-architect@v1.4.2

Pins v1.4.2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ralvarez-ai/ralvaskills
Path
skills/languages/python-architect/SKILL.md
Versions recorded
5
Latest version
v1.4.2, committed Oct 12, 2026
First version recorded
May 23, 2026
Size
13,836 bytes
Repository stars
4
License
GPL-3.0

Python 3.14 enterprise standards — modern typing (PEP 649), immutable dataclasses, Protocol-based DI, asyncio discipline, pytest 9, psycopg + .sql files via importlib.resources. Use when writing, reviewing, or scaffolding Python code.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Python Architecture Standards

Targets **Python 3.14**. See [STACK.md](STACK.md) for pinned dependency versions.

## 1. Typing & Domain Safety

- **Modern syntax:** Built-in generics (`list[str]`, `dict[K, V]`, `X | None`). Never the legacy `typing.List` / `typing.Optional`.
- **Deferred annotations (PEP 649, 3.14):** Annotations are no longer eagerly evaluated — forward references no longer need quotes (`def f(arg: NotYetDefined)` works). Inspect via `annotationlib.get_annotations()`, not `__annotations__` directly.
- **Domain types:** `typing.NewType` to separate distinct concepts (`UserId` vs `OrderId`).
- **Enums:** Default to `Enum` (with `__str__` overridden) for closed sets of domain states — members are distinct identities, not interchangeable with raw primitives, which catches accidental comparisons against arbitrary strings/ints. Reach for `StrEnum` (3.11+) when members must interoperate directly with strings — JSON payloads, query params, f-strings — without a `.value` call at every site. Reach for `IntEnum` when members must support arithmetic or ordering against plain integers (HTTP status codes, priority levels, wire values from an external system). Both trade…
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ralvarez-ai/ralvaskills/python-architect@sha256:c9a39585e1ecdf7a

The line at the top of this page pins the label v1.4.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_e4xpakrm5d656oqh.svg)](https://markdownregistry.com/a/art_e4xpakrm5d656oqh)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between May 23, 2026 and Oct 12, 2026, about one every 36 days.

versioncommittedcommitsizeaudit
v1.4.2 latest2026-10-12 1aa1e04 13,836 BA view · diff
v1.4.12026-07-10 a880280 13,538 BA view · diff
v1.4.02026-07-10 4aabc24 13,538 BA view · diff
v1.3.02026-07-08 bb2d31c 13,201 BA view · diff
v1.0.02026-05-23 d2d4526 6,876 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13836 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ralvarez-ai/ralvaskills · 4 stars · license GPL-3.0 · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_e4xpakrm5d656oqh
GET https://markdownregistry.com/api/v1/resolve?ref=ralvarez-ai/ralvaskills/python-architect
GET https://markdownregistry.com/api/v1/blob/c9a39585e1ecdf7abff419f1a2b64223aaf14f9308664bf86032c072c8b1f323

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ralvarez-ai/ralvaskills

CLAUDE.md@.rsk CLAUDE.md file
ralvarez-ai/ralvaskills · .rsk/CLAUDE.md
git:20261102.3fdad40 · audit B · 4 stars
AGENTS.md AGENTS.md file
ralvarez-ai/ralvaskills · AGENTS.md
git:20261102.e6195a0 · audit A · 4 stars
CLAUDE.md CLAUDE.md file
ralvarez-ai/ralvaskills · CLAUDE.md
git:20261102.eba2ebb · audit A · 4 stars
ml-conference-paper-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/academic/ml-conference-paper-architect/SKILL.md · ML conference paper formatting for NeurIPS, ICML, ICLR, and AAAI — official style-file usage, anonymization and…
v1.0.0 · audit A · 4 stars
study-artifact-builder SKILL.md skill
ralvarez-ai/ralvaskills · skills/academic/study-artifact-builder/SKILL.md · Build a single-file interactive HTML artifact to study a paper's pipeline or dataset until it can be defended from…
v1.1.0 · audit A · 4 stars
sql-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/databases/sql-architect/SKILL.md · SQL standards — UUID v7 PKs, snake_case, soft delete, forward-only migrations, parameter binding, N+1 prevention…
v1.0.1 · audit A · 4 stars
ddd-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/design/ddd-architect/SKILL.md · Domain-Driven Design — strategic-first (bounded contexts, context mapping) with aggregates, value objects, domain…
v1.0.0 · audit A · 4 stars
hexagonal-arch SKILL.md skill
ralvarez-ai/ralvaskills · skills/design/hexagonal-arch/SKILL.md · Hexagonal architecture (ports & adapters) — dependencies point inward; domain declares ports, adapters implement them…
v1.1.0 · audit A · 4 stars
protobuf-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/encoding/protobuf-architect/SKILL.md · Protocol Buffers (proto3) standards — Buf-style package naming, protovalidate (CEL), buf toolchain for…
v1.0.0 · audit A · 4 stars
astro-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/frameworks/astro-architect/SKILL.md · Astro 6+ standards — islands architecture with zero JS by default, Content Layer collections with loader + Zod schema…
v1.0.0 · audit B · 4 stars
fastapi-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/frameworks/fastapi-architect/SKILL.md · Framework-specific delta on rest-api-architect — FastAPI 0.136 on Python 3.14. Feature layout, Pydantic v2…
v1.0.3 · audit A · 4 stars
gin-architect SKILL.md skill
ralvarez-ai/ralvaskills · skills/frameworks/gin-architect/SKILL.md · Framework-specific delta on rest-api-architect — Gin 1.12 on Go 1.26. Feature layout, struct-tag validation, RFC 9457…
v1.0.3 · audit A · 4 stars

Every file in ralvarez-ai/ralvaskills

Other files named python-architect

python-architect SKILL.md skill
dmitriyyukhanov/agent-plugins · plugins/python-dev/skills/python-architect/SKILL.md · Creates high-level Python architecture with protocols, test stubs, and module structure. Use when designing Python…
git:20260306.25081b7 · audit A · 8 stars
python-architect SKILL.md skill
dmitriyyukhanov/claude-plugins · plugins/python-dev/skills/python-architect/SKILL.md · Creates high-level Python architecture with protocols, test stubs, and module structure. Use when designing Python…
git:20260306.25081b7 · audit A · 8 stars

Browse by kind, by grade A, or by owner.