All authors

Claude Skills by amralhorimy
github.com/amralhorimy13 skills0 installs0 views
- Fastapi Add ModuleAdd one separate feature (module) to an existing FastAPI backend end to end - domain, application, persistence, HTTP, tests, wiring, and docs - guided or delivery mode. Use whenever adding a feature, resource, endpoint, CRUD flow, or new API module. Start by inventorying the actual project structure, versions, identity, and persistence; never assume a profile, database, or adapter that is not present.Votes: 0GitHub stars: 2
- Fastapi Async WorkersBackground work for FastAPI - choosing between a job queue (commands that must run) and an event stream (facts others react to), Redis Streams with consumer groups, at-least-once delivery with idempotent handlers, XAUTOCLAIM recovery, dedup keys, dead-letter streams, derived counters by recount, separate worker containers and entrypoints, shutdown contract, Redis pub/sub + SSE and LLM token streaming. Use whenever the user mentions workers, queues, background jobs, Celery alternatives, Redis ...Votes: 0GitHub stars: 2
- Fastapi Code UpgradeAudit and, when explicitly agreed, incrementally improve existing FastAPI code. Identify risks with contextual evidence, preserve the project's established architecture and tooling, and propose safe migration steps. Use when a user asks to review, improve, refactor, restructure, clean up, or compare existing backend code with a reference.Votes: 0GitHub stars: 2
- Fastapi Contracts TypesContract-first design for FastAPI backends - define domain ports (Protocol), command/query dataclasses, views, DTOs with to_command/from_entity, error codes, event payloads, status machines and typed IDs BEFORE writing logic. Use whenever the user prepares interfaces, schemas, Pydantic models, dataclasses, "contracts", ports, types, enums, status values, event payloads, Redis stream messages, API shape, versioning, or asks what the request/response should look like before implementation.Votes: 0GitHub stars: 2
- Fastapi Docs ReleaseDocumentation, decision records and publishing for FastAPI projects - ARCHITECTURE.md (one rule, layer table, migration map, startup and shutdown contracts), ADRs with rejected alternatives and "when to revisit", per-module/phase docs with end-to-end trace, ops commands, known limits and verified/not-verified, errors catalog, bilingual README (Arabic/English), CI, secret scanning and a pre-publish checklist for GitHub. Use whenever the user wants to publish a project, write a README or docs, ...Votes: 0GitHub stars: 2
- Fastapi Errors LoggingCentral error-handling patterns and safe structured logging for FastAPI - DomainError taxonomy, per-technology errors.py with guard decorators, a single classifier shared by HTTP/WebSocket/jobs, safe RFC 9457 problem bodies, an optional security-signal integration, correlation ids and a unique error-code catalog. Use whenever the user asks about error handling, exceptions, error responses, logging, logs not clear, tracing a request across API and workers, correlation ids, redaction, or "why c...Votes: 0GitHub stars: 2
- Fastapi FoundationBuild the foundation of a new professional FastAPI backend from zero - hexagonal modular-monolith layout (modules/platform/shared/entrypoints), typed settings with production fail-fast checks, startup preconditions and essential indexes, composition root, infrastructure clients (MongoDB, Redis, MinIO), Docker/compose/Nginx, import-linter architecture contracts, make check, CI. Use whenever the user says new project, start a backend, project skeleton, structure, boilerplate, "stage 0", Docker/...Votes: 0GitHub stars: 2
- Fastapi Major FeatureSystem-design process for large backend features that span several modules, workers and data flows - AI/LLM serving, recommendation feeds, notification pipelines, upload/processing pipelines, search, grading systems, real-time features. Use whenever the user wants a big/major/complex feature, "design the architecture of X", scalability, a pipeline, multi-step flows, ML in the backend, or asks how a top company would structure something - produces a design doc, then splits it into buildable ph...Votes: 0GitHub stars: 2
- Fastapi ObservabilityObservability for FastAPI backends and workers - /healthz and /readyz, Prometheus metrics (HTTP, dependency timings via guards, job/event/queue lag, security and audit gauges), event-loop lag monitor, unified JSON log envelope shipped with Alloy to Loki, guarded /metrics, dashboards, alerts and runbooks. Use whenever the user asks about monitoring, metrics, health endpoints, "how do I know it's working in production", slow requests, queue backlog, Grafana/Prometheus/Loki, log pipeline, alerts...Votes: 0GitHub stars: 2
- Fastapi Phase PlanningPlan backend work by splitting a big goal into phases and stages with scope, contracts, acceptance checks, ordering and rollback. Use whenever the user has a large or vague goal ("I want a feed / notifications / AI / grading system"), asks for a plan, roadmap, phases, stages, breakdown, "where do I start", wants to restructure a project step by step, or when a task is too big to build in one go - even if they only say "plan" or "organize this".Votes: 0GitHub stars: 2
- Fastapi Pro WorkflowEntry point and working agreement for building professional FastAPI backends - the router that decides which other fastapi-* skill to use. Use this skill FIRST whenever the user starts, plans, extends, restructures or reviews a Python/FastAPI backend project (APIs, workers, MongoDB, Redis, MinIO, Docker, Nginx), asks "how should I build / add / organize X", or wants amateur backend code raised to senior, production-grade quality - even if they never say "skill" or "workflow".Votes: 0GitHub stars: 2
- Fastapi SecuritySecurity for FastAPI backends - authentication (Firebase/JWT) vs authorization (RBAC, object-level), Redis rate limiting, production fail-fast configuration, signed cursors, webhook and metrics tokens, safe uploads, security-event detection rules, tamper-evident HMAC audit log, secrets handling, Nginx/UFW/Docker hardening. Use whenever the user mentions auth, tokens, roles, permissions, admin, rate limit, brute force, upload safety, secrets, audit log, intrusion detection, HTTPS, hardening, "...Votes: 0GitHub stars: 2
- Fastapi Testing VerificationTesting and verification for hexagonal FastAPI backends - in-memory fakes of ports, unit tests per use case, architecture tests (AST + import-linter), policy tests per phase, integration tests on real Mongo/Redis, error-catalog test, labs and benchmarks, load and failure drills, offline evaluation for ranking/ML, make check, and honest verified/not-verified reporting. Use whenever the user asks to test, verify, "make sure it works", prove a phase complete, write pytest tests, load-test, failu...Votes: 0GitHub stars: 2