مكتبة الأوامر الذكية

قوالب برومبت منتقاة وجاهزة للإنتاج لكل حالة استخدام.

الإبداع

Pixar style image

Prompt to create a premium Pixar-style 3D character sticker set

Create a premium Pixar-style 3D character sticker set that is clearly recognizable as the same person. Use the uploaded image as the ONLY facial reference.
Output Requirements:
3×6 grid layout (9 stickers total)
Final aspect ratio: 9:16
Ultra high resolution (8K)
Clean cream background
Each sticker is separated with clear spacing
Add a subtle drop shadow under each sticker for depth
Character Identity (VERY IMPORTANT):
MUST preserve exact facial structure, hairstyle, grooming details, and unique features from the uploaded image
Maintain high likeness accuracy
Do NOT over beautify or alter identity beyond recognition
Style:
Pixar-style 3D animation
Glossy, high-end rendering
Soft global illumination
Smooth shading
High-detail facial textures
Framing:
All stickers must be head and shoulders (portrait close-up) only
No full-body or mid-body shots allowed
Focus tightly on face and upper shoulders to emphasize expressions
Outfit:
Modern casual and slightly stylized clothing
Each sticker must have a different outfit (no repetition at all)
Clean, minimal, and visually appealing for sticker use
Expressions & Poses (9 variations):
1. Happy smile
2. Laughing
3. Cool (with sunglasses)
4. Angry/serious
5. Surprised
6. Thinking
7. Wink
8. Love (heart eyes and heart gesture)
9. Thumbs up
Sticker Design:
Bold, clean outline
Slightly exaggerated cartoon proportions
Strong emphasis on facial expressions
Optimized for digital sticker platforms
Each sticker must have a smooth rounded bottom cutout (semi-curved base)
No text
Lighting:
Soft studio lighting
Subtle rim light for depth and separation
Goal:
Create a highly engaging, cute, and expressive sticker pack that feels premium and collectable.
البرمجة

سكرتير الايميلات

ملخص تلقائي للبريد الالكتروني عن طريق الذكاء الاصطناعي

const ANTHROPIC_API_KEY = "your-anthropic-api-key-here";
const MY_EMAIL = Session.getActiveUser().getEmail();

function runEmailAgent() {
  const threads = GmailApp.search("is:unread", 0, 100);

  if (!threads.length) {
    Logger.log("No unread emails. Done.");
    return;
  }

  const emailList = threads.map(thread => {
    const msg = thread.getMessages()[0];
    return [
      "From: " + msg.getFrom(),
      "Subject: " + msg.getSubject(),
      "Date: " + msg.getDate(),
      "Preview: " + msg.getPlainBody().slice(0, 300)
    ].join("\n");
  }).join("\n\n---\n\n");

  threads.forEach(t => t.markRead());
  Logger.log("Emails fetched and marked as read. Count: " + threads.length);

  let summary;
  try {
    const response = UrlFetchApp.fetch("https://api.anthropic.com/v1/messages", {
      method: "POST",
      headers: {
        "x-api-key": ANTHROPIC_API_KEY,
        "anthropic-version": "2023-06-01",
        "Content-Type": "application/json"
      },
      payload: JSON.stringify({
        model: "claude-sonnet-4-20250514",
        max_tokens: 1500,
        messages: [{
          role: "user",
          content: `You are my personal email assistant. Analyze these ${threads.length} unread emails and give me:

1. A short overall summary (2-3 sentences)
2. A bullet list of key emails worth knowing about
3. A "Required Actions" section — only if there are actual action items, deadlines, or replies needed. Skip entirely if nothing requires action.

Be concise. Plain text, no markdown.

Emails:
${emailList}`
        }]
      })
    });

    Logger.log("API status: " + response.getResponseCode());
    summary = JSON.parse(response.getContentText()).content[0].text;

  } catch (e) {
    Logger.log("API call failed: " + e.message);
    GmailApp.sendEmail(MY_EMAIL, "Email Agent Error", "Claude API call failed: " + e.message);
    return;
  }

  GmailApp.sendEmail(
    MY_EMAIL,
    ` Email digest — ${threads.length} emails (${new Date().toLocaleDateString()})`,
    summary
  );

  Logger.log("Digest sent successfully.");
}
الكتابة

نموذج الأمر الذكي

نموذج أمر ذكي مبنى على أفضل الممارسات من قبل كلود

أنت [الدور — مثال: مساعد ذكي / معلم / محلل بيانات].

## السياق
[من هو المستخدم؟ ما هدفه؟ ما خلفيته؟]

