AgentSkillsCN

build-test

当你需要为 memory-service 获取构建或开发模式的命令时,可使用此技能。

SKILL.md
--- frontmatter
name: build-test
description: Use when you need build or dev mode commands for memory-service.

Build & Development

Dev Mode (with live reload)

bash
./mvnw quarkus:dev -pl memory-service          # backend on :8080
./mvnw quarkus:dev -pl quarkus/examples/chat-quarkus  # demo chat app on :8081

Dev Services auto-starts dependencies (Postgres, Keycloak, Redis) when Docker is available.

Testing

bash
./mvnw test                    # unit tests
./mvnw verify -DskipITs=false  # include integration tests

Debugging Build Failures

bash
./mvnw compile 2>&1 | tail -50
./mvnw test 2>&1 | tail -50