חזרה למחברת
AI11 דקות קריאה

בונים פרויקט עם Codex ו־Claude כצוות אחד

ניהול טכנולוגי, פיתוח, בדיקות איכות ואבטחה: תפקידים ברורים, העברת עבודה מסודרת וכל הפרומפטים באנגלית להעתקה.

מתחילים כאן: למה המדריך שימושי

כשאותו עוזר מתכנן, כותב ומאשר את השינוי שלו, שאלות עלולות להתפספס. הגדירו תפקידי ארכיטקטורה, פיתוח, QA ואבטחה עם תוצרים וראיות להעברה. המטרה היא פרויקט עם תנאי קבלה ברורים וביקורת שאפשר לבדוק, ולא רק עוד שיחות AI.

דוגמה מעשית

זו דוגמה לפורמט תשובה ולא תוצאת ביקורת של היישום שלכם. עקבו אחר השלבים והשוו קבצים, בדיקות ופלט אמיתיים ליעד. אם העוזר רק אומר שסיים, בקשו תוצר, ראיות ומה עדיין לא נבדק.

Illustrative expected response
CTO: acceptance criteria and constraints.
Coder: focused diff and implementation notes.
QA/security: independent findings with evidence.
Owner: final decision after unresolved issues are visible.

שני עוזרי פיתוח מועילים יותר כשיש לכל אחד אחריות ברורה ודרך מסודרת להעביר עבודה. במדריך הזה נחלק את העבודה למנהל טכנולוגיות, מפתח, בודק איכות וסוקר אבטחה.

כל הפרומפטים להעתקה נשארים באנגלית בכל גרסאות המאמר. השדה OUTPUT_LANGUAGE במסמך הדרישות קובע את שפת הדוחות של הסוכנים.

1. תפקיד אחד לכל שיחה

  • ניהול טכנולוגי — Claude: להבהיר את הצורך, להציע תוכנית ממוקדת ולהגדיר מה ייחשב להצלחה.
  • פיתוח — Codex: לממש את השינוי שסוכם ולתעד בדיקות שבוצעו בפועל.
  • בדיקות איכות — שיחת Claude חדשה: לבדוק באופן עצמאי את ההתנהגות ואת הרגרסיות.
  • אבטחה — שיחת Codex חדשה: לסקור את השינוי ולדווח על סיכוני אבטחה שיש להם ראיות.

החלוקה הזו היא דוגמה, ולא טענה שכלי מסוים טוב יותר בתפקיד כלשהו. אפשר להחליף ביניהם. הפרידו את הסקירה משיחת המימוש וספקו לסוקר את המידע הדרוש.

התחילו מארבע שיחות עם שמות ברורים. שיטת הבסיס משתמשת בהעברה מפורשת של קבצים, ללא צורך בחיבור API או בהאצלה אוטומטית.

2. הכינו דרישות וכללי עבודה משותפים

השתמשו במבנה התיקיות הבא. שמות הדוחות הם מוסכמה שאנחנו מציעים; הכלים אינם מזהים אותם אוטומטית כקבצים מיוחדים.

Project files
my-project/
├── AGENTS.md
├── CLAUDE.md
└── docs/ai/team/
    ├── project-brief.md
    ├── contract.md
    ├── plan.md
    ├── implementation.md
    ├── qa.md
    ├── security.md
    ├── release.md
    └── handoff.md

הגדירו יכולת אחת ברורה, פקודות אמיתיות וקריטריונים שניתן לבדוק. החליפו את הערכים שבסוגריים המרובעים. מלאו את גרסת הסקירה רק כאשר המועמד מוכן.

docs/ai/team/project-brief.md
# Project brief
PROJECT: [product, users and actual stack]
FEATURE: [one small, concrete change]
OUTPUT_LANGUAGE: [English, French, Hebrew, Spanish, Italian or Arabic]
BASE_COMMIT: [starting Git commit]
REVIEW_COMMIT: [candidate commit; fill after implementation]
VERIFIED_COMMANDS: [actual setup, test and build commands]
ACCEPTANCE_CRITERIA:
- [observable successful behavior]
- [important failure or permission case]
OUT_OF_SCOPE: [what must stay outside this task]
Example feature: add a category filter that works with project search.

