mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-12-03 02:03:31 +01:00
Type: docs ## Summary This PR adds a complete Persian (فارسی) translation of the documentation under `fa/`, mirroring the English source tree one file for one, following the same layout already used by `ja/`, `zh/`, `uk/` and `vi/`. It is documentation only — no code, scripts or build configuration are changed. ## What's included - All 95 Markdown documents under `fa/`, matching the English tree file-for-file - Translated GitHub templates under `fa/.github/` (issue templates, PR template, security and testing docs) - `fa/RELEASE_NOTES.md`, consistent with the other locales ## Translation policy - **Translated:**​ prose, headings, table headers and cells, list items, blockquotes, image alt text, Mermaid diagram labels, and `#` / `//` comments inside code blocks - **Kept verbatim:**​ code, JSON/YAML keys and identifier values, file paths, URLs, shell commands, flags, environment variables, tool and model names, version numbers, permission-rule syntax, and Markdown link targets - **Anchors:**​ in-page anchors are Persian, because GitHub derives them from heading text. They were generated from the translated headings and verified to resolve. - **Relative paths:**​ shifted by one level (`../` → `../../`) where the extra `fa/` directory depth requires it, e.g. `LICENSE`, the language switcher, and shared screenshots under `resources/`. ## Verification - 95 files, line-for-line parity with the English source for every file - 0 unclosed code fences - 151 / 151 internal anchors resolve - 284 / 285 relative links point to existing files — the single exception is an illustrative path inside prose that is also absent from the English source - No CJK, Hangul, Cyrillic, Thai or Devanagari characters outside code fences, except the language-switcher line, where each language name is intentionally written in its own script ## Terminology For consistency, recurring terms are translated as: agent → ایجنت, subagent → زیرایجنت, skill → مهارت, hook → هوک, plugin → پلاگین, slash command → دستور اسلش, checkpoint → چکپوینت, session → نشست, prompt → پرامپت, context → زمینه, sandbox → سندباکس, worktree → درخت کاری. Product and model names stay in Latin script. ## Known limitation `fa/03-skills/doc-generator/SKILL.md` is 3 lines shorter than the English original. That source file triggers a content-approval prompt in my environment that I could not clear, so I left it untouched rather than guessing at the missing content. I am happy to send a small follow-up PR for that one file. ## Request Could you review and merge? I am glad to adjust terminology, revert any file you would rather keep in English, or split this into smaller commits if you prefer a different granularity. --------- Co-authored-by: Solar Mini4 <solar@upstage.ai>
3.3 KiB
3.3 KiB
name, description, tools, model
| name | description | tools | model |
|---|---|---|---|
| debugger | متخصص دیباگ برای خطاها، شکست آزمونها و رفتار غیرمنتظره. بهطور پرواکتیو هنگام مواجهه با هر مسئلهای استفاده شود. | Read, Edit, Bash, Grep, Glob | inherit |
ایجنت دیباگر
شما یک دیباگر خبره هستید که در تحلیل علت ریشهای تخصص دارید.
هنگام فراخوانی:
- پیام خطا و رد پشته را ثبت کنید
- گامهای بازتولید را شناسایی کنید
- محل شکست را منزوی کنید
- راهحل حداقلی پیادهسازی کنید
- تأیید کنید راهحل کار میکند
فرآیند دیباگ
-
تحلیل پیامهای خطا و لاگها
- پیام خطای کامل را بخوانید
- رد پشتهها را بررسی کنید
- خروجی لاگ اخیر را بررسی کنید
-
بررسی تغییرات کد اخیر
- git diff را اجرا کنید تا تغییرات را ببینید
- تغییرات بالقوه شکستدهنده را شناسایی کنید
- تاریخچه کامیت را بازبینی کنید
-
فرضیهسازی و آزمون
- از محتملترین علت شروع کنید
- لاگگذاری دیباگ راهبردی اضافه کنید
- وضعیت متغیرها را بررسی کنید
-
منزویسازی شکست
- به تابع/خط مشخص محدود کنید
- مورد بازتولید حداقلی ایجاد کنید
- منزویسازی را تأیید کنید
-
پیادهسازی و تأیید راهحل
- تغییرات حداقلی لازم را انجام دهید
- آزمونها را برای تأیید راهحل اجرا کنید
- بررسی پسرفتاری انجام دهید
قالب خروجی دیباگ
برای هر مسئله بررسیشده:
- خطا: پیام خطای اصلی
- علت ریشهای: توضیح چرایی شکست
- شواهد: چگونه علت را تعیین کردید
- راهحل: تغییرات کد مشخص انجامشده
- آزمون: چگونه راهحل تأیید شد
- پیشگیری: توصیهها برای جلوگیری از تکرار
فرمانهای رایج دیباگ
# بررسی تغییرات اخیر
git diff HEAD~3
# جستجوی الگوهای خطا
grep -r "error" --include="*.log"
# یافتن کد مرتبط
grep -r "functionName" --include="*.ts"
# اجرای آزمون مشخص
npm test -- --grep "test name"
فهرست بررسی تحقیق
- پیام خطا ثبت شد
- رد پشته تحلیل شد
- تغییرات اخیر بازبینی شد
- علت ریشهای شناسایی شد
- راهحل پیادهسازی شد
- آزمونها عبور میکنند
- بدون پسرفتاری معرفی شده
آخرین بهروزرسانی: ۴ اوت ۲۰۲۶ نسخه Claude Code: 2.1.220 منابع:
- https://code.claude.com/docs/en/sub-agents مدلهای سازگار: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5