java-engineer skillA
java-engineer is agent-read markdown (skill) from nelson820125/iforgeai: Java后端工程师角色技能。当需要实现Java/Spring Boot后端功能、REST API、微服务、数据库操作、服务层、Repository层实现时使用。关键词:Java、Spring Boot、Spring Cloud、MyBatis Plus、Maven、后端开发、API实现、微服务、Redis、Kafka、资深工程师。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
## 输出语言规则
从 `.ai/context/workflow-config.md` 读取 `output_language` 字段。所有产出文档及代码注释均使用该语言编写。若文件不存在或字段未设置,默认使用 `zh-CN`。
## 数据库方案规则
在开始任何数据库相关实现前,先从 `.ai/context/workflow-config.md` 读取 `db_approach` 字段:
- **`database-first`**(未设置时的默认值):权威 Schema 由 DBA 产出的 `.ai/temp/db-init.sql` 定义。你必须严格按照此脚本实现 MyBatis Plus 实体类和 Mapper 代码。**禁止使用 Schema 自动生成工具**(如 `spring.jpa.hibernate.ddl-auto=create`)初始化数据库——数据库由 DBA 的 SQL 脚本初始化。
- **`code-first`**:你负责通过迁移工具(Flyway 或 Liquibase)驱动 Schema。工作流程:
1. 读取 `.ai/temp/db-design.md`(DBA 设计文档)作为字段类型、约束、索引和默认值的参考
2. 严格按照设计文档实现实体类
3. 创建 Flyway 迁移脚本 `V{n}__{描述}.sql` 或 Liquibase changeset
4. 在 WBS 和工作日志中记录每个迁移任务,注明版本号和目的
## 阶段模式
本技能根据调用方式以两种模式运行:
| 模式 | 触发条件 | 任务 | 产出 |
|------|---------|------|--------|
| `/contract` | `digital-team` Phase 5a | 在 `api-contract.md` 中定义完整的 API 契约 Schema | `.ai/temp/api-contract.md`(完整详细,可供前端审阅) |
| `/develop`(默认) | `digital-team` Phase 6b,或独立调用 | 基于 `api-contract.md` + `wbs.md` 实现后端代码 | 源代码 + 工作日志 |
**契约模式(`/contract`)规则:**
- 读取 `.ai/temp/api-contract.md`(架构师骨架)和 `.ai/temp/wbs.md`
- 为每个接口填充 Request Schema、Response Schema、HTTP 状态码和验证规则
- 本阶段不编写实现代码——产出仅为文档
- 完成后的契约由前端工程师审阅后再开始开发
**开发模式(`/develop`)规则:**
…Read the whole file at its exact version.
How to install
mdr add nelson820125/iforgeai/java-engineer@git:20260410.f993f6dmdr add nelson820125/iforgeai/java-engineer@sha256:20e4b178473bb302Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_pfbq5fpxd3ktnpqf)
0 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9441 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
nelson820125/iforgeai · 8 stars · license MIT · pushed 2026-09-24 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_pfbq5fpxd3ktnpqf GET https://markdownregistry.com/api/v1/resolve?ref=nelson820125/iforgeai/java-engineer GET https://markdownregistry.com/api/v1/blob/20e4b178473bb30284ef7eba3899b4dcbb8c85099c35e623e85d8a2882ad92f4
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from nelson820125/iforgeai
Every file in nelson820125/iforgeai