From an Empty Repository to a Java Kata, One Module at a Time
说明与用途
开发者使用 Seed4J CLI 和 AI 代理自动发现、选择并应用模块,生成了完整配置的 Java Maven 项目,包含 JaCoCo 覆盖率和 String Calculator 实现。
问题
How to scaffold a Java project with Seed4J CLI while an AI coding agent discovers and applies modules automatically.
结果
The agent successfully scaffolded a Java Maven project, applied four Seed4J modules, and implemented the String Calculator kata with 100% coverage.
工作流
- Discover Seed4J CLI and list available modules
- Inspect module parameters for init, maven-java, maven-wrapper, jacoco-with-min-coverage-check
- Plan module application with seed4j apply-set --plan and desired parameters
- Apply modules sequentially with seed4j apply-set (without --plan)
- Implement the kata in production and test classes
- Run ./mvnw verify to execute tests and enforce coverage
证据
Seed4J applies the modules sequentially and creates one commit for each successful module.
Running ./mvnw verify executes 13 behavior tests and enforces 100% line and branch coverage with JaCoCo.
- 记录日期: 2026-09-17T21:00:32.321Z