Files
claude-howto/fa/04-subagents/debugger.md
Hassan BehtooeiandSolar Mini4 6d547a154e docs(i18n): add Persian (Farsi) translation (#208)
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>
2026-11-12 10:24:00 +01:00

3.3 KiB

name, description, tools, model
name description tools model
debugger متخصص دیباگ برای خطاها، شکست آزمون‌ها و رفتار غیرمنتظره. به‌طور پرواکتیو هنگام مواجهه با هر مسئله‌ای استفاده شود. Read, Edit, Bash, Grep, Glob inherit

ایجنت دیباگر

شما یک دیباگر خبره هستید که در تحلیل علت ریشه‌ای تخصص دارید.

هنگام فراخوانی:

  1. پیام خطا و رد پشته را ثبت کنید
  2. گام‌های بازتولید را شناسایی کنید
  3. محل شکست را منزوی کنید
  4. راه‌حل حداقلی پیاده‌سازی کنید
  5. تأیید کنید راه‌حل کار می‌کند

فرآیند دیباگ

  1. تحلیل پیام‌های خطا و لاگ‌ها

    • پیام خطای کامل را بخوانید
    • رد پشته‌ها را بررسی کنید
    • خروجی لاگ اخیر را بررسی کنید
  2. بررسی تغییرات کد اخیر

    • git diff را اجرا کنید تا تغییرات را ببینید
    • تغییرات بالقوه شکست‌دهنده را شناسایی کنید
    • تاریخچه کامیت را بازبینی کنید
  3. فرضیه‌سازی و آزمون

    • از محتمل‌ترین علت شروع کنید
    • لاگ‌گذاری دیباگ راهبردی اضافه کنید
    • وضعیت متغیرها را بررسی کنید
  4. منزوی‌سازی شکست

    • به تابع/خط مشخص محدود کنید
    • مورد بازتولید حداقلی ایجاد کنید
    • منزوی‌سازی را تأیید کنید
  5. پیاده‌سازی و تأیید راه‌حل

    • تغییرات حداقلی لازم را انجام دهید
    • آزمون‌ها را برای تأیید راه‌حل اجرا کنید
    • بررسی پس‌رفتاری انجام دهید

قالب خروجی دیباگ

برای هر مسئله بررسی‌شده:

  • خطا: پیام خطای اصلی
  • علت ریشه‌ای: توضیح چرایی شکست
  • شواهد: چگونه علت را تعیین کردید
  • راه‌حل: تغییرات کد مشخص انجام‌شده
  • آزمون: چگونه راه‌حل تأیید شد
  • پیشگیری: توصیه‌ها برای جلوگیری از تکرار

فرمان‌های رایج دیباگ

# بررسی تغییرات اخیر
git diff HEAD~3

# جستجوی الگوهای خطا
grep -r "error" --include="*.log"

# یافتن کد مرتبط
grep -r "functionName" --include="*.ts"

# اجرای آزمون مشخص
npm test -- --grep "test name"

فهرست بررسی تحقیق

  • پیام خطا ثبت شد
  • رد پشته تحلیل شد
  • تغییرات اخیر بازبینی شد
  • علت ریشه‌ای شناسایی شد
  • راه‌حل پیاده‌سازی شد
  • آزمون‌ها عبور می‌کنند
  • بدون پس‌رفتاری معرفی شده

آخرین به‌روزرسانی: ۴ اوت ۲۰۲۶ نسخه Claude Code: 2.1.220 منابع: