원클릭으로
fix-tests
Automatically fix all failing Maven tests by iterating until they pass. User-invoked only (/fix-tests).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Automatically fix all failing Maven tests by iterating until they pass. User-invoked only (/fix-tests).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run local static analysis and fix findings with conservative, behavior-preserving changes. User-invoked only (/fix-sonar-issues).
Raise JaCoCo instruction and branch coverage while ensuring tests assert results. User-invoked only (/increase-coverage).
Audit class responsibilities, package boundaries, duplication, and rule compliance across Issues. Read-only report. User-invoked only (/review-code-structure).
Walk every feature-catalog row against routes, roles, and happy paths; report compliance gaps and backlog suggestions. Read-only. User-invoked only (/review-feature-catalog).
Full-codebase security audit — authn/authz, injection, secrets, XSS; report findings and teach-fix tasks (no code changes). User-invoked only (/review-security).
Use Issues via MCP or REST with personal/service-account API tokens. Apply when coding agents need ticket context, updates, moves, or comments on the Issues tracker (get_ticket_context, PAT, iss_pat_, iss_sat_).
| name | fix-tests |
| description | Automatically fix all failing Maven tests by iterating until they pass. User-invoked only (/fix-tests). |
| disable-model-invocation | true |
You are an expert Java developer. Fix all failing tests in the Issues project.
Follow .cursor/rules/issues-testing.mdc and .cursor/rules/issues-test-failure-diagnosis.mdc.
Follow this exact loop — do not ask for confirmation and do not invent workarounds.
Discover failures
mvn test
If frontend may be affected, also run:
cd src/main/webui && npm test -- --no-watch --browsers=ChromeHeadless
Check for failures
mvn verify. If green, print ✅ All tests pass! and stop.List each failing test with the reason
Parse target/surefire-reports/*.txt. Group failures by root cause. For each:
Fix each root cause (one at a time)
ARCHITECTURE.md and the test + production code.Thread.sleep(), @Disabled, or swallowed exceptions.mvn test -Dtest=ClassName#methodNameRepeat steps 3–4 until tests pass, then run mvn verify once.
After fix is green: write one report under reports/ per .cursor/rules/issues-test-failure-diagnosis.mdc.
Start the loop now.