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

onboard

Skill0 starsChanged 5 months agoMITView on GitHub

Personalize a fresh passionfruit template or migrate an existing website. Asks for company info, colors, pages, and configures everything.

  • Installs packages

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, team-audio and 10 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.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 6 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 6 projects that use this

  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +2 more from CoralGame
  • +6 more from cenconq25

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before anything else, verify the user's environment.

    line 17
  2. Very specific:

    If node_modules doesn't exist, run pnpm install automatically before proceeding.

    line 59
  3. Distinctive:

    Run through the same personalization steps below, pre-filling answers from the existing site

    line 73
  4. Distinctive:

    After setup, offer to rebuild the existing content:

    line 74
  5. Distinctive:

    Ask these ONE AT A TIME using the AskUserQuestion tool:

    line 82
  6. Very specific:

    Do not edit structured-data.ts, BaseLayout.astro, Header.astro, or Footer.astro for branding — they read site.name and Astro.site already.

    line 115
  7. Very specific:

    Update STYLE_GUIDE.md with the chosen colors

    line 143
  8. Very specific:

    If rg finds anything, rewrite it before committing.

    line 153

“Common” is measured: kept by at least 6 in 10 of the 80 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

Onboarding

This skill personalizes a fresh passionfruit template for a new website, or migrates an existing website into the template.

When to trigger

  • User explicitly runs /onboard
  • Claude detects "Greenleaf Digital" placeholder text still present in the codebase

Prerequisites check

Before anything else, verify the user's environment. Run these checks silently:

node --version    # Must be >= 24.0.0
pnpm --version    # Must be installed
git --version     # Must be installed

If Node.js is missing or too old (< 24):

"You need Node.js 24 or newer. The easiest way to install it:

Mac: brew install node or download from https://nodejs.org Windows: Download from https://nodejs.org Linux: curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs

After installing, restart your terminal and come back."

If pnpm is missing:

"You need pnpm (our package manager). Install it with:

npm install -g pnpm

Or: corepack enable && corepack prepare pnpm@latest --activate"

If git is missing:

"You need git for version control. Install it:

Mac: xcode-select --install Windows: Download from https://git-scm.com Linux: sudo apt-get install git"

If all prerequisites are met: proceed silently to Step 0. Don't tell the user "everything looks good" — just move on.

Also verify that dependencies are installed:

ls node_modules/.package-lock.json 2>/dev/null || pnpm install

If node_modules doesn't exist, run pnpm install automatically before proceeding.

Step 0: New site or migration?

Ask the user:

"Are you starting fresh, or migrating an existing website?"

Option A: Fresh start — proceed to the questions below.

Option B: Migrate existing site — ask the user for the URL of their existing website. Then:

  1. Crawl the site (or ask the user to describe the pages)
  2. Identify: company name, tagline, pages, colors, content structure
  3. Run through the same personalization steps below, pre-filling answers from the existing site
  4. After setup, offer to rebuild the existing content:

"The template is now configured for your business. I can rebuild your existing site page by page — just tell me to go ahead, and I'll work through [existing-url], extract each page's content, and recreate it here with a modern design, better performance, and bilingual support. The result will be feature-identical but visually superior."

Then, if the user agrees, work through the pages systematically until the new site matches the old one — just better.

Questions (for fresh start)

Ask these ONE AT A TIME using the AskUserQuestion tool:

  1. "What's your company or project name?"
  2. "What do you do?" (one sentence — becomes meta description + hero tagline)
  3. "What's your primary language?" (German at root, or English at root?)
  4. "Do you need a second language?" If no: remove /en/ pages, strip i18n JSON to single locale, disable bilingual check, simplify page-registry to single-slug entries. If yes: ask which locale and configure accordingly.
  5. "Pick an accent color" — offer 4 presets (indigo #6366f1, emerald #10b981, amber #f59e0b, rose #f43f5e) or let them describe their brand colors
  6. "Which pages and sections do you need?" — multi-select: Home, About, Services, Blog, Team, Contact, Privacy, Imprint, Careers, Case Studies, Events
  7. "Contact details?" — email, phone, address for footer, contact page, and legal pages
  8. "Social media links?" — LinkedIn, Instagram, X/Twitter, etc.

After answers

Strip framework metadata (safety net — the template-cleanup workflow normally handles this on first push):

rm -f release-please-config.json
rm -f .release-please-manifest.json
rm -f .github/workflows/release.yml
rm -f .github/workflows/template-cleanup.yml
rm -f CHANGELOG.md

These files only apply to the passionfruit template itself. Derived projects don't release passionfruit-framework versions.

Set the brand identity (one source of truth)

Brand name, URL, and logo are derived from config + i18n — never hardcoded in component or library code. Change them in these few places and they propagate everywhere (header, footer, page titles, JSON-LD, sitemap):

  • src/i18n/de.json and src/i18n/en.json — site.name, site.tagline, site.description, footer.copyright, plus any navigation labels
  • astro.config.mjs — the site URL (drives canonical URLs, sitemap, OG tags, JSON-LD)
  • src/styles/global.css — accent tokens --color-accent, --color-accent-hover, --color-accent-glow

Do not edit structured-data.ts, BaseLayout.astro, Header.astro, or Footer.astro for branding — they read site.name and Astro.site already. The pnpm build fixture check fails if a brand literal is ever reintroduced into code.

Rewrite the fixture content

The template ships example content branded "Greenleaf Digital". Rewrite or remove it for every collection the user keeps, in both de/ and en/:

  • src/content/blog/ — example posts
  • src/content/team/ — example team members
  • src/content/pages/ — about / services / privacy / imprint copy (put real company name + address in the legal pages)
  • src/content/careers/ — example job postings (delete the collection if no Careers section)
  • src/content/caseStudies/ — example case studies (delete if not used)
  • src/content/events/ — example events (delete if not used)
  • src/data/testimonials.ts — example testimonial quote / author / company values (rewrite, or empty the arrays)

Remove unused pages and collections

For anything the user did NOT pick in Q6:

  • src/components/pages/ — delete the page component
  • PAGES array in src/lib/page-registry.ts — delete the entry
  • Navigation items in Header.astro and Footer.astro
  • The collection's entries under src/content/<name>/

Also delete src/pages/design-floor/ — it's a dev-only design showcase, not part of any shipped site.

Update the docs

  • Rewrite CLAUDE.md section 1 with the real company context (name, what they do, which pages/collections exist)
  • Update STYLE_GUIDE.md with the chosen colors
  • README.md — replace upstream marketing content (banner, "What You Get", "Why Not WordPress", "Tech Stack") with a short, business-specific README. Keep the "Staying Current" section verbatim — it tells the owner how to pull in passionfruit improvements over time.

Verify nothing was missed

rg -i greenleaf src/   # expect: no matches
pnpm build             # runs the fixture gate + bilingual check

If rg finds anything, rewrite it before committing.

Final step

Stage and commit everything:

git add -A
git commit -m "feat: initial setup — [Company Name] website"

Then tell the user:

"Your website is ready! Run pnpm dev to see it at http://localhost:4321.

One more thing — the favicon and social preview image are still placeholders. Run /brand to set up your own logo and social sharing image.

What you can do next:

  • Run /brand to replace the placeholder favicon and social sharing image with your own
  • Tell me to change the design, add content, or modify any page
  • Run pnpm build to create a production build
  • Run /deploy to put your site online (free Cloudflare Pages hosting, takes 5 minutes)"

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.