Agent skill
website
Build, serve, and test the dart_node documentation website (Eleventy + Playwright)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/website
SKILL.md
Website (Eleventy + Playwright)
Build and test the dart_node documentation site at website/.
Commands
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.
Build pipeline
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/
Test files
9 test specs in website/tests/:
- Page content, navigation, language switching
- Theme toggle (dark/light mode)
- Mobile responsiveness
- Code blocks and syntax highlighting
Prerequisites
Playwright must be installed first. Run /setup-playwright if npx playwright --version fails.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?