Build, serve, and test the dart_node documentation website (Eleventy + Playwright)
Build and test the dart_node documentation site at website/.
Parse $ARGUMENTS to determine the action:
build — Full production build (copies READMEs, generates API docs, runs Eleventy):
cd website && npm run build
dev — Start the dev server with live reload:
cd website && npm run dev
Serves at http://localhost:8080.
test — Run Playwright E2E tests (builds first if _site/ doesn't exist):
cd website && npm test
test:coverage — Run tests with V8 JS coverage:
cd website && npm run test:coverage
clean — Remove generated files:
cd website && npm run clean
No args — Default to build then test.
npm run build runs scripts/build.sh which does:
node scripts/copy-readmes.js — Copies package READMEs into the sitebash scripts/generate-api-docs.sh — Generates API reference from Dart sourcenpx eleventy — Generates static site into _site/9 test specs in website/tests/:
Playwright must be installed first. Run /setup-playwright if npx playwright --version fails.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer