Explorar el Código

requirements: 每个案例点使用一个 method 演示

yangyi hace 1 semana
padre
commit
d84fd228f9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      AGENTS.md

+ 1 - 0
AGENTS.md

@@ -21,6 +21,7 @@ All examples declare `static Logger log`, so slf4j jars must be on the classpath
 ## Working rules
 - Every example's spawned child process must run the Java program under `src/main/resources/code/`, never an ad-hoc script or system command. Keep the fixture tree in sync with each example's `workDir`.
 - Every code example must carry reasonable comments (Chinese, matching repo style) explaining what each step does and why.
+- Each case point (每个案例点) is demonstrated by exactly one dedicated `static` method, invoked from `main()` — do not fold several points into one linear `main`.
 - Commit to the local git repo after completing each example/point (`git add` + `git commit`); commit in small increments, one point per commit.
 
 ## Known API traps in these examples