| name | yogieat-java25-gradle-validation |
| description | Use when validating Yogieat changes or choosing the smallest Java 25 Gradle proof command. Applies Spotless first, then compile, then module-local or full tests based on repo-specific escalation rules. |
Yogieat Java 25 Gradle Validation
Use this skill when you need the smallest validation command that still proves a Yogieat change is safe.
Workflow
- Read
./AGENTS.md and .codex/rules/validation.md.
- Run
./gradlew spotlessApply --daemon -q first.
- Run
./gradlew compileJava --daemon -q.
- Choose the smallest matching test scope.
- Escalate to
./gradlew test --daemon for storage, public API, shared contract, root build, or mixed multi-module changes.
- For Flyway migration changes, verify version ordering, missing applied migrations, and duplicate version risk before accepting the validation result.
Commands
- All changes:
./gradlew spotlessApply --daemon -q
./gradlew compileJava --daemon -q
- Domain-only:
./gradlew :apps:domain:test
- Batch-only:
./gradlew :batch:sync:test
- External-only:
./gradlew :external:ai:test
./gradlew :external:kakao:test
- Support-only:
./gradlew :support:logging:test
./gradlew :support:monitoring:test
./gradlew :support:swagger:test
- Escalated scope:
Flyway Checks
- Ask whether shared dev/prod DB already has an applied migration version or filename that could overlap before migration edits proceed.
- Treat
storage/db-core/src/main/resources/db/migration/** changes as full-test escalation.
- Check that every shared applied version is represented locally by the exact migration file.
- Do not recommend editing an already-applied migration to resolve checksum or validation failures; use an exact restore or a new follow-up migration.
Notes
scripts/pre-commit is the source of truth for the default formatting and compile steps.
.codex/hooks/verify.sh wraps the same policy for current git changes.