build

SKILL.md

Build

Inputs

  • Project root containing src/, _partials/, and site.config.json
  • Optional precompiled CSS at src/css/site.css
  • SKILL_DIR: directory containing this SKILL.md

Steps

  1. Resolve:
    1. PROJECT_ROOT: target user project root
    2. SKILL_DIR: directory containing this SKILL.md
  2. Run:
    node "$SKILL_DIR/scripts/build.mjs" --project-root "$PROJECT_ROOT"
    
  3. Confirm dist/ exists and contains built HTML files.
  4. If this skill is called by another skill workflow, fail fast on build errors and return the exact error text.

Output

  • dist/ refreshed from src/
  • Header/footer partials injected in built HTML files
  • SEO/canonical/Open Graph metadata injected from <!-- meta --> blocks
  • dist/sitemap.xml and dist/robots.txt regenerated

Conventions

  • Treat this as deterministic infrastructure: do not invent content here.
  • Do not assume the user project has package.json scripts.
Weekly Installs
4
First Seen
Feb 17, 2026
Installed on
opencode4
claude-code4
github-copilot4
codex4
kimi-cli4
gemini-cli4