com um clique
kyzo-python
kyzo-python contém 10 skills coletadas de kyzodb, com cobertura ocupacional por repositório e páginas de detalhe dentro do site.
Skills neste repositório
Fires when a boundary crossing is about to be hand-rolled instead of built as the matching construct in python-adapters-success — a before-validator that indexes/renames/routes/computes on raw foreign data, a try/except catching Exception or ValidationError or running multiple statements in its except body, or .model_dump/.model_dump_json called anywhere but a route reply or client binding.
Build the three boundary-crossing constructs — foreign model, contract model, ordered union — the only shapes for data crossing in or out of the program. Fires before touching a foreign payload, file format, message, or client reply; before declaring an API surface or response shape; or before writing a try/except, error handler, retry, fallback, or None-check around foreign input.
Fires when live state or a transport client is about to land somewhere wrong instead of the matching construct in python-state-success — frozen=True on the consistency model, a client field with no verb emitting through it, or arbitrary_types_allowed=True on any model other than the consistency model.
Build the two live-node constructs — consistency model and binding — the only places mutable state and transport clients are allowed to converge. Fires before holding a socket, database, bus, or client; before declaring a mutable field; before writing a manager, an engine, or a second unfrozen model in a context; or before writing a connect/setup/wiring class.
Fires when domain data is about to be shaped wrong instead of as the matching construct in python-values-success — a bare primitive field, an unproven scalar or collection, a T | None absence, free-floating vocabulary, a drifted or unmodeled enum, an after-validator policing a relation the fields should reparameterize, a bare .root held mid-graph, an open (unfrozen or extra-allowing) model, a union alias built without a discriminator, a union wrapped in a class, or a field the ontology never declared.
Build the five proven shapes for domain data — semantic scalar, value object, concept model, collection, union. Fires before writing a bare primitive field, a dataclass/NamedTuple/TypedDict, a list/set/dict field, a T | None field, a raw Literal or bare StrEnum field, or a match/if-elif/isinstance ladder selecting by kind.
Fires when a model method is about to be written wrong instead of as the matching construct in python-verbs-success — a stub body (raise NotImplementedError/pass/...), a second top-level construction statement in a verb, a verb's signature drifted from its modeled row, a modeled verb missing from the class, a verb/derivation/method with no row authorizing it, an undecorated method on a frozen model, or a verb body that skips a declared constructs/emits participant.
Build the two behavior constructs — verb (state transition) and derivation (pure computed fact) — the only legal methods on a model. Fires before writing any method on the consistency model that isn't a derivation, any method/property/computed field on a frozen model, a standalone function computing from a model's fields, a stored derivable field, a fetch-and-return method, or a multi-step construction chain.
Fires when plumbing is about to be written wrong instead of as the matching construct in python-wiring-success — a top-level def outside a route file or the composition root, or a class/private helper with no modeled entry claiming it.
Build the three plumbing constructs — config, route, composition root — the only places environment reads, transport ingress, and program assembly are allowed. Fires before any os.environ read, dotenv parse, or settings dict; before writing a handler that parses/computes/decides on request or message input; or before writing main.py, a runner, a pipeline, an orchestrator, or a step-list function.