Borrowing it
Nothing to install: this file belongs to zwl467135974/lumina. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zwl467135974/lumina/master/.agents/skills/lumina_mybatis_plus/SKILL.mdgit clone --depth 1 https://github.com/zwl467135974/luminaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zwl467135974/lumina/lumina_mybatis_plus)<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_mybatis_plus"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_mybatis_plus/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_mybatis_plus"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_mybatis_plus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Prompt Injection · line 123 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
- high Prompt Injection · line 123 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.01683 |
| Opus 5 | $0.00023 | $0.00842 |
| Sonnet 5 | $0.00009 | $0.00337 |
| Haiku 4.5 | $0.00005 | $0.00168 |
Grade A, and why
lumina_mybatis_plus scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lumina MyBatis-Plus 使用规范
功能概述
本技能包用于确保 Lumina 框架项目正确使用 MyBatis-Plus,包括基础 CRUD、复杂查询、分页、批量操作等。
核心原则
- 优先使用 MyBatis-Plus - 所有简单 CRUD 操作必须使用 MyBatis-Plus
- 复杂 SQL 才用 XML - 仅当 MyBatis-Plus 无法满足时,才使用 XML Mapper
- 禁止 SQL 函数和存储过程 - 不允许在 SQL 中编写函数、存储过程、触发器
- 业务逻辑在 Java 代码中 - 所有业务逻辑必须在 Java 代码中实现,不允许写在 SQL 中
MyBatis-Plus 基础使用
Mapper 接口
/**
* Agent Mapper - 继承 BaseMapper,获得基础 CRUD 能力
*/
@Mapper
public interface AgentMapper extends BaseMapper<AgentDO> {
// 基础 CRUD 方法已由 BaseMapper 提供,无需重复定义:
// - insert(AgentDO entity)
// - deleteById(Serializable id)
// - updateById(AgentDO entity)
// - selectById(Serializable id)
// - selectList(Wrapper<AgentDO> queryWrapper)
// - selectPage(IPage<AgentDO> page, Wrapper<AgentDO> queryWrapper)
// - selectCount(Wrapper<AgentDO> queryWrapper)
// 复杂查询才需要自定义方法(见 5.2.2)
}
常用操作示例
条件查询
// 根据名称查询
AgentDO agentDO = agentMapper.selectOne(
new LambdaQueryWrapper<AgentDO>()
.eq(AgentDO::getAgentName, agentName)
.eq(AgentDO::getDeleted, 0)
);
// 条件查询列表
LambdaQueryWrapper<AgentDO> wrapper = new LambdaQueryWrapper<AgentDO>()
.eq(AgentDO::getDeleted, 0);
if (StringUtils.isNotBlank(dto.getAgentName())) {
wrapper.like(AgentDO::getAgentName, dto.getAgentName());
}
List<AgentDO> list = agentMapper.selectList(wrapper);
分页查询
// 创建分页对象
Page<AgentDO> page = new Page<>(dto.getPageNum(), dto.getPageSize());
// 构建查询条件
LambdaQueryWrapper<AgentDO> wrapper = new LambdaQueryWrapper<AgentDO>()
.eq(AgentDO::getDeleted, 0)
.orderByDesc(AgentDO::getCreateTime);
// 执行分页查询
Page<AgentDO> result = agentMapper.selectPage(page, wrapper);
条件更新
// 更新状态
agentMapper.update(null,
new LambdaUpdateWrapper<AgentDO>()
.set(AgentDO::getStatus, status.getValue())
.set(AgentDO::getUpdateTime, LocalDateTime.now())
.eq(AgentDO::getAgentId, agentId)
.eq(AgentDO::getDeleted, 0)
);
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 221 lines · 46 tokens per session scan A 6e5bc809d60e
lumina_mybatis_plus is a skill published in the GitHub repository zwl467135974/lumina (66 stars, last pushed 22d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,683 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
jpa-patterns
JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.
azure-data-tables-java
Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.
azure-cosmos-java
Azure Cosmos DB SDK for Java. NoSQL database operations with global distribution, multi-model support, and reactive patterns. Triggers: "CosmosClient java", "CosmosAsyncClient", "cosmos database java", "cosmosdb java", "document database java".
jpa-patterns
JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or asks about entity relationships and fetching strategies.
413-frameworks-quarkus-db-migrations-flyway
Use when you need to add or review Flyway database migrations in a Quarkus application — quarkus-flyway extension, db/migration scripts, quarkus.flyway. configuration, migrate-at-start, and alignment with JDBC or Panache. This should trigger for requests such as Add or review Flyway migrations in a Quarkus project…
311-frameworks-spring-jdbc
Use when you need to write or review programmatic JDBC with Spring — including JdbcClient (Spring Framework 7+) as the default API, JdbcTemplate only where batch/streaming APIs require JdbcOperations, NamedParameterJdbcTemplate for legacy named-param code, parameterized SQL, RowMapper mapping to records, batch…