con un clic
build-site
// Use when editing header-nav.html, footer-content.html, or creating new HTML pages. Inlines shared nav and footer into all site pages.
// Use when editing header-nav.html, footer-content.html, or creating new HTML pages. Inlines shared nav and footer into all site pages.
Use when adding, removing, or renaming entries in the site nav (`header-nav.html`) — covers the manual second step required for pages that build.js excludes (index.html, advertise.html, branding.html, privacyPolicy.html), plus running `node build.js` for everything else.
Use when creating or updating any help page, article page, or content page on the Squabbit website. Defines the standard layout, colors, typography, hover effects, and page structure that all pages must follow.
Take a screenshot from a connected Android emulator, resize it, and convert to WebP for use in help articles or web pages. Use when the user asks to capture, screenshot, or snap the emulator screen.
Use when creating a help article for a golf game format or scoring type. Covers the full process - HTML article creation, SEO metadata, articles.json entry, and group page link.
Create a new blog post for the Squabbit website. Use when the user asks to write, add, or create a blog post or blog entry.
| name | build-site |
| description | Use when editing header-nav.html, footer-content.html, or creating new HTML pages. Inlines shared nav and footer into all site pages. |
| user-invocable | true |
| allowed-tools | Bash, Read |
Inlines header-nav.html and footer-content.html into all public-facing HTML pages.
header-nav.html (the shared nav bar)footer-content.html (the shared footer)blog-post skillnode build.js
The script is idempotent — safe to re-run anytime. It replaces both placeholder divs (id="header-placeholder") and previously inlined nav/footer content.
| File | Purpose |
|---|---|
header-nav.html | Source of truth for the nav bar |
footer-content.html | Source of truth for the footer |
build.js | Reads partials, inlines into all pages |
index.html, branding.html, privacyPolicy.html, admin.html, stripeCheckout.html, stripeCheckoutLoading.html, accountDeletion.html, and help/groups/_template/ files are skipped.
New pages can either:
<div id="header-placeholder"></div>) — the build script will replace them<nav> and footer from any existing page — the build script will keep them updated