A collection of skills for AI coding agents to improve code quality, consistency, and best practices.
This repository provides structured coding guidelines, conventions, and best practices that can be loaded by AI agents to ensure consistent, high-quality code generation. Each skill is designed to be modular and composable.
See Agent Skills for more information.
npx skills add gabia/agent-skillsFundamental Java coding standards and conventions that apply to all Java code.
When to use: Load this skill at the start of any Java development task - writing, reviewing, or refactoring Java code.
Key Topics:
- Import statements (no wildcards)
- Constructor patterns (single primary constructor with delegation)
- Nullability handling (
@Nullableannotations overOptional) - Wrapper vs primitive types
- Immutability (
finalclasses and fields) - Exception handling
- Resource management (try-with-resources)
- Composition over inheritance
- Date/Time API (java.time, no legacy Date/Calendar)
- Static factory method naming (
ofconvention) - Package naming conventions
- Variable and method naming
Best practices for Java XML-RPC client and server implementation using Apache XML-RPC library.
When to use: Load this skill when implementing XML-RPC clients or servers in Java, integrating with legacy XML-RPC APIs, or reviewing XML-RPC code for security vulnerabilities.
Key Topics:
- Apache XML-RPC client configuration
- Server implementation patterns (standalone and servlet)
- Transport and connection settings
- Security hardening (CVE-2019-17570 mitigation)
- Type mapping between XML-RPC and Java
- Anti-patterns to avoid