Facebook Postのロゴ

Facebook Post

コミュニティ
roslove44
facebook-post

Metaの規定サイズに合わせ、選択した向きでFacebook投稿用画像(フィード投稿、ポスター、シンプルな広告ビジュアル)を作成します。プロジェクト向けに「Facebook画像」「Facebook投稿」「ポスター」「広告ビジュアル」「告知画像」を希望する場合に使用してください。向きを確認し(デフォルトは縦長、ほかに正方形と横長)、適切な比率の.tsxテンプレートを作成します。ブランドガイドラインに沿って、プロジェクトのエンジンでPNGとしてレンダリングします。brand.mdが用意されたプロジェクトが必要です。

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Facebook Post」を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-post
  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-post .claude/skills/facebook-post
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

facebook-post: Facebook post image

Goal: produce the PNG asset of a Facebook post image (a feed publication, a poster, a simple ad visual), at the chosen Meta ratio, aligned with the guidelines.

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.

Status of the dimensions. Meta publishes no dimension spec for organic posts: the figures below come from the Ads Manager specs (Ads Guide + placement pages). Since the feed's rendering engine is the same, that is the best available reference. The ratios are official Meta; for landscape, the pixel figures are a convention (Meta documents no resolution for that ratio).

0. Prerequisites (blocking)

The chain project -> template folder -> guidelines must exist:

  • 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 orientation? Ask. Default: portrait (4:5, the best performer in the feed). Otherwise square (1:1) or landscape (1.91:1).
  • Default slug facebook-post (or facebook-post-<orientation> if there are several variants). Check that the target .tsx does not exist.
  • Read brands/<project>/brand.md: palette (hex), type, logo variants depending on the background, and the don'ts.
  • Read brands/<project>/project.md if it exists: set the tone and the claims (don't invent figures or promises). If absent -> ask for the tone and the message rather than guessing.
  • Ask for the message: short headline + standfirst (1 sentence). No paragraph.
  • If the project already holds a .tsx, read it as a style reference.

2. Facebook constraints (to respect in the template)

Dimensions per orientation

OrientationSize (px)RatioStatus
Portrait (default)1440x18004:5Meta target resolution (min 1080x1350)
Square1080x10801:1Official Meta minimum
Landscape1080x5661.91:1Official ratio; convention pixels (alt 1200x628)
  • Don't use 16:9 in landscape: it is not supported in the Facebook Feed. The supported landscape is 1.91:1.
  • Official minimum width: 600 px. Don't go below it.
  • scale: 2 is possible for a crisper render; unnecessary at the sizes above.

Layout

  • Opaque background, never transparency.
  • Safe area of roughly 80 px of margin: keep the logo and the text towards the center, since the feed may crop slightly and round the corners depending on context.
  • Legible when small: the feed often displays narrow on mobile. Large headline, short standfirst, strong contrast.
  • Meta's old 20 % text rule is gone: there is no text limit, but keep the poster airy and legible.

Format and weight

  • PNG (or JPG): the engine outputs PNG, crisp for text and logos.
  • Meta's maximum weight: 30 MB. Flat rendering is nowhere near that limit, so there is nothing particular to optimize.

3. Write the template

templates/<project>/<slug>.tsx, with colors as constants taken from the guidelines (invent nothing). Pick SIZE according to the orientation. 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 (SVG/PNG)

// Pick according to the orientation:
const SIZE = { width: 1440, height: 1800 }; // Portrait 4:5 (default)
// const SIZE = { width: 1080, height: 1080 }; // Square 1:1
// const SIZE = { width: 1080, height: 566 };  // Landscape 1.91:1

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

function render(): ReactNode {
	return (
		<div
			style={{
				width: "100%",
				height: "100%",
				display: "flex",
				flexDirection: "column",
				justifyContent: "center",
				padding: 80, // safe area
				backgroundColor: INK, // opaque background
			}}
		>
			{/* logo + large headline + short standfirst, strong contrast */}
		</div>
	);
}

export default { size: SIZE, title: "<Project> Facebook post", 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. Keep the code minimal (principle #2).

4. Verify

  • npm run typecheck -> green.
  • npm run build -> writes out/<project>/<slug>.png.
  • Check the PNG: exact dimensions for the orientation, opaque background, correct ratio (4:5 / 1:1 / 1.91:1).
  • Preview: npm run dev then /<project>/<slug>; check legibility shrunk to the width of a mobile feed.

Success criterion: a PNG at Meta's dimensions for the chosen orientation, opaque, legible when small, and using only colors and type from brand.md.

よくある質問

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

Metaの規定サイズに合わせ、選択した向きでFacebook投稿用画像(フィード投稿、ポスター、シンプルな広告ビジュアル)を作成します。プロジェクト向けに「Facebook画像」「Facebook投稿」「ポスター」「広告ビジュアル」「告知画像」を希望する場合に使用してください。向きを確認し(デフォルトは縦長、ほかに正方形と横長)、適切な比率の.tsxテンプレートを作成します。ブランドガイドラインに沿って、プロジェクトのエンジンでPNGとしてレンダリングします。brand.mdが用意されたプロジェクトが必要です。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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