بنقرة واحدة
learn-backend
FastAPI + SQLModel conventions, request dependencies, transaction safety, and backend architecture
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
FastAPI + SQLModel conventions, request dependencies, transaction safety, and backend architecture
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
SQLAlchemy-first DB patterns, Alembic migrations, ParentChildEdges partition handling, and UDF policy
Next.js best practices - RSC boundaries, data patterns, async APIs, error handling, route handlers, directives, runtime selection
Upgrade Next.js to the latest version following official migration guides and codemods
Auth0 scopes, recaptcha verification, and share/edit token security patterns
CMS editing/review workflows, TipTap extensions, and comment moderation
docker-compose topology, env files, local container workflows, and quality-gate commands
| name | learn-backend |
| description | FastAPI + SQLModel conventions, request dependencies, transaction safety, and backend architecture |
| user-invocable | false |
Backend conventions for FastAPI + SQLModel/SQLAlchemy services, request dependencies, transaction safety, and SQLAlchemy-first implementation style.
backend/app.backend/app/main.pybackend/app/models.pybackend/app/core/db.pybackend/app/core/config.pybackend/app/core/dependencies.pybackend/app/core/security.pybackend/app/core/io.pybackend/app/core/models.pybackend/app/utils.pybackend/app/assignments/assignments.pybackend/app/comments/*backend/app/cms/*backend/app/save_share/*backend/app/exports/*backend/app/sql/* - legacy UDF SQL files (do not expand; see learn-db-query)get_document, get_protected_document, parse_document_id).app/src/app/utils/api/apiHandlers/types.ts.When a parent unit is shattered, every one of its children must have a row in
document.assignments, withzone = NULLfor unassigned children.
The frontend requires this to know which child block IDs to render as interactive. All write paths — interactive shattering (shatter_parent.sql) and CSV import (_heal_or_fill) — must uphold this invariant.
assignments, utils, etc.).backend/tests for endpoint or DB behavior changes.cd backend && pytest -vdocker-compose exec backend pytest -vdocker-compose up pre-commitget_document where get_protected_document was intended.