ワンクリックで
safe-refactor
Refactor Java/Spring code safely without changing external behavior, REST contracts, RabbitMQ contracts or domain rules.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Refactor Java/Spring code safely without changing external behavior, REST contracts, RabbitMQ contracts or domain rules.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Prepare, review or implement an AWS ECS Fargate deployment for MS-SIMULATION using one Spring Boot Modulith Docker image, Amazon ECR, Amazon ECS Fargate, Amazon RDS PostgreSQL, CloudAMQP RabbitMQ, IAM/OIDC and GitHub Actions.
Review the simulation clock module, time advancement domain logic, persistence flow, time.advanced.v1 publication and related tests. Do not require current-day endpoints beyond GET /tick/current.
Apply Clean Code and SOLID principles when generating, reviewing, or refactoring Java production code. Use for descriptive names, small methods, single responsibility, low coupling, high cohesion, no duplication, and clear architecture boundaries.
Document a module, use case, REST endpoint, RabbitMQ event or architecture flow in MS-SIMULATION clearly and technically.
Generate or update Java tests for domain, application, infrastructure, REST controllers, RabbitMQ publishers/listeners and persistence adapters in MS-SIMULATION.
Make Java tests readable and maintainable with descriptive names, clear given/when/then structure, behavior-focused assertions and minimal mocking.
| name | safe-refactor |
| description | Refactor Java/Spring code safely without changing external behavior, REST contracts, RabbitMQ contracts or domain rules. |
Use this skill when refactoring existing code.
Refactor without changing behavior unless the user explicitly asks for a behavior change.
Before changing files:
simulationclock and mapstate separated.After editing:
./mvnw test or ./mvnw verify.Stop and ask for user decision if: