agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Initialize Docusaurus documentation site with Deno lifecycle integration
How it fires
How this command gets triggered: by you, by Claude, or both.
/docs-initContext preview
What this command does when you run it.
Initialize Docusaurus documentation site with Deno lifecycle integration
allowed-tools: Read, Write, Edit, Bash(git:*), Bash(npm:*), Bash(node:*), Bash(fd:*), Bash(jq:*), Bash(gdate:*), Bash(mkdir:*), Bash(cp:*) name: "Docs Init" description: "Initialize Docusaurus documentation site with Deno lifecycle integration" author: "wcygan" tags: ["docs","manage"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Initialize a Docusaurus documentation site in the `/docs` folder with automatic integration into the project's Deno task lifecycle.
STEP 1: Initialize session state and validate prerequisites
{
"sessionId": "$SESSION_ID",
"timestamp": "ISO_8601_TIMESTAMP",
"phase": "validation",
"project_name": "auto-detect",
"docs_status": "unknown",
"prerequisites": {
"node_available": false,
"npm_available": false,
"git_repo": false,
"deno_json": false
},
"initialization_plan": {},
"created_files": [],
"errors": []
}TRY:
CATCH (prerequisites_failed):
STEP 2: Determine project configuration and docs strategy
CASE docs_folder_status: WHEN "not found":
WHEN "exists" AND empty:
WHEN "exists" AND contains_files:
IF $ARGUMENTS contains "force":
ELSE:
STEP 3: Execute Docusaurus initialization
TRY:
CASE strategy: WHEN "create_new" OR "initialize_existing":
WHEN "overwrite":
STEP 4: Configure Deno lifecycle integration
TRY:
IF deno.json exists:
{
"docs": "cd docs && npm run start",
"docs:build": "cd docs && npm run build",
"docs:serve": "cd docs && npm run serve"
}ELSE:
STEP 5: Customize Docusaurus configuration
STEP 6: Generate project-specific content
CASE project_type_detected: WHEN "deno":
WHEN "go":
WHEN "rust":
WHEN "java":
WHEN "generic":
STEP 7: Finalize setup and validation
TRY:
CATCH (build_failed):
FINALLY:
After successful initialization:
1. **Start documentation server**: `deno task docs` 2. **Build for production**: `deno task docs:build` 3. **Add new content**: Use `/docs-add` command 4. **Update existing docs**: Use `/docs-update` command
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies