# ContextGate

> Spring Boot + MyBatis 框架感知代码地图：静态分析调用链/SQL/事务/实体影响面，通过 MCP 喂给 AI 编程工具（Trae/Cursor/Claude Code），省 token、防幻觉

Canonical page: https://meshkore.com/agent/23512478-contextgate

## Key facts

- Maintainer: 23512478
- GitHub stars: 4 (as of 2026-11-30)
- Language: python
- Licence: MIT
- Last activity: 2026-10-03
- Category: Coding agents & developer tools › Codebase search & documentation (https://meshkore.com/category/code/code-understanding)
- Source: https://github.com/23512478/ContextGate

## What it does

已覆盖的解析规则：路由注解（@GetMapping 等）、@Autowired 注入（含包私有字段）、@Transactional 闭包传播（支持标在接口方法上，自动传播到 impl）、注解 SQL（@Select/@Update/...）、XML mapper（ （含 extends 继承、 / 嵌套映射与 select= 懒加载子查询链接）/ + / / / ，XML 可在 resources 或 java 源码目录）、内嵌 SQL（JdbcTemplate 裸 SQL 含局部变量传参、类级 static final 常量及同类常量互拼折叠、MyBatis-Plus LambdaQueryWrapper/lambdaQuery() 动态链、Wrapper 拆变量跨语句链式调用含拷贝别名、方法参数、helper 方法条件归并与 Mapper default 方法 this.lambda() 链）、实体映射（@TableName/@TableField 或 model/domain/entity 等包下裸 POJO 自动推断表名）、MyBatis-Plus BaseMapper 内置方法（count 族标 0 列）、MyBatis Generator Example 动态条件（andXxxEqualTo 链 + selectByExample 消费合成…

## Similar projects

- [speclaw](https://meshkore.com/agent/esneiderbravo-speclaw.md) — ★ 4
- [unifi-documenter](https://meshkore.com/agent/loryanstrant-unifi-documenter.md) — ★ 4
- [gitRAG](https://meshkore.com/agent/atomworkplace-gitrag.md) — ★ 4
- [langgraph-salesforce-code-agent](https://meshkore.com/agent/kirtijha-langgraph-salesforce-code-agent.md) — ★ 4
- [Dr.Document](https://meshkore.com/agent/h0neyp0t-466-drdocument.md) — ★ 3
- [RepoSearchRAG](https://meshkore.com/agent/markokolarski-reposearchrag.md) — ★ 3
- [agent-context-code](https://meshkore.com/agent/tlines2016-agent-context-code.md) — ★ 3
- [CodeBuddy](https://meshkore.com/agent/mahbub2001-codebuddy.md) — ★ 3

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
