بنقرة واحدة
backend-async-tasks
Use when creating or updating Celery tasks, async job logic, or Beat schedules in the backend.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when creating or updating Celery tasks, async job logic, or Beat schedules in the backend.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use for change discipline, validation expectations, and safety checks when making repo changes.
Use when running installs, dev servers, tests, lint/format, codegen, or Docker lifecycle tasks; Taskfile is the source of truth.
Reviews SQLAlchemy code for session management, relationships, N+1 queries, and migration patterns. Use when reviewing SQLAlchemy 2.0 code, checking session lifecycle, relationship() usage, or Alembic migrations.
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
| name | backend-async-tasks |
| description | Use when creating or updating Celery tasks, async job logic, or Beat schedules in the backend. |
backend/src/backend/apps/**/tasks.py.backend/src/backend/celery_app.py.tasks.py file under the relevant app module.@app.task imported from backend.celery_app.int, None, etc.). Keep task-specific parameters
local unless they must be environment-configured.asyncio.run() to bridge async work.get_task_session() from backend.celery_app.app.conf.beat_schedule in
backend/src/backend/celery_app.py and use celery.schedules.crontab.alchemy_config engine inside a task; it is not fork-safe
for Celery workers.get_task_session() to manage DB connections safely across worker
processes.backend/src/backend/apps/**/tasks.pybackend/src/backend/celery_app.pybackend/tests/apps/users/test_tasks.py