agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Load comprehensive Java testing documentation with project-specific analysis and adaptive context loading
How it fires
How this command gets triggered: by you, by Claude, or both.
/context-load-testing-javaContext preview
What this command does when you run it.
Load comprehensive Java testing documentation with project-specific analysis and adaptive context loading
allowed-tools: WebFetch, mcp__context7__resolve-library-id, mcp__context7__get-library-docs, Bash(fd:*), Bash(rg:*), Bash(gdate:*), Bash(jq:*), Bash(wc:*), Read, Write, Task name: "Context Load Testing Java" description: "Load comprehensive Java testing documentation with project-specific analysis and adaptive context loading" author: "wcygan" tags: ["context","testing"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize Java testing context session
{
"sessionId": "$SESSION_ID",
"timestamp": "ISO_8601_TIMESTAMP",
"phase": "initialization",
"project_analysis": {
"build_tool": "auto-detect",
"java_framework": "auto-detect",
"testing_maturity": "unknown",
"existing_test_patterns": []
},
"documentation_sources": {},
"context_focus_areas": [],
"recommendations": [],
"checkpoints": []
}STEP 2: Java project analysis and testing framework detection
CASE detected_testing_maturity: WHEN "enterprise":
WHEN "moderate":
WHEN "basic":
STEP 3: Adaptive documentation loading strategy
TRY:
IF complexity_level == "enterprise":
1. **JUnit Advanced Agent**: JUnit 5 extensions, parameterized tests, dynamic tests
2. **Integration Testing Agent**: Testcontainers, database testing, API testing
3. **Mocking & Stubbing Agent**: Mockito, WireMock, test doubles
4. **Framework Testing Agent**: Spring Boot/Quarkus specific testing
5. **Performance & Quality Agent**: Performance testing, test optimization
ELSE IF complexity_level == "moderate":
1. **JUnit 5 Documentation**: Annotations, assertions, lifecycle 2. **Mockito Documentation**: Mocking patterns and best practices 3. **Framework-Specific Testing**: Spring Boot OR Quarkus testing guides 4. **Integration Testing**: Basic Testcontainers and database testing
ELSE:
1. **JUnit Basics**: Core annotations, assertions, test structure 2. **Mockito Fundamentals**: Basic mocking and verification 3. **Testing Best Practices**: Test naming, organization, maintainability
CATCH (documentation_fetch_failed):
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