شعار Facebook Page

Facebook Page

المجتمع
roslove44
facebook-page

أنشئ العناصر المرئية لصفحة Facebook (صورة الملف الشخصي = العلامة التجارية، وصورة الغلاف) بالأبعاد الرسمية لـ Facebook. استخدم هذه المهارة عندما يريد المستخدم «صورة ملف شخصي على Facebook» أو «غلاف Facebook» أو «بانر صفحة Facebook» أو «شعار صفحة FB» لمشروع. تُنتج قالبًا أو قالبين من نوع .tsx بالأحجام التي يحددها Facebook (320x320 لصورة الملف الشخصي و851x315 للغلاف)، بما يتوافق مع إرشادات العلامة التجارية، وتُصيّرهما على هيئة ملفات PNG باستخدام محرك المشروع. تتطلب وجود مشروع يتضمن brand.md.

Add to TypingMind

نظرة عامة

الناشرroslove44
المستودعbrand-artisan
اسم المهارةfacebook-page
النجوم
5
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-page
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/roslove44/brand-artisan.git /tmp/brand-artisan
mkdir -p .claude/skills
cp -r /tmp/brand-artisan/skills/facebook-page .claude/skills/facebook-page
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

facebook-page: visuals for a Facebook Page

Goal: produce the PNG assets of a Facebook Page at the official dimensions (source: Facebook help page 125379114252045), aligned with the guidelines. Two possible visuals, independent of each other:

  • profile photo: for an organization, this is the brand (320x320, cropped to a circle by Facebook);
  • cover photo: the Page's tall banner (851x315).

This is a specialization of new-template with the Facebook constraints hard-coded. Same conventions: the Template contract (from brand-artisan), assets through brand(), fonts discovered in fonts/, export default ... satisfies Template.

0. Prerequisites (blocking)

The chain project -> template folder -> guidelines must exist before you start:

  • Resolve <project> (from the arguments, otherwise ask).
  • Check templates/<project>/ and brands/<project>/brand.md.
  • Missing guidelines or project -> STOP: ask for /new-project <project> first. No visual without guidelines (CLAUDE.md rule).

1. Frame it

  • Which visual(s)? Ask: profile, cover, or both. Don't guess if the user did not say.
  • Default slugs: facebook-profile (320x320) and facebook-cover (851x315). Check that the target .tsx does not exist.
  • Read brands/<project>/brand.md: palette (hex), type, the logo / favicon variants and their rules depending on the background, and the don'ts.
  • If the project already holds a .tsx, read it as a style reference and match its conventions (colors as constants, background effects kept local).

2. Facebook constraints (to respect in the template)

Facebook's official dimensions (do not deviate):

Profile photo

  • Size 320x320 (square) for optimal quality. scale: 2 is possible for a crisper render (Facebook resamples anyway).
  • Cropped to a circle by Facebook: the visual is square but displays round. Nothing important in the corners (they get cut). Opaque full-bleed background, brand centered.
  • It displays small (176 px on desktop, 196 px on mobile, 36 px on basic mobiles): for an organization, use the mark alone / the favicon, not the full wordmark, which would become illegible. Follow brand.md for the variant and the background.

Cover photo

  • Size 851x315 (recommended, sRGB). Absolute minimum 400x150. Don't go below it.
  • Safe area: the center. Facebook crops the sides on mobile (a 2.4:1 format, so roughly 48 px trimmed from each side) and the desktop display is 16:9. Keep text and logo inside, with a side margin of at least ~60 px.
  • Dead zone bottom left (profile photo): on the page, the avatar covers the bottom left of the cover, so any text or logo falling there is hidden. Leave it clear: left margin ~2.5 % of the width, box ~11 % W × ~23 % H anchored bottom left. On 851×315: roughly x 22→116, y 243→315.
  • Opaque background, never transparency.

Format and weight (both)

  • PNG: Facebook recommends PNG as soon as there is a logo or text (crisper than JPG), which is exactly what the engine outputs.
  • < 100 KB for the cover (faster loading). Flat rendering is naturally light: favor the mark as an SVG data-URI, avoid embedding a large raster PNG, don't inflate with scale.

3. Write the template(s)