כל תפקיד מקבל את אותם הכללים. רק המפתח משנה את קוד היישום, וכל סוקר אחראי לדוח שלו.

docs/ai/team/contract.md
# Shared team contract
Report filenames below are relative to docs/ai/team/.
Read project-brief.md and the report relevant to your role.
Reports use OUTPUT_LANGUAGE. Keep code, commands and paths unchanged.
The owner decides scope and authorizes release.
Roles: CTO plans; developer implements; QA verifies behavior;
security reviewer checks concrete defensive risks.
Only the assigned developer edits application code.
Each reviewer may write only its assigned report.
QA and security inspect the same frozen REVIEW_COMMIT.
Record the actual inspected commit in every review report.
If the candidate changes, identify and rerun affected checks.
Use local or approved test environments and synthetic data.
Never put credentials or personal data in shared files.
Never claim a check ran when it did not: write NOT RUN.
Do not commit, push, deploy or change infrastructure unless requested.
Do not silently broaden scope or overwrite another role's report.
Prompt instructions do not replace tool permissions or isolation.

Codex משתמש ב־AGENTS.md להנחיות המאגר, ו־Claude Code משתמש ב־CLAUDE.md. שלבו את ההפניות הקצרות בהנחיות שכבר קיימות. כללי הטעינה שונים, לכן בקשו במפורש משני הכלים לקרוא את הקבצים המשותפים.

AGENTS.md — merge with existing instructions
# Team workflow
Before starting, read docs/ai/team/contract.md
and docs/ai/team/project-brief.md.
Follow the role assigned in the current task message.
Use the existing repository conventions and verified commands.
Report missing context instead of inventing it.
CLAUDE.md — merge with existing instructions
# Team workflow
Before starting, read docs/ai/team/contract.md
and docs/ai/team/project-brief.md.
Follow the role assigned in the current task message.
Use the existing repository conventions and verified commands.
Report missing context instead of inventing it.

3. התחילו ממנהל הטכנולוגיות

הדביקו את הפרומפט הזה בשיחת Claude שמיועדת לתכנון. עברו על ההיקף ועל קריטריוני ההצלחה לפני שתעבירו את התוכנית למפתח. תוכנית היא הצעה, לא הוכחה שהמוצר עובד.

01-cto.txt · Claude
Act as the CTO for this task. Do not implement application code.
Read the applicable repository instructions, docs/ai/team/contract.md,
project-brief.md and the relevant code.
Confirm the user goal, constraints and current architecture.
Ask a focused question if an unknown changes the solution.
Write docs/ai/team/plan.md with:
1. Scope and explicit non-goals.
2. Observable acceptance criteria, including failure cases.
3. A short implementation plan and likely files affected.
4. QA scenarios and security concerns to investigate.
5. Verification commands confirmed from this repository.
6. Risks, open questions and the next handoff.
Do not invent commands or expand the feature.
Write in OUTPUT_LANGUAGE and present the plan for owner review.

4. תנו ל־Codex משימת פיתוח ממוקדת

לאחר אישור התוכנית, העבירו אותה לשיחת הפיתוח. שמרו על גורם אחד שמשנה את קוד היישום עבור המשימה. בהמשך הסוקרים יוכלו לעבוד במקביל על מועמד שגרסתו קובעה.

02-developer.txt · Codex
Act as the implementation developer.
Read the repository instructions and docs/ai/team/contract.md,
project-brief.md and the owner-approved plan.md.
Implement only the agreed feature, following existing conventions.
Keep the diff focused. Add meaningful tests where the behavior warrants it.
Run the relevant verified checks and inspect the resulting diff.
Write docs/ai/team/implementation.md with:
- Changes and files affected.
- Acceptance criteria addressed.
- Exact commands run and observed results.
- Remaining issues and checks marked NOT RUN.
- How QA and security can reproduce and inspect the change.
Do not claim the work has passed independent review.
Do not edit qa.md or security.md.
Do not commit, push or deploy unless the owner requests it.
Stop for the owner to freeze a candidate REVIEW_COMMIT.
Write your report in OUTPUT_LANGUAGE.

