mybatis-schema

Community

Audit and optimize MyBatis Mapper XML.

AuthorHTRTan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide a structured guide to audit and optimize MyBatis Mapper XML, including ResultMap design, type alias management, dynamic SQL crafting, and careful tradeoffs between annotations and XML, with templates, anti-pattern detection, and performance tips.

Core Features & Use Cases

  • Audit Mapper XML for SQL readability, parameter mappings, and ResultMap correctness.
  • Design advanced ResultMaps (associations, collections, discriminators) and configure type aliases/TypeHandlers.
  • Decide between annotations vs XML for Mapper methods, and craft dynamic SQL with <if>, <foreach>, <choose>, etc., plus use of SQL fragments.
  • Templates, common anti-patterns, and performance optimization recommendations.

Quick Start

Load your MyBatis Mapper XML files and apply the standard anti-pattern checks to generate a prioritized remediation plan.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mybatis-schema
Download link: https://github.com/HTRTan/paperclip-skills/archive/main.zip#mybatis-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.