Facebook Pageのロゴ

Facebook Page

コミュニティ
roslove44
facebook-page

Facebookの公式サイズに合わせ、Facebookページ用のビジュアル(ブランドを表すプロフィール写真とカバー写真)を作成します。プロジェクト向けに「Facebookのプロフィール写真」「Facebookのカバー画像」「Facebookページのバナー」「FBページのロゴ」を希望する場合に使用してください。Facebookが定めるサイズ(プロフィール写真320x320、カバー851x315)で1つまたは2つの.tsxテンプレートを作成します。ブランドガイドラインに沿って、プロジェクトのエンジンでPNGとしてレンダリングします。brand.mdが用意されたプロジェクトが必要です。

Add to TypingMind

概要

公開者roslove44
リポジトリbrand-artisan
スキル名facebook-page
スター
5
フォーク
0
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    roslove44がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Facebook Page」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-page
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでFacebook Pageを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFacebook Pageを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Facebook Pageは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「Facebook Page」では何ができますか?

Facebookの公式サイズに合わせ、Facebookページ用のビジュアル(ブランドを表すプロフィール写真とカバー写真)を作成します。プロジェクト向けに「Facebookのプロフィール写真」「Facebookのカバー画像」「Facebookページのバナー」「FBページのロゴ」を希望する場合に使用してください。Facebookが定めるサイズ(プロフィール写真320x320、カバー851x315)で1つまたは2つの.tsxテンプレートを作成します。ブランドガイドラインに沿って、プロジェクトのエンジンでPNGとしてレンダリングします。brand.mdが用意されたプロジェクトが必要です。

TypingMindでFacebook Pageを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Facebook Pageはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFacebook Pageをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-pageを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Facebook Pageを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Facebook Pageで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFacebook Pageを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Facebook Page」は無料ですか?

はい。roslove44がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