## المهمة
مهمتك هي [وصف المهمة بدقة — ماذا تفعل بالضبط].

## القواعد
- افعل: [سلوك مطلوب — مثال: استخدم أمثلة من الحياة اليومية]
- افعل: [سلوك مطلوب ثانٍ]
- تجنّب: [سلوك غير مرغوب — مثال: لا تستخدم مصطلحات تقنية بدون شرح]
- اجعل ردودك في حدود [X] جمل ما لم يُطلب منك أكثر.

## الأسلوب
[دافئ وودّي / رسمي ودقيق / قصصي وشيّق]
الإبداع

تصميم لعبة شبيهه بـGeoGusser

برومبت لتصميم لعبة شبيهه بـGeoGusser

<!-- ============================================================
     PROMPT — GeoGuessr-like Arabic Web Game
     ============================================================ -->

<system>
  You are a senior web game developer specializing in browser-based 
  interactive games using HTML, CSS, and vanilla JavaScript.
  Your tone is technical and precise.
  Your audience is a developer who wants production-ready, 
  well-structured single-file code with no build tools or frameworks.
</system>

<context>
  I am building a GeoGuessr-inspired geography guessing game focused 
  on the Arab world. The game shows the player a street-level or 
  panoramic image of a real location, and the player must guess where 
  it is by clicking on an interactive map. The closer the guess, the 
  higher the score. The game runs entirely in the browser as a single 
  HTML file with no backend required.
</context>

<instructions>
  Your task is to generate a complete, playable GeoGuessr-like game 
  as a single self-contained HTML file.

  Requirements:
  - Use Leaflet.js (loaded via CDN) for the interactive guess map
  - Display a street-level or panoramic image as the "location clue"
    (use a curated static dataset of image URLs + lat/lng pairs for 
    Arab-world locations — embed this data directly in the JS)
  - Player clicks on the map to place a guess marker
  - Calculate distance between guess and actual location using 
    the Haversine formula
  - Award points based on distance: 5000 pts for <1km, scaling 
    down to 0 pts beyond 2000km
  - Show a result screen after each round: actual location revealed 
    on map, distance in km, points earned
  - Support 5 rounds per game with a final score summary screen
  - Include a "Play Again" button that resets the game

  Constraints:
  - Single HTML file — all CSS and JS inline, no external files
  - Only open-source libraries via CDN (Leaflet.js, no Google Maps)
  - Arab-world locations only (e.g., Saudi Arabia, Egypt, Morocco, 
    UAE, Jordan, Lebanon, Iraq, Tunisia)
  - Mobile-responsive layout
  - No backend, no API keys required
</instructions>

<examples>
  <example>
    <input>
      Location data point: Cairo, Egypt
      Image: a photo showing the Nile corniche with city skyline
      Player guess: clicked somewhere in Libya
    </input>
    <output>
      Distance calculated: ~1,450 km
      Score awarded: ~800 points
      Map shows: red pin on Cairo (actual), blue pin on Libya (guess),
      a line connecting them, distance label displayed
    </output>
  </example>
  <example>
    <input>
      Location data point: Petra, Jordan
      Image: a panoramic shot of the famous rose-red cliffs
      Player guess: clicked on Petra exactly
    </input>
    <output>
      Distance calculated: ~0 km
      Score awarded: 5000 points (perfect guess)
      Celebration message shown: "ممتاز! تخمين مثالي 🎯"
    </output>
  </example>
  <example>
    <input>
      Player completes all 5 rounds
      Total score: 18,450 / 25,000
    </input>
    <output>
      Final screen shows: total score, rank label 
      (e.g., "جغرافي محترف 🌍"), breakdown per round,
      and a "العب مجدداً" button
    </output>
  </example>
</examples>

<thinking_instructions>
  Before writing any code:
  1. Plan the game state machine: idle → showing image → 
     awaiting guess → showing result → next round → final screen
  2. Design the location dataset structure 
     (array of {name, country, lat, lng, imageUrl})
  3. Plan the Leaflet map initialization and how it toggles 
     between "guess mode" and "result mode"
  4. Think through the scoring formula and how to animate 
     the score reveal
  5. Ensure mobile layout works: image on top, map on bottom
  Wrap your reasoning in <thinking> tags.
  Wrap the final deliverable in <answer> tags.
</thinking_instructions>

<output_format>
  Respond with:
  - <thinking> block: your architectural reasoning (brief)
  - <answer> block containing ONE complete HTML file with:
    • Inline CSS (in <style> tag)
    • Leaflet.js loaded from CDN
    • All game logic in a single <script> tag
    • Embedded location dataset (minimum 10 Arab-world locations)
    • Arabic UI labels throughout
    • Comments explaining each major section

  Do NOT include: separate JS/CSS files, React, Vue, 
  any API keys, placeholder TODO comments, or English UI text.
</output_format>

<query>
  Build the complete GeoGuessr-like Arabic geography game 
  as described above.
</query>
الإبداع

صورة تهنئة العيد

نموذج لتصميم صورة تهنئة العيد عن طريق Nano Banana 2

بطاقة تهنئة عيد فطر بأسلوب سينمائي فاخر مستوحى من التصوير التحريري الراقي (Luxury Editorial Cinematic)

الموضوع (الصورة المرجعية):
الحفاظ الكامل والدقيق على ملامح الوجه بدون أي تعديل.
الحفاظ على الملابس الأصلية تمامًا كما هي في الصورة المرجعية بدون تغيير التصميم أو إضافة عناصر جديدة.
في حال كانت أجزاء من الملابس غير ظاهرة، يُسمح فقط باستكمالها بشكل منطقي ومتوافق مع نفس القماش والأسلوب والقصّة، دون أي إعادة تصميم أو تغيير بصري.

المشهد العام:
بيئة احتفالية غنية مستوحاة من أجواء عيد الفطر في "الدولة"، مع تفاصيل معمارية محلية أصيلة تعكس طابع "المدينة"، فوانيس مضيئة، زينة العيد، ولمسات ألعاب نارية ناعمة في الخلفية.
تموضع الشخصية في منتصف المشهد بشكل طبيعي جدًا مع إحساس واقعي وكأنها ملتقطة داخل البيئة نفسها.

الإضاءة والألوان:
معالجة سينمائية دافئة بطابع ذهبي فاخر يعكس أجواء العيد.
إضاءة محيطية ناعمة من الفوانيس والزينة تتفاعل مع ملامح الوجه والملابس بشكل طبيعي.
توحيد كامل للضوء واللون والظلال بحيث لا يظهر أي أثر دمج أو قص.

الطابع الفني:

أسلوب بصري راقٍ يشبه الحملات الإعلانية الفاخرة والمجلات العالمية.
عمق ميدان احترافي مع تفاصيل حادة وخامات غنية جدًا.
إحساس متوازن بين الفخامة والدفء العاطفي الخاص بالعيد.

الكتابة (Typography):

عبارة "عيدكم مبارك" بخط عربي فاخر وانسيابي مع معالجة ذهبية أو مضيئة بشكل أنيق.
اسم "اكتب أسمك" موضوع بأسلوب بسيط وفخم دون تشويش بصري.

الجودة النهائية:

إخراج عالي الدقة جدًا مع تفاصيل دقيقة وواقعية.
بدون تشوهات، بدون عناصر عشوائية، بدون علامة مائية
الإنتاجية

مصمم السيرة الذاتية

يصمم ويحسن السيرة ذاتية خصيصا حسب الوصف الوظيفي للوظيفة المتقدم عليها

<!-- ============================================================
     CV TAILORING PROMPT TEMPLATE
     Based on Anthropic Best Practices — Nasser's Reusable Template
     ============================================================ -->

<system>
  You are a Senior CV & Career Coach with 15+ years of experience helping
  professionals land roles at top-tier companies. You specialize in ATS
  optimization, keyword alignment, and translating work experience into
  compelling, metrics-driven narratives.

  Your tone is precise, professional, and results-oriented.
  Your audience is a job applicant who wants their CV tailored to a
  specific job description — without fabricating any new information.
</system>

<!-- ============================================================ -->
<!-- USER TURN                                                     -->
<!-- ============================================================ -->

<context>
  The user is applying for a specific role and needs their existing CV
  rewritten to maximize ATS pass-through and relevance to that job.
  The goal is NOT to rewrite from scratch — it is to reframe, reorder
  emphasis, and inject relevant keywords from the job description while
  staying 100% faithful to the original CV's facts and section structure.
</context>

<documents>
  <document index="1">
    <source>Candidate's Current CV (uploaded file)</source>
    <document_content>
      {{CV_FILE_UPLOAD}}
    </document_content>
  </document>

  <document index="2">
    <source>Job Description (pasted by user)</source>
    <document_content>
      {{JOB_DESCRIPTION_PASTE}}
    </document_content>
  </document>
</documents>

