원클릭으로
website
Build, serve, and test the dart_node documentation website (Eleventy + Playwright)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build, serve, and test the dart_node documentation website (Eleventy + Playwright)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Builds all artifacts for this repo. Use when the user asks to build, compile, or produce artifacts, or when verifying that the project compiles cleanly.
Prepares the current branch for CI by running the exact same checks locally, fixing issues at each step. Use before pushing a branch or when the user wants to verify the branch will pass CI.
Searches for duplicate code, duplicate tests, and dead code, then safely merges or removes them. Use when the user says "deduplicate", "find duplicates", "remove dead code", "DRY up", or "code dedup". Requires test coverage — refuses to touch untested code.
Fix a bug using test-driven development. Use when the user reports a bug, describes unexpected behavior, wants to fix a defect, or says something is broken. Enforces a strict test-first workflow where a failing test must be written and verified before any fix is attempted.
Formats all code in this repo using dart format. Use when the user asks to format code, fix formatting, or before committing changes.
Runs all linters and format checks, then fixes any issues found. Use when the user asks to lint, check code quality, or fix linting errors.
| name | website |
| description | Build, serve, and test the dart_node documentation website (Eleventy + Playwright) |
| argument-hint | [build|dev|test|clean] |
| disable-model-invocation | true |
| allowed-tools | Bash |
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.