
Java Testing
Standardize Java test-agent settings—validation strictness, logging, and git/linter hooks—via a versioned YAML and JSON Schema config.
Install
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-java --skill java-testingWhat is this skill?
- YAML skill manifest with name, semver version, and testing category
- Environment overrides for development (debug, loose validation) vs production (warn, strict_mode true)
- JSON Schema draft-07 for skill metadata including category enum (testing, api, devops, and others)
- Integration toggles for git, linter, and formatter
- Markdown-oriented output with optional examples via output.include_examples
Adoption & trust: 691 installs on skills.sh; 37 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Agent Browservercel-labs/open-agents
Tddmattpocock/skills
Use My Browserxixu-me/skills
Test Driven Developmentobra/superpowers
Verification Before Completionobra/superpowers
Webapp Testinganthropics/skills
Journey fit
Primary fit
Testing configuration is shelved under Ship because it governs how you verify code before release, not how you design the product. The testing subphase is the right canonical home for java-testing defaults, strict_mode toggles, and formatter/linter integration flags.
Common Questions / FAQ
Is Java Testing safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Java Testing
# java-testing Configuration # Category: testing # Generated: 2025-12-30 skill: name: java-testing version: "1.0.0" category: testing settings: # Default settings for java-testing enabled: true log_level: info # Category-specific defaults validation: strict_mode: false auto_fix: false output: format: markdown include_examples: true # Environment-specific overrides environments: development: log_level: debug validation: strict_mode: false production: log_level: warn validation: strict_mode: true # Integration settings integrations: # Enable/disable integrations git: true linter: true formatter: true { "$schema": "http://json-schema.org/draft-07/schema#", "title": "java-testing Configuration Schema", "type": "object", "properties": { "skill": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" }, "category": { "type": "string", "enum": [ "api", "testing", "devops", "security", "database", "frontend", "algorithms", "machine-learning", "cloud", "containers", "general" ] } }, "required": [ "name", "version" ] }, "settings": { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true }, "log_level": { "type": "string", "enum": [ "debug", "info", "warn", "error" ] } } } }, "required": [ "skill" ] } # Java Testing Guide ## Overview This guide provides comprehensive documentation for the **java-testing** skill in the custom-plugin-java plugin. ## Category: Testing ## Quick Start ### Prerequisites - Familiarity with testing concepts - Development environment set up - Plugin installed and configured ### Basic Usage ```bash # Invoke the skill claude "java-testing - [your task description]" # Example claude "java-testing - analyze the current implementation" ``` ## Core Concepts ### Key Principles 1. **Consistency** - Follow established patterns 2. **Clarity** - Write readable, maintainable code 3. **Quality** - Validate before deployment ### Best Practices - Always validate input data - Handle edge cases explicitly - Document your decisions - Write tests for critical paths ## Common Tasks ### Task 1: Basic Implementation ```python # Example implementation pattern def implement_java_testing(input_data): """ Implement java-testing functionality. Args: input_data: Input to process Returns: Processed result """ # Validate input if not input_data: raise ValueError("Input required") # Process result = process(input_data) # Return return result ``` ### Task 2: Advanced Usage For advanced scenarios, consider: - Configuration customization via `assets/config.yaml` - Validation using `scripts/validate.py` - Integration with other skills ## Troubleshooting ### Common Issues | Issue | Cause | Solution | |-------|-------|----------| | Skill not found | Not installed | Run plugin sync | | Validation fails | Invalid config | Check config.yaml | | Unexpected output | Missing context | Provide more details | ## Related Resources - SKILL.md - Skill specification - config.yaml - Configuration options - validate.py - Validation script --- *Last updated: 2025-12-30* # Java Testing Patterns ## Design Patterns ### Pattern 1: Input Validation Always validate input before processing: ```python def validate_input(data): if data is None: raise ValueError("Data cannot be None") if not isinstance(data, dic