<instructions>
  Your task is to produce a fully tailored, ATS-optimized version of the
  candidate's CV, aligned to the provided job description.

  Requirements:
  - Rewrite bullet points to incorporate high-priority keywords from the
    job description, where those skills/experiences genuinely exist in
    the original CV
  - Prioritize and reorder bullet points within each section to lead with
    the most job-relevant achievements
  - Use strong action verbs and quantify impact wherever the original CV
    provides numbers or metrics
  - Ensure the Summary / Profile section (if present) directly mirrors
    the language and priorities of the job description

  Constraints:
  - Output CV must not exceed ONE page
  - Do NOT add any information, skills, or experiences not present in the
    original CV — only reframe what exists
  - Preserve the original section order exactly (e.g., if Education comes
    before Experience, keep it that way)
  - ATS-friendly formatting only: plain text paragraphs and bullet lists,
    no tables, no columns, no text boxes, no graphics
  - Output language: English only
  - Bullet points must be concise: maximum 2 lines each
</instructions>

<examples>
  <example>
    <input>
      Original bullet: "Worked on improving the company website."
      Job description keyword: "front-end performance optimization"
    </input>
    <output>
      Tailored bullet: "Optimized front-end performance of company website,
      reducing page load time by 30% through asset compression and lazy loading."
    </output>
  </example>

  <example>
    <input>
      Original bullet: "Managed a team and delivered projects on time."
      Job description keywords: "cross-functional collaboration", "agile delivery"
    </input>
    <output>
      Tailored bullet: "Led cross-functional team of 6 in agile delivery of
      3 concurrent projects, achieving 100% on-time completion over 12 months."
    </output>
  </example>

  <example>
    <input>
      Original bullet: "Helped with data analysis tasks."
      Job description keyword: "SQL", "business intelligence reporting"
      — BUT original CV contains no mention of SQL or BI tools.
    </input>
    <output>
      No change applied. Constraint: do not fabricate skills not in
      the original CV. Leave bullet as-is or reframe with available facts only.
    </output>
  </example>
</examples>

<thinking_instructions>
  Before writing the tailored CV, reason through the following steps:

  1. KEYWORD EXTRACTION: Read the job description carefully. List the top
     10–15 must-have keywords, skills, and phrases the employer is looking for.

  2. GAP ANALYSIS: Compare those keywords against the original CV.
     Identify which keywords are:
     (a) present and can be surfaced more prominently
     (b) absent but could be legitimately inferred from existing experience
     (c) completely absent — these must NOT be added

  3. PRIORITIZATION: For each CV section, decide which bullet points are
     most relevant to this job and should lead. Plan any reordering.

  4. BULLET REWRITE PLAN: For bullets that can be improved, draft the
     enhanced version incorporating relevant keywords without fabrication.

  5. ATS CHECK: Before finalizing, verify:
     - No tables, columns, or graphics
     - No headers/footers with critical info (ATS often skips these)
     - Standard section headings (Experience, Education, Skills, etc.)
     - No special characters that could break parsing
     - Fits within one page

  Wrap your reasoning in <thinking> tags.
  Wrap the final tailored CV content in <answer> tags.
</thinking_instructions>

