Logo di Facebook Page

Facebook Page

Community
roslove44
facebook-page

Crea le immagini per una Pagina Facebook (foto del profilo con il brand e immagine di copertina) nelle dimensioni ufficiali di Facebook. Usala quando l’utente vuole una «foto del profilo Facebook», una «copertina Facebook», un «banner per una Pagina Facebook» o il «logo della Pagina FB» di un progetto. Crea uno o due template .tsx nelle dimensioni imposte da Facebook (profilo 320x320, copertina 851x315), in linea con le linee guida del brand, e li esporta come PNG tramite il motore del progetto. È necessario che il progetto abbia già il proprio brand.md.

Add to TypingMind

Panoramica

Pubblicato daroslove44
Repositorybrand-artisan
Nome della skillfacebook-page
Stelle
5
Fork
0
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da roslove44 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Facebook Page in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-page
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Facebook Page in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Facebook Page non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Facebook Page non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Facebook Page?

Crea le immagini per una Pagina Facebook (foto del profilo con il brand e immagine di copertina) nelle dimensioni ufficiali di Facebook. Usala quando l’utente vuole una «foto del profilo Facebook», una «copertina Facebook», un «banner per una Pagina Facebook» o il «logo della Pagina FB» di un progetto. Crea uno o due template .tsx nelle dimensioni imposte da Facebook (profilo 320x320, copertina 851x315), in linea con le linee guida del brand, e li esporta come PNG tramite il motore del progetto. È necessario che il progetto abbia già il proprio brand.md.

Perché usare Facebook Page su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Facebook Page è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Facebook Page in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/roslove44/brand-artisan/tree/main/skills/facebook-page. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Facebook Page?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Facebook Page?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Facebook Page: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Facebook Page è gratuita?

Sì. È pubblicata su GitHub da roslove44 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