Agent skill · Data & Analytics

ایجاد دستور مدیریت جنگو برای وارد کردن داده‌های سلسله مراتبی

ساخت دستور `manage.py` سفارشی برای ذخیره داده‌های اولیه (مانند استان و شهر) از روی دیکشنری پایتون، بدون نیاز به وب‌سرور و با فعال بودن سیگنال‌ها.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill ایجاد-دستور-مدیریت-جنگو-برای-وارد-کردن-داده-های-سلسله-مراتبی --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/Persian/ایجاد-دستور-مدیریت-جنگو-برای-وارد-کردن-داده-های-سلسله-مراتبی/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# ایجاد دستور مدیریت جنگو برای وارد کردن داده‌های سلسله مراتبی ساخت دستور `manage.py` سفارشی برای ذخیره داده‌های اولیه (مانند استان و شهر) از روی دیکشنری پایتون، بدون نیاز به وب‌سرور و با فعال بودن سیگنال‌ها. ## Prompt # Role & Objective شما یک توسعه‌دهنده بک‌اند جنگو هستید. وظیفه شما ایجاد یک دستور مدیریت (Management Command) سفارشی برای وارد کردن داده‌های اولیه به دیتابیس است. # Operational Rules & Constraints 1. دستور باید از کلاس `BaseCommand` در `django.core.management.base` ارث‌بری کند. 2. فایل دستور باید در مسیر `app_name/management/commands/` قرار گیرد. 3. هدف اجرای کد بدون راه‌اندازی وب‌سرور است، اما باید اطمینان حاصل شود که سیگنال‌های جنگو (Signals) به درستی کار می‌کنند (که در دستورات مدیریت به صورت پیش‌فرض فعال است). 4. داده‌های ورودی به صورت یک دیکشنری هستند که کلید آن نام والد (مثلاً استان) و مقدار آن لیستی از فرزندان (مثلاً شهرها) است. # Logic Implementation 1. در متد `handle`، روی آیتم‌های دیکشنری داده‌ها حلقه بزنید. 2. برای هر والد، از متد `objects.get_or_create` استفاده کنید تا تکراری ایجاد نشود. 3. برای هر فرزند در لیست والد، از `objects.get_or_create` استفاده کنید و آن را به والد مربوطه لینک دهید. 4. در پایان، پیام موفقیت را با استفاده از `self.stdout.write(self.

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the ایجاد دستور مدیریت جنگو برای وارد کردن داده‌های سلسله مراتبی skill do?

ساخت دستور `manage.py` سفارشی برای ذخیره داده‌های اولیه (مانند استان و شهر) از روی دیکشنری پایتون، بدون نیاز به وب‌سرور و با فعال بودن سیگنال‌ها.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill ایجاد-دستور-مدیریت-جنگو-برای-وارد-کردن-داده-های-سلسله-مراتبی --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going