5. קבעו גרסה ובצעו שתי סקירות

הכינו קומיט מועמד לפי תהליך העבודה הרגיל במאגר ורשמו את מזהה ה־SHA המלא שלו בשדה REVIEW_COMMIT. בדקו אותו בכל סביבת סקירה:

Terminal · run in each review checkout
git rev-parse HEAD

אל תניחו ששיחה אחרת רואה שינויים שלא נשמרו בקומיט. סביבות עבודה נפרדות יכולות לבודד עבודה, אבל הסוקרים עדיין צריכים את אותו הקוד, סביבת בדיקה מתאימה ונתונים מלאכותיים. אין להעביר לסביבות הסקירה סודות של סביבת הייצור.

כעת אפשר לבצע בדיקות איכות וסקירת אבטחה במקביל על אותו מועמד. כל סוקר רשאי לכתוב את הדוח שלו, בלי לשנות את היישום או לעבור לגרסת קוד אחרת.

03-qa.txt · Claude
Act as an independent QA reviewer of REVIEW_COMMIT.
Read docs/ai/team/contract.md, project-brief.md, plan.md
and implementation.md. Confirm your checkout matches REVIEW_COMMIT.
If the revision or required context is missing, stop and report it.
Do not modify application code, dependencies or Git state.
Use the approved local test environment and synthetic fixtures.
Check the acceptance criteria, happy path, failures and regressions.
For UI changes, check phone and desktop behavior and keyboard access.
Run the relevant tests when available; distinguish manual checks.
Write only docs/ai/team/qa.md, in OUTPUT_LANGUAGE:
- Inspected commit and environment.
- Each scenario: PASS, FAIL or NOT RUN, with observed evidence.
- Bugs with reproducible steps, expected and actual behavior.
- Unchecked areas and a readiness recommendation.
A developer's summary is a starting point, not proof.
04-security.txt · Codex
Act as an independent defensive security reviewer of REVIEW_COMMIT.
Read docs/ai/team/contract.md, project-brief.md, plan.md
and implementation.md. Confirm the exact inspected commit.
Do not modify application code, dependencies or Git state.
Review the changed code, trust boundaries and affected data flows.
Investigate relevant authentication, authorization, cross-tenant access,
input validation, injection, XSS, uploads, secrets and sensitive logging.
Use only approved local/test environments and harmless synthetic data.
Do not test third-party or production targets without authorization.
Write only docs/ai/team/security.md, in OUTPUT_LANGUAGE.
For each supported finding include severity, file and line, evidence,
preconditions, impact, a safe reproduction and a proposed mitigation.
Separate confirmed findings from hypotheses and checks NOT RUN.
State the review scope and limitations. Do not claim a full security audit.
Return a readiness recommendation for the owner.

6. החזירו את הממצאים למפתח

שיחת המימוש מטפלת בבעיות שאומתו. אם הקוד השתנה, הדוחות הקודמים מתייחסים לגרסה הקודמת: קבעו מועמד חדש ובצעו שוב את הבדיקות הרלוונטיות.

05-fix.txt · implementation developer
Read docs/ai/team/qa.md and security.md against the reviewed commit.
For each finding, reproduce it or explain with evidence why it
does not apply. Do not dismiss a report without checking it.
Fix confirmed issues within the agreed scope and add regression
coverage where appropriate. Do not rewrite reviewers' reports.
Update implementation.md with finding IDs, changes and actual checks.
List unresolved issues clearly.
Ask the owner to freeze a new REVIEW_COMMIT.
Request QA and security to recheck affected behavior on that revision.
Write in OUTPUT_LANGUAGE. Do not push or deploy.

7. בקשו המלצה לקראת שחרור

מנהל הטכנולוגיות מרכז את הראיות. בדיקה שעברה, דוח איכות וסקירת אבטחה הם סוגי ראיות שונים. בדיקות שלא בוצעו צריכות להישאר גלויות.

