شعار Template Enforcer

Template Enforcer

مؤسسة
Amazon-Quick
template-enforcer

طبّق دليل العلامة التجارية أو قالب الأسلوب على أي مستند أو عرض تقديمي أو محتوى مُنشأ، مع الالتزام بالألوان والخطوط ونبرة الصوت وموضع الشعار وقواعد التنسيق. استخدمه عندما تقول «طبّق دليل العلامة التجارية» أو «التزم بالقالب» أو «طابق هذا الأسلوب» أو «اجعله متسقًا مع علامتنا التجارية» أو «طبّق تنسيقنا» أو «نسّق هذا المستند»، أو عند طلب مواءمة مستند مع معايير بصرية أو معايير العلامة التجارية.

نظرة عامة

الناشرAmazon-Quick
المستودعAmazon-Quick-official-catalog
اسم المهارةtemplate-enforcer
النجوم
50
التفريعات
4
الملفات المرفقة
1
الترخيصMIT-0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Amazon-Quick على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Template Enforcer في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/design/template-enforcer
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/design/template-enforcer .claude/skills/template-enforcer
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Template Enforcer في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Template Enforcer تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Template Enforcer بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Overview

Reads a brand guide or style reference, extracts design tokens (colors, fonts, spacing, tone rules, logo usage), then applies those constraints to a target document. Reports compliance violations, makes corrections according to the specified strictness level, and produces a styled output alongside a compliance report.

Workflow

<Definition - Brand Profile> A structured extraction from a brand guide containing:

  • colors: primary, secondary, accent, background, text_primary, text_secondary
  • typography: heading_font, body_font, heading_sizes (h1/h2/h3), body_size, line_height
  • tone: voice style, encouraged patterns (dos), prohibited patterns (donts), terminology preferences
  • logo: placement, minimum_size, clear_space
  • formatting: margins, paragraph_spacing, bullet_style, table_style, header_footer rules

Not all fields will be present in every brand guide. The profile contains only what was explicitly found. </Definition - Brand Profile>

<Definition - Compliance Score> Percentage of audited dimensions that pass. Calculated as: (passing_categories / total_auditable_categories) * 100. Categories: colors, typography, tone, formatting, logo, terminology. </Definition - Compliance Score>

<Workflow - Enforce Template description="End-to-end brand enforcement: parse guide, audit, correct, output." tools=[file_read, file_read_pdf, file_read_docx, file_read_pptx, run_python, file_write, open_in_session_tab] triggers=["User asks to apply brand guide", "enforce template", "match this style", "make it consistent with our brand"]

  1. [Decide] Is {{brand_guide}} a file path or a saved profile name?

    • File path: proceed to step 2.
    • Profile name: check artifacts/brand-profiles/{{brand_guide}}-profile.yaml. If found, load it and skip to step 4. If not found, ask user for the file path. Validate: One path is chosen. If fails: Ask user to clarify whether they are referencing a saved profile or providing a new file.
  2. [Agent] Parse the brand guide file using the appropriate reader (file_read_pdf for PDF, file_read_docx for DOCX, file_read for other formats). Extract all design token information into a structured brand profile per <Definition - Brand Profile>. Validate: At least one category (colors, typography, or tone) successfully extracted with concrete values. If fails: Report which categories could not be extracted and ask user to point to specific pages/sections containing the brand rules. Offer to proceed with partial rules.

  3. [Ask user] Present extracted brand profile summary. Confirm it looks correct before proceeding. Validate: User confirms or provides corrections. If fails: Adjust profile per user feedback and re-present.

  4. [Agent] Load the source document ({{source_document}}) using the appropriate reader. Preserve full structure (headings, paragraphs, tables, images, metadata). Validate: Document loads successfully and contains parseable content. If fails: Report the format issue. Ask user for an alternative format or path.

  5. [Agent] Audit the source document against the brand profile. Check each applicable dimension:

    • Color compliance: Are colors consistent with the palette? Flag off-brand colors with their locations.
    • Typography compliance: Correct fonts, sizes, and hierarchy?
    • Tone compliance: Does language match voice guidelines? Flag jargon violations or banned terminology.
    • Formatting compliance: Margins, spacing, bullet styles correct?
    • Logo compliance: Proper placement and sizing? (if applicable and detectable)
    • Terminology compliance: Preferred terms used? Banned terms present?

    Produce a compliance report table:

    CategoryStatusIssues FoundSeverity

    Calculate overall compliance score per <Definition - Compliance Score>. Validate: At least one category assessed. Report table generated. If fails: Proceed with best-effort assessment on available categories.

  6. [Decide] What is the strictness level?

    • "advisory": Save compliance report to artifacts/compliance-report-[name].md. Present to user. Skip to step 9.
    • "moderate" or "strict": Proceed to step 7. Validate: Strictness is one of the three valid values. If fails: Default to "moderate".
  7. [Agent] Apply corrections using run_python:

    • Swap off-brand colors to nearest brand-approved color.
    • Replace fonts with brand typography.
    • Adjust heading hierarchy to match brand sizes.
    • Fix spacing, margins, bullet styles.
    • Replace banned terminology with preferred alternatives.
    • (strict only) Rewrite flagged tone violations to match brand voice.
    • (strict only) Insert/reposition logo if template requires it. Validate: Corrections applied without corrupting document structure. Re-audit shows improved compliance score. If fails: Report which items could not be auto-corrected. Present them for manual review.
  8. [Agent] Generate styled output file in {{output_format}} format:

    • "same": Match the input file format.
    • "docx": Apply styles via python-pptx/openpyxl, set fonts, colors, paragraph formatting.
    • "html": Generate with inline styles matching brand tokens.
    • "pptx": Apply slide master colors, fonts, logo placement.
    • "md": Apply tone corrections and structure formatting. Save to: artifacts/styled-[original-name].[ext] Validate: Output file created, non-empty, and valid format. If fails: Fall back to markdown output with compliance notes inline.
  9. [Agent] Save compliance report to artifacts/compliance-report-[original-name].md. Open styled output (if created) and compliance report in session tabs. Present summary:

    • Compliance improved: [X]% to [Y]%
    • [N] corrections applied
    • [M] items flagged for manual review
    • Output saved: artifacts/styled-[filename].[ext] Validate: User can view the output. If fails: Provide file path and inline summary.
  10. [Ask user] "I've extracted your brand profile. Want me to save it so you can reference it by name next time without re-uploading the guide?"

    • Yes: Save to artifacts/brand-profiles/[brand-name]-profile.yaml
    • No: Done. Validate: If yes, profile file saved and readable. If fails: Provide extracted profile as inline YAML for user to save manually.

</Workflow - Enforce Template>

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Template Enforcer؟

طبّق دليل العلامة التجارية أو قالب الأسلوب على أي مستند أو عرض تقديمي أو محتوى مُنشأ، مع الالتزام بالألوان والخطوط ونبرة الصوت وموضع الشعار وقواعد التنسيق. استخدمه عندما تقول «طبّق دليل العلامة التجارية» أو «التزم بالقالب» أو «طابق هذا الأسلوب» أو «اجعله متسقًا مع علامتنا التجارية» أو «طبّق تنسيقنا» أو «نسّق هذا المستند»، أو عند طلب مواءمة مستند مع معايير بصرية أو معايير العلامة التجارية.

لماذا تستخدم Template Enforcer على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Template Enforcer عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Template Enforcer في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/design/template-enforcer. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Template Enforcer؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Template Enforcer؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Template Enforcer معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Template Enforcer مجانية؟

نعم. نشرها Amazon-Quick على GitHub بموجب ترخيص MIT-0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