templates/<project>/<slug>.tsx, with colors as constants taken from the guidelines (invent nothing). Keep the code minimal (principle #2).

Profile (skeleton)

tsx
import { readFile } from "node:fs/promises";
import type { ReactNode } from "react";
import { brand, type Template } from "brand-artisan";

const SIZE = { width: 320, height: 320 }; // FB profile, cropped to a circle (scale:2 possible)

// <Project> guideline palette (from brands/<project>/brand.md).
const BRAND = "#......";

// A mark suited to a small round display (the favicon), not the wordmark.
const markSvg = await readFile(brand("<project>/favicon/icon.svg"));
const markSrc = `data:image/svg+xml;base64,${markSvg.toString("base64")}`;

function render(): ReactNode {
	return (
		<div
			style={{
				width: "100%",
				height: "100%",
				display: "flex",
				alignItems: "center",
				justifyContent: "center",
				backgroundColor: BRAND, // opaque full-bleed background (the circle)
			}}
		>
			{/* mark centered, nothing in the corners (outside the circle) */}
			<img src={markSrc} width={188} height={188} alt="" />
		</div>
	);
}

export default { size: SIZE, title: "<Project> Facebook profile photo", render } satisfies Template;

Cover (skeleton)

tsx
import type { ReactNode } from "react";
import { brand, type Template } from "brand-artisan";
// import { readFile } from "node:fs/promises"; // if you load the mark

const SIZE = { width: 851, height: 315 }; // FB cover (recommended)

// <Project> guideline palette (from brands/<project>/brand.md).
const INK = "#......";

// Safe area: ~60px side margin (2.4:1 mobile crop), bottom-left corner left clear
// (the profile photo covers it).
const SAFE_X = 60;

function render(): ReactNode {
	return (
		<div
			style={{
				width: "100%",
				height: "100%",
				display: "flex",
				flexDirection: "column",
				justifyContent: "center",
				paddingTop: 40,
				paddingBottom: 40,
				paddingLeft: 200, // leaves the bottom-left corner to the profile photo
				paddingRight: SAFE_X,
				backgroundColor: INK, // opaque background
			}}
		>
			{/* logo + short standfirst, inside the safe area */}
		</div>
	);
}

export default { size: SIZE, title: "<Project> Facebook cover", render } satisfies Template;

Shared conventions: assets through brand("<project>/..."), fonts discovered in fonts/; a missing font -> follow the "missing font" appendix in new-template, never silently.

4. Verify

  • npm run typecheck -> green.
  • npm run build -> writes out/<project>/<slug>.png.
  • Check each PNG: exact dimensions (320x320 / 851x315), opaque background, < 100 KB for the cover.
  • Profile: mentally check the circular crop (nothing important in the corners) and legibility at about 36 px.
  • Cover: check that nothing important sits in the bottom-left corner or in the ~60 px side margins.
  • Preview: npm run dev then /<project>/<slug>.

Success criterion: PNGs at Facebook's exact dimensions, opaque, cover under 100 KB, brand (not wordmark) legible when small for the profile, safe area respected for the cover, and using only colors and type from brand.md.

Appendix: putting the visuals on the Page

Out of the repo's scope (BrandArtisan only makes the image). On the Facebook side:

  • Profile photo: Page settings -> Profile photo; check the round rendering and the crop it proposes.
  • Cover photo: add the banner; Facebook offers to reposition it; confirm that the text stays visible on mobile (the sides) and that the profile photo hides nothing important in the bottom left.

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

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

أنشئ العناصر المرئية لصفحة Facebook (صورة الملف الشخصي = العلامة التجارية، وصورة الغلاف) بالأبعاد الرسمية لـ Facebook. استخدم هذه المهارة عندما يريد المستخدم «صورة ملف شخصي على Facebook» أو «غلاف Facebook» أو «بانر صفحة Facebook» أو «شعار صفحة FB» لمشروع. تُنتج قالبًا أو قالبين من نوع .tsx بالأحجام التي يحددها Facebook (320x320 لصورة الملف الشخصي و851x315 للغلاف)، بما يتوافق مع إرشادات العلامة التجارية، وتُصيّرهما على هيئة ملفات PNG باستخدام محرك المشروع. تتطلب وجود مشروع يتضمن brand.md.

لماذا تستخدم Facebook Page على TypingMind؟

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

كيف أثبّت Facebook Page في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-page. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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