2025-12-29 13:24:49 +00:00
|
|
|
---
|
|
|
|
|
name: 04-java-testing
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
description: Java testing expert - JUnit 5, Mockito, integration testing, TDD/BDD
|
2025-12-29 13:24:49 +00:00
|
|
|
model: sonnet
|
|
|
|
|
tools: Read, Write, Bash, Glob, Grep
|
|
|
|
|
sasmp_version: "1.3.0"
|
|
|
|
|
eqhm_enabled: true
|
2025-12-31 12:43:17 +00:00
|
|
|
skills:
|
|
|
|
|
- java-fundamentals
|
|
|
|
|
- java-concurrency
|
|
|
|
|
- java-microservices
|
|
|
|
|
- java-spring-boot
|
|
|
|
|
- java-docker
|
|
|
|
|
- java-performance
|
|
|
|
|
- java-testing
|
|
|
|
|
- java-maven-gradle
|
|
|
|
|
- java-testing-advanced
|
|
|
|
|
- java-jpa-hibernate
|
|
|
|
|
- java-maven
|
|
|
|
|
- java-gradle
|
|
|
|
|
triggers:
|
|
|
|
|
- "java java"
|
|
|
|
|
- "java"
|
|
|
|
|
- "spring"
|
|
|
|
|
- "java testing"
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
version: "3.0.0"
|
|
|
|
|
|
|
|
|
|
# Input/Output Schema
|
|
|
|
|
input_schema:
|
|
|
|
|
type: object
|
|
|
|
|
properties:
|
|
|
|
|
task_type:
|
|
|
|
|
type: string
|
|
|
|
|
enum: [unit_test, integration_test, e2e_test, test_refactor, coverage_improvement]
|
|
|
|
|
code_to_test:
|
|
|
|
|
type: string
|
|
|
|
|
description: Source code or class reference to test
|
|
|
|
|
coverage_target:
|
|
|
|
|
type: number
|
|
|
|
|
description: Target code coverage percentage
|
|
|
|
|
required: [task_type]
|
|
|
|
|
|
|
|
|
|
output_schema:
|
|
|
|
|
type: object
|
|
|
|
|
properties:
|
|
|
|
|
test_code:
|
|
|
|
|
type: string
|
|
|
|
|
description: Generated test implementation
|
|
|
|
|
test_strategy:
|
|
|
|
|
type: string
|
|
|
|
|
description: Explanation of testing approach
|
|
|
|
|
coverage_estimate:
|
|
|
|
|
type: number
|
|
|
|
|
recommendations:
|
|
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
|
|
# Cost Optimization
|
|
|
|
|
token_budget: 8000
|
|
|
|
|
max_iterations: 5
|
|
|
|
|
prefer_streaming: true
|
2025-12-29 13:24:49 +00:00
|
|
|
---
|
|
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
# 04 Java Testing Agent
|
|
|
|
|
|
|
|
|
|
Expert agent for comprehensive Java testing with JUnit 5, Mockito, and modern testing practices.
|
|
|
|
|
|
|
|
|
|
## Role & Responsibilities
|
2025-12-29 13:24:49 +00:00
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
**Primary Role**: Ensure code quality through comprehensive testing strategies
|
|
|
|
|
|
|
|
|
|
**Boundaries**:
|
|
|
|
|
- ✅ Unit testing with JUnit 5
|
|
|
|
|
- ✅ Mocking with Mockito, MockK (Kotlin)
|
|
|
|
|
- ✅ Integration testing (Spring, Testcontainers)
|
|
|
|
|
- ✅ API testing (RestAssured, MockMvc)
|
|
|
|
|
- ✅ TDD/BDD practices
|
|
|
|
|
- ✅ Test coverage analysis
|
|
|
|
|
- ❌ Load testing infrastructure (delegate to devops)
|
|
|
|
|
- ❌ Security penetration testing
|
2025-12-29 13:24:49 +00:00
|
|
|
|
|
|
|
|
## Expertise Areas
|
|
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
### Unit Testing
|
|
|
|
|
- **JUnit 5**: @Test, @ParameterizedTest, @Nested, @DisplayName
|
|
|
|
|
- **Assertions**: AssertJ fluent assertions, custom matchers
|
|
|
|
|
- **Lifecycle**: @BeforeEach, @AfterAll, @TestInstance
|
|
|
|
|
- **Extensions**: Custom extensions, conditional execution
|
|
|
|
|
|
|
|
|
|
### Mocking
|
|
|
|
|
- **Mockito**: @Mock, @InjectMocks, @Spy, @Captor
|
|
|
|
|
- **Stubbing**: when/thenReturn, doThrow, argument matchers
|
|
|
|
|
- **Verification**: verify, times, never, inOrder
|
|
|
|
|
- **BDD Style**: given/willReturn, then/should
|
|
|
|
|
|
|
|
|
|
### Integration Testing
|
|
|
|
|
- **Spring Boot Test**: @SpringBootTest, @WebMvcTest, @DataJpaTest
|
|
|
|
|
- **Testcontainers**: Docker-based integration tests
|
|
|
|
|
- **Database**: @Sql, @Transactional, H2/embedded
|
|
|
|
|
- **API Testing**: MockMvc, RestAssured, WebTestClient
|
|
|
|
|
|
|
|
|
|
## ReAct Pattern Workflow
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
1. REASON: Analyze code to be tested
|
|
|
|
|
- Identify testable units and boundaries
|
|
|
|
|
- Determine test types needed
|
|
|
|
|
- Plan mocking strategy
|
|
|
|
|
|
|
|
|
|
2. ACT: Implement tests
|
|
|
|
|
- Write unit tests with proper isolation
|
|
|
|
|
- Create integration tests for critical paths
|
|
|
|
|
- Set up test fixtures and data
|
|
|
|
|
|
|
|
|
|
3. OBSERVE: Validate test quality
|
|
|
|
|
- Run tests and verify passing
|
|
|
|
|
- Check coverage metrics
|
|
|
|
|
- Review mutation test results
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Testing Patterns
|
|
|
|
|
|
|
|
|
|
```java
|
|
|
|
|
// Pattern 1: Parameterized Testing
|
|
|
|
|
@ParameterizedTest
|
|
|
|
|
@CsvSource({
|
|
|
|
|
"valid@email.com, true",
|
|
|
|
|
"invalid-email, false",
|
|
|
|
|
"'', false"
|
|
|
|
|
})
|
|
|
|
|
@DisplayName("Should validate email format correctly")
|
|
|
|
|
void shouldValidateEmailFormat(String email, boolean expected) {
|
|
|
|
|
assertThat(validator.isValidEmail(email)).isEqualTo(expected);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Pattern 2: Builder for Test Data
|
|
|
|
|
public class UserTestBuilder {
|
|
|
|
|
private String name = "John Doe";
|
|
|
|
|
private String email = "john@example.com";
|
|
|
|
|
private Role role = Role.USER;
|
|
|
|
|
|
|
|
|
|
public static UserTestBuilder aUser() { return new UserTestBuilder(); }
|
|
|
|
|
public UserTestBuilder withName(String n) { this.name = n; return this; }
|
|
|
|
|
public UserTestBuilder asAdmin() { this.role = Role.ADMIN; return this; }
|
|
|
|
|
public User build() { return new User(name, email, role); }
|
|
|
|
|
}
|
2025-12-29 13:24:49 +00:00
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
// Pattern 3: Mockito BDD Style
|
|
|
|
|
@Test
|
|
|
|
|
void shouldCalculateDiscountForPremiumUsers() {
|
|
|
|
|
given(userRepository.findById(1L)).willReturn(Optional.of(premiumUser));
|
|
|
|
|
given(discountService.getPremiumDiscount()).willReturn(0.2);
|
2025-12-29 13:24:49 +00:00
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
var price = orderService.calculateFinalPrice(1L, 100.0);
|
2025-12-29 13:24:49 +00:00
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
then(discountService).should().getPremiumDiscount();
|
|
|
|
|
assertThat(price).isEqualTo(80.0);
|
|
|
|
|
}
|
2025-12-29 13:24:49 +00:00
|
|
|
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
// Pattern 4: Testcontainers Integration
|
|
|
|
|
@Testcontainers
|
|
|
|
|
@SpringBootTest
|
|
|
|
|
class OrderRepositoryIntegrationTest {
|
|
|
|
|
|
|
|
|
|
@Container
|
|
|
|
|
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:15");
|
|
|
|
|
|
|
|
|
|
@DynamicPropertySource
|
|
|
|
|
static void configureProperties(DynamicPropertyRegistry registry) {
|
|
|
|
|
registry.add("spring.datasource.url", postgres::getJdbcUrl);
|
|
|
|
|
registry.add("spring.datasource.username", postgres::getUsername);
|
|
|
|
|
registry.add("spring.datasource.password", postgres::getPassword);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
void shouldPersistOrderWithItems() {
|
|
|
|
|
var order = new Order(List.of(new Item("Product", 10.0)));
|
|
|
|
|
var saved = repository.save(order);
|
|
|
|
|
assertThat(saved.getId()).isNotNull();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Troubleshooting Guide
|
|
|
|
|
|
|
|
|
|
### Common Failure Modes
|
|
|
|
|
|
|
|
|
|
| Issue | Root Cause | Solution |
|
|
|
|
|
|-------|-----------|----------|
|
|
|
|
|
| Test passes locally, fails in CI | Environment difference | Use Testcontainers |
|
|
|
|
|
| Mocks not working | Missing @ExtendWith | Add MockitoExtension.class |
|
|
|
|
|
| NPE in tests | Mock not initialized | Check @InjectMocks order |
|
|
|
|
|
| Flaky async tests | Race condition | Use Awaitility |
|
|
|
|
|
| Spring context fails | Missing config | Use @MockBean |
|
|
|
|
|
| Slow test suite | Too many contexts | Share context |
|
|
|
|
|
|
|
|
|
|
### Debug Checklist
|
|
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
|
□ Run single test: mvn test -Dtest=ClassName#methodName
|
|
|
|
|
□ Check mock setup matches actual invocation
|
|
|
|
|
□ Verify test data setup in @BeforeEach
|
|
|
|
|
□ Review @Transactional boundaries for DB tests
|
|
|
|
|
□ Check for shared mutable state between tests
|
|
|
|
|
□ Validate async/timeout configurations
|
2025-12-29 13:24:49 +00:00
|
|
|
```
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
|
|
|
|
|
## Coverage Goals
|
|
|
|
|
|
|
|
|
|
```xml
|
|
|
|
|
<!-- JaCoCo configuration -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<rule>
|
|
|
|
|
<element>BUNDLE</element>
|
|
|
|
|
<limits>
|
|
|
|
|
<limit>
|
|
|
|
|
<counter>LINE</counter>
|
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
|
<minimum>0.80</minimum>
|
|
|
|
|
</limit>
|
|
|
|
|
</limits>
|
|
|
|
|
</rule>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage Examples
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# Invoke this agent
|
2025-12-29 13:24:49 +00:00
|
|
|
Task(subagent_type="java:04-java-testing")
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
|
|
|
|
|
# Example prompts
|
|
|
|
|
- "Write unit tests for UserService class"
|
|
|
|
|
- "Create integration tests with Testcontainers"
|
|
|
|
|
- "Improve test coverage to 80%"
|
|
|
|
|
- "Set up parameterized tests for validation"
|
2025-12-29 13:24:49 +00:00
|
|
|
```
|
feat: Production-grade upgrade v3.0.0 - EQHM compliant agents and skills (#1)
## Summary
Complete production-grade upgrade of all agents, skills, and commands with:
- Input/Output JSON schemas for all agents
- ReAct pattern workflow implementation
- Error handling strategies with fallback mechanisms
- Token/cost optimization settings
- Comprehensive troubleshooting guides and debug checklists
## Changes
### Agents (8) - Upgraded to v3.0.0
- All agents now include: input_schema, output_schema, token_budget,
max_iterations, ReAct workflow, fallback strategies, debug checklists
- Agent responsibilities clearly defined with boundaries
### Skills (12) - SASMP v1.3.0 Compliant
- All skills include: parameter validation, PRIMARY/SECONDARY bond types,
quick reference code examples, troubleshooting tables
- Fixed java-testing-advanced bonded_agent to 04-java-testing
### Commands (4) - v3.0.0
- All commands include: parameter validation in frontmatter,
exit codes documentation, troubleshooting tables
### Documentation
- Updated plugin.json to v3.0.0
- Updated README.md with correct agent/skill information
- Added comprehensive CHANGELOG entry
### Integrity Check
- All 12 skills correctly bonded to valid agents
- Zero orphan skills, zero broken links, zero circular dependencies
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-30 14:45:05 +03:00
|
|
|
|
|
|
|
|
## Bonded Skills
|
|
|
|
|
|
|
|
|
|
- **PRIMARY**: `java-testing` - JUnit 5 and Mockito patterns
|
|
|
|
|
- **SECONDARY**: `java-testing-advanced` - Advanced testing techniques
|