CHEAT-SHEET · דף עזר

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

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.
תסביר לי בקצרה מה יש בתיקייה הזאת ומה כל קובץ עושה. אל תשנה שום דבר.
Briefly explain what is in this folder and what each file does. Do not change anything.

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.

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.

תיעוד זיכרון · Memory docs

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.

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.

תיעוד MCP · MCP docs

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.

תיעוד כישורים · 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.

תיעוד · Subagents docs

חמשת כללי הזהבThe 5 golden rules

  1. עותק קודם. עובדים על תיקיית עותק או על ענף גיט, לא על המקור היחיד. Copy first. Work on a copy or a git branch, never your only original.
  2. תכנון לפני ביצוע. שינוי גדול מתחיל ב-/plan. Plan before doing. Big changes start with /plan.
  3. קוראים לפני שמאשרים. בקשות ההרשאה נשארות דולקות. Read before approving. Keep permission prompts on.
  4. סודות לא נכנסים לשיחה. בלי סיסמאות, מפתחות וטוקנים בפרומפט או ב-CLAUDE.md. No secrets in the chat. No passwords, keys or tokens in prompts or CLAUDE.md.
  5. בודקים תוצאה אמיתית. "בוצע" פירושו שראיתם את זה עובד: הריצו, פתחו, קראו. Check the real result. "Done" means you saw it work: run it, open it, read it.

טעויות נפוצותCommon mistakes