agentleFS
passion4it-gmbhpassion4it-gmbh/passionfruit-site/.claude/skills/brand/SKILL.md

brand

Skill0 starsChanged 5 months agoMITView on GitHub

Replace placeholder favicon and OG image with your brand assets. Supports uploading existing logos or generating new ones.

  • Reads credentials

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use analytics, caveman and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    analytics

    Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when auditing analytics coverage for a feature, or when answering questions about how users interact with a feature. Trigger on "add analytics", "track event", "instrument analytics", "analytics event", "track click", "track page view", "add tracking", "what events exist for", "audit analytics", "how many people", "how many users", "are people using", "is anyone clicking", "usage of", "who is using".

    Also in 3 projects that use this

  • MicrosoftSkill

    caveman

    Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules

    Also in 4 projects that use this

  • PostHogSkill

    karpathy-guidelines

    Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria. Based on https://github.com/multica-ai/andrej-karpathy-skills.

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

  • VercelSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask using AskUserQuestion with these options:

    line 17
  2. Distinctive:

    Ask for the file path. Then:

    line 29
  3. Distinctive:

    If PNG/JPG: Create an SVG wrapper that embeds the raster image:

    line 32
  4. Distinctive:

    Ask: "Describe your brand briefly — what does your company do, and what style do you prefer?

    line 43
  5. Very specific:

    After generation, create public/favicon.svg from the result (either use the PNG as a base64-embedded SVG, or ask the user to trace/simplify …

    line 53
  6. Distinctive:

    No code changes needed — bg.png absence falls back to the flat surface look.

    line 90
  7. Distinctive:

    Ask: "Describe what you'd like the image to convey — visual style, mood, key elements."

    line 94
  8. Distinctive:

    After assets are created, verify:

    line 118
  9. Very specific:

    No changes needed unless the user wants a different path.

    line 134
  10. Very specific:

    Run pnpm build to confirm no broken asset references.

    line 136

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Brand Assets

This skill helps users replace the template's placeholder favicon and OG image with their own brand assets.

When to trigger

  • User explicitly runs /brand
  • Suggested after /onboard completes

Step 1: Logo / Favicon

Ask using AskUserQuestion with these options:

"Let's set up your brand assets. Do you have a logo?"

Options:

  • "Yes, I have a logo file"
  • "No, generate one for me"
  • "Skip for now"

Option A: User has a logo file

Ask for the file path. Then:

  1. If SVG: Copy it to public/favicon.svg. This is the preferred format — crisp at all sizes.
  2. If PNG/JPG: Create an SVG wrapper that embeds the raster image:
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32" width="32" height="32">
      <image href="data:image/png;base64,..." width="32" height="32"/>
    </svg>
    Base64-encode the image and embed it. Also suggest generating an SVG-native version using pnpm generate-image for better scaling.
  3. Generate public/favicon.ico for legacy browsers: use sharp to convert the source to a 32x32 ICO, or inform the user they can use an online converter (realfavicongenerator.net). The SVG favicon covers all modern browsers.

Option B: Generate a logo

Ask: "Describe your brand briefly — what does your company do, and what style do you prefer? (minimal, bold, playful, corporate, etc.)"

Then generate:

pnpm generate-image "<prompt for a minimal icon suitable as a favicon, simple shapes, single subject, no text>" -o public/favicon-source.png --size 1024x1024

Remind the user: This requires OPENAI_API_KEY in .env. If missing, prompt them to add it.

After generation, create public/favicon.svg from the result (either use the PNG as a base64-embedded SVG, or ask the user to trace/simplify it for a proper SVG).

Option C: Skip

Move on. The template ships with a default passionfruit-themed favicon.

Step 2: OG Image (Social Sharing Preview)

This is the image that appears when someone shares a link to the site on LinkedIn, Twitter/X, Slack, etc. There are two ways to make one — ask the user via AskUserQuestion:

"How should we create your social sharing image?"

Options:

  • "Branded template (recommended)" — composes site.name + site.tagline + accent color + favicon into a clean 1200×630 PNG. Runs in under a second, no API key needed, produces one image per locale.
  • "AI generated" — describe an image and OpenAI's GPT Image model creates it. Slower, costs money, requires OPENAI_API_KEY.
  • "Skip" — keep whatever's already at public/og-default-{de,en}.png.

Option A: Branded template

Run:

pnpm generate-og

This writes public/og-default-de.png and public/og-default-en.png from the project's i18n strings (site.name, site.tagline), the accent color in src/styles/global.css, and the logo in public/favicon.svg. If the user has run /onboard (so the i18n + accent are theirs) and the favicon is their logo (Step 1 above), the result is on-brand without any prompting.

For per-locale regeneration: pnpm generate-og --lang de or --lang en.

Optional background photo. Drop a 1200×630-ish image at src/assets/og/bg.png before running and the generator composites it full-cover behind the text (a left-anchored scrim keeps the title legible regardless of the photo's brightness). Best results when the photo has a darker left third — Satori text sits on the left. Use pnpm generate-image to produce a fitting photo first, e.g.:

pnpm generate-image "<describe a banner-style photo with empty/dark left third, no text>" -o src/assets/og/bg.png --size 1536x1024
pnpm generate-og

No code changes needed — bg.png absence falls back to the flat surface look.

Option B: AI generated

Ask: "Describe what you'd like the image to convey — visual style, mood, key elements."

Generate once, then copy to the second locale — gpt-image-2 is non-deterministic, so two separate calls with the same prompt produce two visually different images. We want DE and EN visitors to see the same artistic image.

pnpm generate-image "<prompt including company name, brand style, professional look>" -o public/og-default-de.png --size 1536x1024
cp public/og-default-de.png public/og-default-en.png

Guidelines for the prompt:

  • Include the company name if the user wants text on the image
  • Match the site's accent color and visual style
  • Ideal OG dimensions: 1200×630. Using 1536x1024 gives good quality; platforms will crop to fit.
  • Example prompt: "Professional banner for [Company Name], [industry], accent color #6366f1, clean modern design, suitable as social media preview"

Remind the user: This requires OPENAI_API_KEY in .env.

Option C: Skip

Move on. The current public/og-default-{de,en}.png files stay as they are.

Step 3: Verify Integration

After assets are created, verify:

  1. Favicon: public/favicon.svg exists and is referenced in src/layouts/BaseLayout.astro at:

    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />

    This is already configured in the template (line 94). No changes needed unless the user wants a different path.

  2. OG image: public/og-default-de.png AND public/og-default-en.png exist. src/layouts/BaseLayout.astro already picks the locale-specific file:

    const defaultOgImage = `/og-default-${lang}.png`;

    No changes needed unless the user wants a different path. Individual pages can still override via the ogImage prop.

  3. Run pnpm build to confirm no broken asset references.

Final message

"Your brand assets are set up:

  • Favicon: public/favicon.svg — appears in browser tabs
  • OG images: public/og-default-de.png and public/og-default-en.png — appear when your site is shared on social media (locale-aware: DE pages get the DE image, EN pages get the EN image)

Individual pages can override the OG image by passing ogImage to BaseLayout. To regenerate the branded template later, run pnpm generate-og. To run the full brand flow again, use /brand."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.