Claude Code — דף עזר למתחילים
Claude Code — a beginner's cheat-sheet
שמעתם על "סוכנים" שעובדים בשבילכם ורוצים להתחיל בלי להישרף? זה הדף. הוא קצר, בנוי מטבלאות ורשימות, ומכיל רק דברים שבדקתי מול התיעוד הרשמי.
Heard about AI "agents" that do work for you, and want to start without getting burned? This page is short, built from tables and lists, and contains only things I checked against the official docs.
מה זה Claude Code? תוכנה שרצה בטרמינל (או באפליקציה / בעורך קוד), קוראת קבצים בתיקייה שלכם, מציעה שינויים ומריצה פקודות, כל פעם אחרי שאישרתם. זה לא צ'אט: זה עובד עם הקבצים האמיתיים שלכם, ולכן יש כאן כללי זהירות.
What is Claude Code? A program that runs in your terminal (or app / code editor), reads files in a folder, proposes changes and runs commands, asking you first. It is not a chat box: it touches your real files, which is why the safety rules below matter.
1. התקנהInstall
ההוראות המעודכנות תמיד באתר הרשמי, כי שיטת ההתקנה משתנה לפי מערכת הפעלה. לא מריצים סקריפט התקנה שמצאתם בפורום; רק את זה שמופיע בדף הרשמי.
Always take the current steps from the official site, since the method depends on your OS. Never run an install script from a forum post; only the one on the official page.
דף ההתקנה והתחלה מהירה · Official quickstart סקירה · Overview
- צריך חשבון Claude (מנוי) או גישת API. You need a Claude account (subscription) or API access.
- בדיקת תקינות ההתקנה:
/doctorבתוך Claude Code. Check your setup: run/doctorinside Claude Code. - עדכון:
claude update. Update withclaude update.
2. הסשן הראשון — בתיקיית עותקYour first session — in a COPY folder
Claude Code עובד על התיקייה שבה הפעלתם אותו. בפעם הראשונה: העתיקו פרויקט (או צרו תיקיית ניסוי ריקה) והפעילו שם. כך שגיאה לא תפגע במקור.
Claude Code works on the folder you start it in. The first time, copy a project (or make an empty practice folder) and start there, so a mistake can't hurt the original.
| צעד · Step | מה עושים · What to do |
|---|---|
| 1 | צרו עותק של התיקייה, למשל my-project-copy. Copy the folder, e.g. my-project-copy. |
| 2 | פתחו טרמינל בתוך העותק והקלידו claude. Open a terminal inside the copy and type claude. |
| 3 | בקשו משהו קטן וקריא: "תסביר לי מה יש בתיקייה הזאת". Ask something small and read-only: "explain what is in this folder". |
| 4 | רק אחר כך בקשו שינוי קטן, וקראו כל הצעה לפני שמאשרים. Only then ask for a small change, and read each proposal before approving. |
3. מצב תכנוןPlan mode
במצב תכנון Claude קורא וחושב ומציג תוכנית, בלי לערוך קבצים. מתאים לכל שינוי גדול: קראו את התוכנית, תקנו אותה, ורק אז תנו ללכת.
In plan mode Claude reads and thinks and shows a plan without editing files. Use it for anything big: read the plan, fix it, and only then let it go.
/plan— מעבר למצב תכנון לפני שינוי גדול. Switch to plan mode before a large change.Shift+Tab— מחליף מצב הרשאות באמצע הסשן. Cycles the permission mode during a session.
4. בקשות הרשאה — ולמה להשאיר אותןPermission prompts — and why to keep them on
לפני עריכת קובץ או הרצת פקודה Claude שואל. זה לא מטרד, זו הבלמים שלכם. מי שמאשר הכול בלי לקרוא מוותר על השליטה.
Before editing a file or running a command, Claude asks. That is your brake, not an annoyance. Approving everything without reading means giving up control.
| מצב · Mode | משמעות · Meaning |
|---|---|
| ברירת מחדל · Default | שואל לפני עריכה והרצה. מומלץ למתחילים. Asks before edits and commands. Best for beginners. |
acceptEdits | מאשר לבד עריכות קבצים ופקודות קבצים פשוטות (mkdir, mv, cp) בתיקיית העבודה. Auto-accepts file edits and simple file commands inside the working folder. |
plan | קריאה ותכנון בלבד. Read and plan only. |
כללי אישור קבועים נקבעים עם /permissions. התחילו בחוקים צרים (פקודה אחת מסוימת), לא ברחבים.
Standing rules are set with /permissions. Start narrow (one specific command), not broad.
5. זיכרון: קובץ CLAUDE.mdMemory: the CLAUDE.md file
Claude לא זוכר שיחות קודמות מעצמו. קובץ בשם CLAUDE.md בתיקיית הפרויקט נטען בתחילת כל סשן ומכיל את ההנחיות הקבועות שלכם: איך מריצים את הפרויקט, מה אסור לגעת בו, איך אתם אוהבים שיענו.
Claude does not remember earlier chats on its own. A file named CLAUDE.md in your project is loaded at the start of every session and holds your standing instructions: how to run the project, what not to touch, how you like answers.
/init— יוצר CLAUDE.md התחלתי מהפרויקט. Generates a starter CLAUDE.md from your project./memory— עריכה ועיון בקבצי הזיכרון. Browse and edit memory files.- כתבו קצר ומדויק: כל שורה צריכה להשתלם. אל תדביקו סיסמאות ומפתחות. Keep it short and specific. Never paste passwords or keys.
6. פקודות לוכסן שימושיותMost useful slash commands
מקלידים / בתוך Claude Code ורואים את הרשימה. אלה הפקודות שאימתתי בתיעוד:
Type / inside Claude Code to see the list. These are the ones I verified in the docs:
| פקודה · Command | מה היא עושה · What it does |
|---|---|
/help | עזרה ורשימת פקודות. Help and command list. |
/init | יוצר CLAUDE.md התחלתי. Creates a starter CLAUDE.md. |
/plan | מצב תכנון. Plan mode. |
/model | בחירת מודל. Pick the model. |
/effort | כמה Claude "חושב" לפני שעונה. How much reasoning it applies. |
/context | מה ממלא את חלון ההקשר. What is filling the context window. |
/compact | מסכם שיחה ארוכה כדי לפנות מקום. Summarizes a long chat to free space. |
/clear | התחלה נקייה למשימה חדשה (הזיכרון של הפרויקט נשמר). Fresh start for a new task; project memory stays. |
/resume | חזרה לשיחה קודמת. Return to an earlier conversation. |
/rewind | מחזיר קוד ושיחה לנקודת שמירה. Rolls code and chat back to a checkpoint. |
/permissions | כללי אישור. Approval rules. |
/mcp | ניהול שרתי MCP. Manage MCP servers. |
/skills | רשימת הכישורים הזמינים. Lists available skills. |
/doctor | בדיקת התקנה והגדרות. Setup checkup. |
רשימת הפקודות המלאה · Full command list
7. בחירת מודל ומאמץChoosing a model and effort
הכלל: מתחילים בזול ועולים רק כשצריך. מודל חזק או "מאמץ" גבוה עולים יותר ממכסת השימוש שלכם. משימות פשוטות (שינוי שם, תיקון קטן) לא צריכות את הגדול ביותר; החלטות ארכיטקטורה ובאגים קשים כן.
The rule: start cheap, go up only when needed. A stronger model or higher effort burns more of your usage. Simple tasks (a rename, a small fix) don't need the biggest model; architecture decisions and hard bugs do.
/model— בוחרים מודל מהרשימה. Choose from the list./effort— מכוונים כמה חשיבה. Tune how much thinking.- בדקו אילו מודלים זמינים לכם: model-config.
8. MCP בפסקה אחתMCP in one paragraph
MCP הוא תקן לחיבור Claude לכלים ושירותים חיצוניים (יומן, מסד נתונים, מערכת משימות). שרת MCP נותן ל-Claude "ידיים" בתוך אותו שירות. מנהלים אותם עם /mcp, והתחביר להוספה מופיע בתיעוד.
MCP is a standard for connecting Claude to outside tools and services (calendar, database, task tracker). An MCP server gives Claude "hands" inside that service. Manage them with /mcp; the exact add syntax is in the docs.
בטיחות: חברו רק שרתים ממקור שאתם סומכים עליו. תנו הרשאות מינימליות (קריאה בלבד אם אפשר, לא חשבון ראשי). שרת MCP יכול לקרוא נתונים ולבצע פעולות בשמכם.
Safety: connect only servers from sources you trust. Give least permissions (read-only if possible, never your main admin account). An MCP server can read data and act on your behalf.
9. כישורים ותוספים — בטיחותSkills and plugins — safety
כישור (skill) הוא תיקייה עם הוראות, לפעמים גם סקריפטים, ש-Claude טוען כשצריך. תוסף (plugin) אורז כישורים וכלים להתקנה. נוח מאוד, אבל זו תוכנה של מישהו אחר.
A skill is a folder of instructions (sometimes scripts) that Claude loads when relevant. A plugin bundles skills and tools for install. Very handy, but it is someone else's software.
- קראו את התוכן לפני ההתקנה, במיוחד כל סקריפט. Read it before installing, especially any script.
- סקריפטים רצים עם ההרשאות שלכם: אותם קבצים, אותה רשת. Scripts run with your permissions: same files, same network.
- העדיפו מקורות רשמיים או כאלה שקראתם בעצמכם; בשוק קהילתי גדול יש גם תוכן זדוני. Prefer official sources or ones you have read; big community marketplaces contain bad actors too.
- התחילו בכמה כישורים בודדים, לא בעשרות. Start with a few, not dozens.
תיעוד כישורים · Skills docs · תוספים · Plugins
10. תתי-סוכנים בפסקה אחתSubagents in one paragraph
תת-סוכן הוא "עוזר" ש-Claude שולח לבצע משימת צד (חיפוש בקבצים, סקירה) בחלון הקשר משלו, ומחזיר רק תקציר. זה שומר על השיחה הראשית נקייה וחוסך מקום. אפשר לבקש מ-Claude ליצור תת-סוכן, ו-/agents מזכיר איך מנהלים אותם.
A subagent is a "helper" Claude sends off for a side task (searching files, a review) in its own context window and gets only a summary back. It keeps the main chat clean and saves space. You can ask Claude to create one, and /agents points to how they are managed.
חמשת כללי הזהבThe 5 golden rules
- עותק קודם. עובדים על תיקיית עותק או על ענף גיט, לא על המקור היחיד. Copy first. Work on a copy or a git branch, never your only original.
- תכנון לפני ביצוע. שינוי גדול מתחיל ב-
/plan. Plan before doing. Big changes start with/plan. - קוראים לפני שמאשרים. בקשות ההרשאה נשארות דולקות. Read before approving. Keep permission prompts on.
- סודות לא נכנסים לשיחה. בלי סיסמאות, מפתחות וטוקנים בפרומפט או ב-CLAUDE.md. No secrets in the chat. No passwords, keys or tokens in prompts or CLAUDE.md.
- בודקים תוצאה אמיתית. "בוצע" פירושו שראיתם את זה עובד: הריצו, פתחו, קראו. Check the real result. "Done" means you saw it work: run it, open it, read it.
טעויות נפוצותCommon mistakes
- להפעיל על התיקייה היחידה והיקרה. Starting it on your only, precious folder.
- לאשר הכול בלחיצה בלי לקרוא. Clicking approve on everything without reading.
- שיחה אחת ענקית לכל דבר: במקום זה
/clearבין משימות ו-/compactכשהיא ארוכה. One giant chat for everything: use/clearbetween tasks and/compactwhen long. - בקשות עמומות ("תשפר את זה"). עדיף: מה, איפה, ואיך תדעו שהצליח. Vague asks ("improve this"). Better: what, where, and how you'll know it worked.
- להתקין כישורים, תוספים ושרתי MCP בלי לקרוא אותם. Installing skills, plugins and MCP servers unread.
- להשאיר את CLAUDE.md ריק או עמוס מדי. Leaving CLAUDE.md empty, or stuffing it.
- להאמין לסיכום בלי לבדוק; מודל יכול לטעות בביטחון. Trusting a summary unchecked; models can be confidently wrong.