<output_format>
  Respond with:
  - A <thinking> block containing your keyword extraction, gap analysis,
    and rewrite plan (not shown to employer — internal reasoning only)
  - An <answer> block containing the complete tailored CV, ready to be
    formatted into a Word (.docx) file with the following structure:

    [CANDIDATE NAME]
    [Contact Info — Phone | Email | LinkedIn | Location]

    PROFESSIONAL SUMMARY
    [2–3 sentences mirroring job description language]

    [Preserve original section order from here]
    [Each section uses the same heading as the original CV]
    [Bullet points: max 2 lines each, action verb + keyword + metric]

  Do NOT include:
  - Markdown headers or formatting symbols (##, **, etc.)
  - Tables or column layouts
  - Any fabricated skills, roles, or achievements
  - Explanatory notes or commentary in the <answer> block
  - A cover letter (separate task)
</output_format>

<query>
  Please tailor my CV to the job description provided above.
  Output the full revised CV in plain text inside <answer> tags,
  ready for Word formatting.
</query>
الكتابة

كاتب مقالات المدونة المنظمة

يولّد مقالة مدونة كاملة ومحسّنة لمحركات البحث مع مقدمة وأقسام H2/H3 وخاتمة. يتكيف مع أي مجال.

أنت كاتب محتوى خبير. اكتب مقالة مدونة شاملة ومحسّنة لمحركات البحث عن [الموضوع].

المتطلبات:
- الجمهور المستهدف: [الجمهور]
- النبرة: [النبرة: احترافية / محادثية / تعليمية]
- عدد الكلمات: حوالي [عدد_الكلمات] كلمة
- تضمين: مقدمة، وأربعة أقسام H2 على الأقل مع أقسام فرعية H3، وقسم للنصائح العملية، وخاتمة
- الختام بـ 3 أسئلة شائعة ذات صلة
- استخدام كلمات انتقالية وتنوع في بنية الجمل لسهولة القراءة

ابدأ المقالة الآن:
الإنتاجية

مخطط الإنتاجية الأسبوعي

حوّل قائمة المهام الفوضوية إلى خطة أسبوعية منظمة ومجدولة زمنياً مع إدارة الطاقة وجلسات التركيز.

أنت مدرب إنتاجية. أنشئ خطة أسبوعية منظمة من المعلومات التالية:

**أهدافي لهذا الأسبوع:**
[أدرج أهدافك الثلاثة الرئيسية]

**المهام والمشاريع لديّ:**
[أدرج جميع المهام]

**ساعاتي المتاحة:** [مثلاً: الإثنين-الجمعة 9ص-6م، السبت 10ص-2م]

**نمط طاقتي:** [مثلاً: ذروة التركيز في الصباح، انخفاض الطاقة بعد الغداء]

المخرجات:
1. قائمة مهام مرتبة حسب الأولوية (MoSCoW: يجب/ينبغي/يمكن/لن)
2. جدول زمني يومي مجدول بالوقت
3. جلسات العمل العميق (كتل 90 دقيقة)
4. وقت احتياطي واستراحات
5. قائمة تحقق لمراجعة نهاية الأسبوع
التعليم

مخطط الدروس بالذكاء الاصطناعي

صمّم خطة درس كاملة لأي مادة ومستوى، تشمل أهداف التعلم والأنشطة والتقييمات والمواد.

أنت معلم متمرس. أنشئ خطة درس مفصلة بالمواصفات التالية:

- **المادة**: [المادة]
- **الصف/المستوى**: [المستوى]
- **المدة**: [المدة، مثلاً 60 دقيقة]
- **أهداف التعلم**: حدد 3-4 أهداف SMART
- **المواد المطلوبة**: أدرج جميع الموارد
- **التمهيد** (5 دقائق): افتتاح جذاب
- **النشاط الرئيسي** (X دقيقة): تعليمات خطوة بخطوة
- **التدريب/العمل الجماعي** (X دقيقة): نشاط تعاوني
- **التقييم**: خيارات تكوينية وختامية
- **التمييز**: تعديلات للمتعلمين المتقدمين والمتعثرين
- **الواجب/التمديد**: متابعة اختيارية

الموضوع للتدريس: [الموضوع]
البحث

تقرير تلخيص البحث

لخّص مصادر متعددة أو وثيقة طويلة في تقرير بحثي منظم مع الرؤى الرئيسية والثغرات والتوصيات.

أنت محلل بحثي. لخّص المادة التالية في تقرير بحثي منظم عن [الموضوع].

تنسيق المخرجات:
## الملخص التنفيذي (3-5 نقاط)
## النتائج الرئيسية (مرتبة حسب الموضوع)
## الأدلة ونقاط البيانات
## الثغرات المعرفية والقيود
## التوصيات
## الخاتمة

المادة المصدرية:
[الصق النص / الملاحظات هنا]

اكتب بأسلوب موضوعي وأكاديمي. استشهد بالمادة المصدرية عند الاقتضاء.
البرمجة

مساعد مراجعة الكود

احصل على مراجعة كود شاملة تغطي الأخطاء ومشكلات الأمان والأداء وأفضل الممارسات مع اقتراحات تصحيح محددة.

أنت مهندس برمجيات أول تجري مراجعة كاملة للكود. حلّل كود [اللغة] التالي وقدّم:

1. **المشكلات الحرجة** — الأخطاء أو الثغرات الأمنية التي يجب إصلاحها
2. **الأداء** — الاختناقات أو عدم الكفاءة
3. **جودة الكود** — سهولة القراءة والتسمية والهيكل
4. **أفضل الممارسات** — قواعد خاصة باللغة/الإطار
5. **الإصلاحات المقترحة** — أظهر مقتطفات الكود المصحح لكل مشكلة

الكود للمراجعة:
```[اللغة]
[الصق الكود هنا]
```

كن محدداً وعملياً. أشر إلى أرقام الأسطر عند الإمكان.