skills/python-web/SKILL.md
Plan, sell, design, and implement Python/HTML-first web apps with FastAPI, Jinja2, Tailwind, HTMX/Alpine when useful, Pydantic, SQLModel, Alembic, SQLite/Postgres, pytest, ruff, ty, and uv.
npx skillsauth add oornnery/.agents python-webInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use for Python/SSR-first websites, landings, booking/order/catalog/admin systems, dashboards, BFFs, and small productized business apps. Local-business projects are a primary use case, not the skill name/boundary.
Prefer server-rendered HTML with FastAPI + Jinja2. Use HTMX for partial forms/updates and Alpine.js for tiny client-side state only when they simplify UX. Do not turn this into a React/TS-first app unless explicitly requested.
Covers:
Excludes:
Default unless repo already has compatible Python conventions:
Avoid Celery, Redis, React, GraphQL, or complex frontend build systems unless the requirement truly demands it.
Pick one primary profile; list secondary modules separately.
| Profile | Use when | Core scope |
| -------------------- | ---------------------------- | ----------------------------------------------- |
| static-site | presence/content | pages, SEO, CTA, contact, map/social |
| conversion-landing | one offer/campaign | offer, proof, FAQ, lead form, WhatsApp/events |
| booking-system | appointments | services, availability, booking, admin status |
| ordering-system | food/service orders | menu, cart, customer info, WhatsApp/admin hand |
| catalog-commerce | products/light commerce | catalog, search, cart intent, admin catalog |
| admin-dashboard | internal ops/cash-flow/leads | CRUD, summaries, filters, export, permissions |
| custom-ops | specific workflow | domain model + one vertical slice |
references/discovery.mdreferences/product-catalog.mdreferences/architecture.mdreferences/implementation.mdreferences/checklists.mdBusiness Brief if business context matters: confirmed facts, user facts, assumptions, unknowns, goals.SPEC.mdDESIGN.mdTODO.md.spec/state.md.spec/handoff.md.mem/open-loops.mduv run ruff format --check ., uv run ruff check ., uv run ty check, uv run pytest; for DB, uv run alembic upgrade head.Simple app:
app/{main.py,core,routes,templates,static,components,services}
Persisted/admin system:
app/
main.py
core/{config.py,security.py,templates.py}
db/{session.py,models.py}
features/{public,admin,bookings,orders,catalog,cashflow}
templates/{layouts,pages,partials,components}
static/{css,js}
tests/
alembic/versions/
Dependency direction:
routes -> services -> db/session/models
routes -> templates
services -> db/session/models
models -> no routes/templates imports
templates -> no business logic
Keep business rules testable; IO/framework/provider code stays at edges.
Planning responses include: summary, package/profile, MVP, phase 2, out of scope, route map, template map, data model, architecture, checklist, risks/questions, and state files updated.
Implementation responses include: files changed, behavior added, validation run, assumptions/remaining confirmations, and state updates when decisions or next steps changed.
development
--- name: verification description: Discover and run project validation gates: format, lint, typecheck, LSP diagnostics, tests, build, static security checks, dependency audits, and RTK output handling. Use before claiming work is complete, when fixing broken checks, or when setting up a validation plan. --- # Verification Use this skill to prove changes with the strongest practical checks the repo already supports. ## Discovery Order 1. Read task aliases: `package.json`, `pyproject.toml`, `
tools
Build, review, or validate standalone Python scripts run with uv inline metadata. Use for one-file automation, operational scripts, script dependencies, shebangs, idempotency, safety, representative runs, and promoting scripts to packages.
development
Build, review, or validate Python packages and libraries where public API stability, packaging metadata, imports, examples, changelogs, build output, and compatibility matter.
tools
Build, review, or validate Python command-line applications and terminal tools. Use for argparse, Typer, Rich, Textual-adjacent CLI UX, stdout/stderr contracts, exit codes, automation-friendly flags, help output, and CLI tests.