06-release-review.txt · CTO
Act as CTO for the release decision review.
Read project-brief.md, plan.md, implementation.md, qa.md and security.md.
Confirm the reports apply to the same current REVIEW_COMMIT.
Check acceptance criteria, open findings and checks NOT RUN.
Write docs/ai/team/release.md in OUTPUT_LANGUAGE:
- Candidate commit and feature summary.
- Evidence-backed results and remaining limitations.
- Blocking issues and unresolved risk decisions.
- Proposed rollout checks and rollback approach.
- Recommendation: READY FOR OWNER REVIEW or BLOCKED.
Do not invent approval, close findings without evidence, merge,
push or deploy. The project owner authorizes the actual release.

בעל הפרויקט האנושי מחליט אם למזג או לפרוס. דוח שמסמן מוכנות אינו הרשאה לבצע שחרור.

8. הקלו על החזרה לעבודה

סיימו עם מסמך העברה קצר. כדי להמשיך בכלי אחר, ספקו במפורש את הקבצים או גישה לסביבת העבודה המתאימה. קובץ שנוצר בסביבה אחת אינו מופיע אוטומטית באחרת.

07-handoff.txt · session close
Update docs/ai/team/handoff.md in OUTPUT_LANGUAGE.
Record the active goal, current candidate commit, completed work,
checks actually run, open QA/security findings, and the next action.
Link the relevant reports. Do not copy full conversations or secrets.
Keep planned, implemented and verified work clearly separate.
End with a short restart message that names the role and files to read.
Do not imply that another tool has received a message automatically.

לאחר שהתהליך הידני עובד היטב, אפשר לבנות חיבור מותאם באמצעות כלי שורת פקודה או SDK להעברת קבצים ולמעקב אחר גרסאות. זו אינטגרציה נפרדת: יש לשמור בה על גבולות התפקידים, ההרשאות ובדיקת הראיות.

9. הורידו את הערכה ונסו שינוי קטן

הורדת כל הפרומפטים באנגלית וקובצי ההתחלה. חלצו לתיקייה זמנית, עברו על התוכן ושלבו אותו בקבצים הקיימים. הערכה כוללת מסמך דרישות, כללים משותפים, הפניות להנחיות ושבעה קובצי פרומפטים לתפקידים ולהעברת העבודה.

נסו מסנן קטגוריות או שיפור קטן בטופס. הסדר הוא: דרישות בעל הפרויקט ← תוכנית טכנית ← פיתוח ← קיבוע גרסה ← בדיקות איכות ואבטחה ← תיקונים ובדיקות חוזרות ← החלטה אנושית על שחרור.

מקורות רשמיים

נבדקו ב־24 באוקטובר 2026. חלוקת התפקידים, הפרומפטים ומבנה docs/ai/team/ הם הצעות מקוריות שלנו; המקורות הבאים מתארים את התנהגות הכלים.

מכאן לפרויקט שלכם

הורידו את הקבצים, שמרו את המדריך או תנו לעוזר הפיתוח תיאור משימה מוכן.

מכינים את הפרויקט עם AI

העתיקו את הפרומפט באנגלית לעוזר הפיתוח. הוא כולל את המאמר, הקבצים הזמינים ושלבי ההכנה.

הצגת פרומפט ההכנה
AI setup prompt · English
Read this tutorial as reference material:
https://nethanelfitoussi.com/article/codex-claude-project-team?lang=en

Goal: apply the documented workflow to my development project.
Read the existing project instructions, inspect the relevant files and explain the smallest useful setup.

Available starter files:
https://nethanelfitoussi.com/tutorials/codex-claude-team-starter.zip
Download and inspect these files in a temporary folder before using them. Do not overwrite existing project instructions.

If I have not supplied a project folder, ask which development project to use. Do not invent a repository URL.

Adapt example paths, commands and acceptance criteria to this repository rather than assuming they match.

Give me a short plan, then make the agreed local changes and run the relevant checks. Report actual results and anything not verified. Stop before credentials, paid services, production changes, push, merge or deployment.
למקור הרשמיOpenAI · Anthropic
CodexClaude CodeAI teamQASecurityWorkflow