agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Generate comprehensive user-facing documentation with intelligent analysis and state management
How it fires
How this command gets triggered: by you, by Claude, or both.
/documentContext preview
What this command does when you run it.
Generate comprehensive user-facing documentation with intelligent analysis and state management
allowed-tools: Read, Write, Bash(fd:*), Bash(rg:*), Bash(git:*), Bash(jq:*), Bash(gdate:*), Task name: "Document" description: "Generate comprehensive user-facing documentation with intelligent analysis and state management" author: "wcygan" tags: ["docs","generate"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Generate comprehensive, user-facing documentation through systematic analysis and intelligent content creation.
STEP 1: Initialize documentation generation session
{
"sessionId": "$SESSION_ID",
"phase": "discovery",
"scope": "$ARGUMENTS or all",
"project_info": {},
"documentation_plan": [],
"generated_files": [],
"analysis_results": {}
}STEP 2: Project discovery and analysis
Think hard about the optimal documentation strategy based on project complexity and structure.
IF source code files > 100 OR multiple project files detected:
ELSE IF $ARGUMENTS contains specific flags (--readme-only, --changelog-only, etc.):
ELSE:
STEP 3: Strategic documentation analysis
FOR comprehensive scope:
1. **Project Structure Agent**: Analyze codebase architecture and technology stack
2. **API Documentation Agent**: Extract API endpoints, schemas, and specifications
3. **Configuration Agent**: Document environment variables and configuration options
4. **Git History Agent**: Analyze commits for changelog generation
5. **Usage Patterns Agent**: Identify CLI commands, scripts, and usage examples
FOR targeted scope:
FOR standard scope:
STEP 4: Documentation generation strategy
CASE documentation_type: WHEN "readme" OR "all":
WHEN "changelog" OR "all":
WHEN "api-docs" OR "all":
STEP 5: Content generation and file creation
TRY:
FOR EACH documentation file to generate:
1. **Load or synthesize analysis data** 2. **Apply intelligent content generation** 3. **Use project-specific context and examples** 4. **Validate output quality and completeness** 5. **Save to appropriate location**
CATCH (generation_failed):
STEP 6: Documentation optimization and enhancement
STEP 7: Quality assurance and validation
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